Package org.apache.accumulo.server.rpc
Class ServerAddress
- java.lang.Object
-
- org.apache.accumulo.server.rpc.ServerAddress
-
public class ServerAddress extends Object
Encapsulate a Thrift server and the address, host and port, to which it is bound.
-
-
Constructor Summary
Constructors Constructor Description ServerAddress(org.apache.thrift.server.TServer server, com.google.common.net.HostAndPort address)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.net.HostAndPortgetAddress()org.apache.thrift.server.TServergetServer()
-