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 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.UnknownHostExceptionCopyright © 2013 The Apache Software Foundation