List of usage examples for org.apache.hadoop.registry.client.types Endpoint toString
@Override
public String toString()
From source file:org.apache.slider.client.SliderClient.java
License:Apache License
/** * Log the external endpoints of a service record * @param instance service record instance *//*from w w w .ja va 2 s . c o m*/ private void logEndpoints(ServiceRecord instance) { List<Endpoint> endpoints = instance.external; for (Endpoint endpoint : endpoints) { log.info(endpoint.toString()); } }