Example usage for org.apache.hadoop.registry.client.types Endpoint toString

List of usage examples for org.apache.hadoop.registry.client.types Endpoint toString

Introduction

In this page you can find the example usage for org.apache.hadoop.registry.client.types Endpoint toString.

Prototype

@Override
    public String toString() 

Source Link

Usage

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());
    }
}