public class GossipingPropertyFileSnitch extends AbstractNetworkTopologySnitch
| Constructor and Description | 
|---|
| GossipingPropertyFileSnitch() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getDatacenter(java.net.InetAddress endpoint)Return the data center for which an endpoint resides in | 
| java.lang.String | getRack(java.net.InetAddress endpoint)Return the rack for which an endpoint resides in | 
| void | gossiperStarting()called after Gossiper instance exists immediately before it starts gossiping | 
compareEndpointsgetSortedListByProximity, isWorthMergingForRangeQuery, sortByProximitypublic GossipingPropertyFileSnitch()
                            throws ConfigurationException
ConfigurationExceptionpublic java.lang.String getDatacenter(java.net.InetAddress endpoint)
getDatacenter in interface IEndpointSnitchgetDatacenter in class AbstractNetworkTopologySnitchendpoint - the endpoint to processpublic java.lang.String getRack(java.net.InetAddress endpoint)
getRack in interface IEndpointSnitchgetRack in class AbstractNetworkTopologySnitchendpoint - the endpoint to processpublic void gossiperStarting()
IEndpointSnitchgossiperStarting in interface IEndpointSnitchgossiperStarting in class AbstractEndpointSnitchCopyright © 2018 The Apache Software Foundation