Package org.apache.accumulo.core.util
Class ServerServices
- java.lang.Object
-
- org.apache.accumulo.core.util.ServerServices
-
- All Implemented Interfaces:
Comparable<ServerServices>
public class ServerServices extends Object implements Comparable<ServerServices>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServerServices.Service
-
Field Summary
Fields Modifier and Type Field Description static StringSEPARATOR_CHARstatic StringSERVICE_SEPARATOR
-
Constructor Summary
Constructors Constructor Description ServerServices(String services)ServerServices(String address, ServerServices.Service service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ServerServices other)booleanequals(Object o)HostAndPortgetAddress(ServerServices.Service service)StringgetAddressString(ServerServices.Service service)inthashCode()StringtoString()
-
-
-
Field Detail
-
SERVICE_SEPARATOR
public static final String SERVICE_SEPARATOR
- See Also:
- Constant Field Values
-
SEPARATOR_CHAR
public static final String SEPARATOR_CHAR
- See Also:
- Constant Field Values
-
-
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 HostAndPort getAddress(ServerServices.Service service)
-
compareTo
public int compareTo(ServerServices other)
- Specified by:
compareToin interfaceComparable<ServerServices>
-
-