public class GossipingPropertyFileSnitch extends AbstractNetworkTopologySnitch
| Constructor and Description |
|---|
GossipingPropertyFileSnitch() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDatacenter(InetAddressAndPort endpoint)
Return the data center for which an endpoint resides in
|
java.lang.String |
getRack(InetAddressAndPort endpoint)
Return the rack for which an endpoint resides in
|
void |
gossiperStarting()
called after Gossiper instance exists immediately before it starts gossiping
|
compareEndpointsisWorthMergingForRangeQuery, sortedByProximityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDatacenter, getLocalDatacenter, getLocalRack, validatepublic GossipingPropertyFileSnitch()
throws ConfigurationException
ConfigurationExceptionpublic java.lang.String getDatacenter(InetAddressAndPort endpoint)
getDatacenter in interface IEndpointSnitchgetDatacenter in class AbstractNetworkTopologySnitchendpoint - the endpoint to processpublic java.lang.String getRack(InetAddressAndPort endpoint)
getRack in interface IEndpointSnitchgetRack in class AbstractNetworkTopologySnitchendpoint - the endpoint to processpublic void gossiperStarting()
IEndpointSnitchgossiperStarting in interface IEndpointSnitchgossiperStarting in class AbstractEndpointSnitchCopyright © 2009-2020 The Apache Software Foundation