public interface EndpointSnitchInfoMBean
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDatacenter(java.lang.String host)
Provides the Datacenter name depending on the respective snitch used, given the hostname/ip
|
java.lang.String |
getRack(java.lang.String host)
Provides the Rack name depending on the respective snitch used, given the host name/ip
|
java.lang.String |
getSnitchName()
Provides the snitch name of the cluster
|
java.lang.String getRack(java.lang.String host)
throws java.net.UnknownHostException
host - java.net.UnknownHostExceptionjava.lang.String getDatacenter(java.lang.String host)
throws java.net.UnknownHostException
host - java.net.UnknownHostExceptionjava.lang.String getSnitchName()
Copyright © 2016 The Apache Software Foundation