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.
-
-
Field Summary
Fields Modifier and Type Field Description HostAndPort
address
org.apache.thrift.server.TServer
server
-
Constructor Summary
Constructors Constructor Description ServerAddress(org.apache.thrift.server.TServer server, HostAndPort address)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostAndPort
getAddress()
org.apache.thrift.server.TServer
getServer()
-
-
-
Field Detail
-
server
public final org.apache.thrift.server.TServer server
-
address
public final HostAndPort address
-
-
Constructor Detail
-
ServerAddress
public ServerAddress(org.apache.thrift.server.TServer server, HostAndPort address)
-
-
Method Detail
-
getServer
public org.apache.thrift.server.TServer getServer()
-
getAddress
public HostAndPort getAddress()
-
-