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 class
ServerServices.Service
-
Field Summary
Fields Modifier and Type Field Description static String
SEPARATOR_CHAR
static String
SERVICE_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 int
compareTo(ServerServices other)
boolean
equals(Object o)
HostAndPort
getAddress(ServerServices.Service service)
String
getAddressString(ServerServices.Service service)
int
hashCode()
String
toString()
-
-
-
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:
compareTo
in interfaceComparable<ServerServices>
-
-