|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.locator.AbstractEndpointSnitch
org.apache.cassandra.locator.AbstractNetworkTopologySnitch
org.apache.cassandra.locator.GossipingPropertyFileSnitch
public class GossipingPropertyFileSnitch
Constructor Summary | |
---|---|
GossipingPropertyFileSnitch()
|
Method Summary | |
---|---|
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 |
Methods inherited from class org.apache.cassandra.locator.AbstractNetworkTopologySnitch |
---|
compareEndpoints |
Methods inherited from class org.apache.cassandra.locator.AbstractEndpointSnitch |
---|
getSortedListByProximity, gossiperStarting, isWorthMergingForRangeQuery, sortByProximity |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GossipingPropertyFileSnitch() throws ConfigurationException
ConfigurationException
Method Detail |
---|
public java.lang.String getDatacenter(java.net.InetAddress endpoint)
getDatacenter
in interface IEndpointSnitch
getDatacenter
in class AbstractNetworkTopologySnitch
endpoint
- the endpoint to process
public java.lang.String getRack(java.net.InetAddress endpoint)
getRack
in interface IEndpointSnitch
getRack
in class AbstractNetworkTopologySnitch
endpoint
- the endpoint to process
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |