org.apache.accumulo.core.util
Class ServerServices

java.lang.Object
  extended by org.apache.accumulo.core.util.ServerServices
All Implemented Interfaces:
Comparable<ServerServices>

public class ServerServices
extends Object
implements Comparable<ServerServices>


Nested Class Summary
static class ServerServices.Service
           
 
Field Summary
static String SEPARATOR_CHAR
           
static String SERVICE_SEPARATOR
           
 
Constructor Summary
ServerServices(String services)
           
ServerServices(String address, ServerServices.Service service)
           
 
Method Summary
 int compareTo(ServerServices other)
           
 boolean equals(Object o)
           
 InetSocketAddress getAddress(ServerServices.Service service)
           
 String getAddressString(ServerServices.Service service)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SERVICE_SEPARATOR

public static String SERVICE_SEPARATOR

SEPARATOR_CHAR

public static String SEPARATOR_CHAR
Constructor Detail

ServerServices

public ServerServices(String services)

ServerServices

public ServerServices(String address,
                      ServerServices.Service service)
Method Detail

getAddressString

public String getAddressString(ServerServices.Service service)

getAddress

public InetSocketAddress getAddress(ServerServices.Service service)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

compareTo

public int compareTo(ServerServices other)
Specified by:
compareTo in interface Comparable<ServerServices>


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.