Uses of Class
org.apache.accumulo.core.util.HostAndPort
-
Packages that use HostAndPort Package Description org.apache.accumulo.core.clientImpl org.apache.accumulo.core.logging This package exist to provide a central place in Accumulo's source code for important log messages.org.apache.accumulo.core.metadata.schema org.apache.accumulo.core.rpc org.apache.accumulo.core.util -
-
Uses of HostAndPort in org.apache.accumulo.core.clientImpl
Methods in org.apache.accumulo.core.clientImpl with parameters of type HostAndPort Modifier and Type Method Description static <T> TReplicationClient. executeServicerWithReturn(ClientContext context, HostAndPort tserver, ClientExecReturn<T,ReplicationServicer.Client> exec, long timeout)static ReplicationServicer.ClientReplicationClient. getServicerConnection(ClientContext context, HostAndPort server, long timeout)Attempt a single time to create a ReplicationServicer client to the given hostorg.apache.thrift.transport.TTransportThriftTransportPool. getTransport(HostAndPort location, long milliseconds, ClientContext context)Constructors in org.apache.accumulo.core.clientImpl with parameters of type HostAndPort Constructor Description ThriftTransportKey(HostAndPort server, long timeout, ClientContext context) -
Uses of HostAndPort in org.apache.accumulo.core.logging
Methods in org.apache.accumulo.core.logging with parameters of type HostAndPort Modifier and Type Method Description static voidTabletLogger. suspended(KeyExtent extent, HostAndPort server, long time, TimeUnit timeUnit, int numWalogs) -
Uses of HostAndPort in org.apache.accumulo.core.metadata.schema
Methods in org.apache.accumulo.core.metadata.schema that return HostAndPort Modifier and Type Method Description HostAndPortTabletMetadata.Location. getHostAndPort()HostAndPortAmple.TServer. getLocation() -
Uses of HostAndPort in org.apache.accumulo.core.rpc
Methods in org.apache.accumulo.core.rpc with parameters of type HostAndPort Modifier and Type Method Description static org.apache.thrift.transport.TTransportTTimeoutTransport. create(HostAndPort addr, long timeoutMillis)Creates a Thrift TTransport to the given address with the given timeout.static org.apache.thrift.transport.TTransportThriftUtil. createClientTransport(HostAndPort address, int timeout, SslConnectionParams sslParams, SaslConnectionParams saslParams)Create a TTransport for clients to the given address with the provided socket timeout and session-layer configurationstatic org.apache.thrift.transport.TTransportThriftUtil. createTransport(HostAndPort address, ClientContext context)Create a transport that is not pooledstatic <T extends org.apache.thrift.TServiceClient>
TThriftUtil. getClient(org.apache.thrift.TServiceClientFactory<T> factory, HostAndPort address, ClientContext context)Create a Thrift client using the given factory with a pooled transport (if available), the address and client context.static <T extends org.apache.thrift.TServiceClient>
TThriftUtil. getClient(org.apache.thrift.TServiceClientFactory<T> factory, HostAndPort address, ClientContext context, long timeout)Create a Thrift client using the given factory with a pooled transport (if available) using the address, client context and timeoutstatic <T extends org.apache.thrift.TServiceClient>
TThriftUtil. getClientNoTimeout(org.apache.thrift.TServiceClientFactory<T> factory, HostAndPort address, ClientContext context)Create a Thrift client using the given factory with a pooled transport (if available), the address, and client context with no timeout.static TabletClientService.ClientThriftUtil. getTServerClient(HostAndPort address, ClientContext context)Create a TabletServer Thrift clientstatic TabletClientService.ClientThriftUtil. getTServerClient(HostAndPort address, ClientContext context, long timeout)Create a TabletServer Thrift client -
Uses of HostAndPort in org.apache.accumulo.core.util
Methods in org.apache.accumulo.core.util that return HostAndPort Modifier and Type Method Description static HostAndPortHostAndPort. fromParts(String host, int port)Build a HostAndPort instance from separate host and port values.static HostAndPortHostAndPort. fromString(String hostPortString)Split a freeform string into a host and port, without strict validation.HostAndPortServerServices. getAddress(ServerServices.Service service)static HostAndPortAddressUtil. parseAddress(String address, boolean ignoreMissingPort)static HostAndPortAddressUtil. parseAddress(String address, int defaultPort)HostAndPortHostAndPort. withDefaultPort(int defaultPort)Provide a default port if the parsed string contained only a host.
-