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 Details

    • server

      public final org.apache.thrift.server.TServer server
    • address

      public final HostAndPort address
  • Constructor Details

    • ServerAddress

      public ServerAddress(org.apache.thrift.server.TServer server, HostAndPort address)
  • Method Details

    • getServer

      public org.apache.thrift.server.TServer getServer()
    • getAddress

      public HostAndPort getAddress()