EndpointSnitchInfo formatting
This commit is contained in:
parent
c5c0fb41fe
commit
929d0aedd4
@ -61,6 +61,7 @@ public class EndpointSnitchInfo implements EndpointSnitchInfoMBean {
|
||||
* @param host
|
||||
* @throws UnknownHostException
|
||||
*/
|
||||
@Override
|
||||
public String getRack(String host) throws UnknownHostException {
|
||||
log("getRack(String host) throws UnknownHostException");
|
||||
MultivaluedMap<String, String> queryParams = new MultivaluedMapImpl();
|
||||
@ -78,6 +79,7 @@ public class EndpointSnitchInfo implements EndpointSnitchInfoMBean {
|
||||
* @param host
|
||||
* @throws UnknownHostException
|
||||
*/
|
||||
@Override
|
||||
public String getDatacenter(String host) throws UnknownHostException {
|
||||
log(" getDatacenter(String host) throws UnknownHostException");
|
||||
MultivaluedMap<String, String> queryParams = new MultivaluedMapImpl();
|
||||
@ -93,6 +95,7 @@ public class EndpointSnitchInfo implements EndpointSnitchInfoMBean {
|
||||
*
|
||||
* @return Snitch name
|
||||
*/
|
||||
@Override
|
||||
public String getSnitchName() {
|
||||
log(" getSnitchName()");
|
||||
return c.getStringValue("/snitch/name");
|
||||
|
Loading…
x
Reference in New Issue
Block a user