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> T
ReplicationClient. executeServicerWithReturn(ClientContext context, HostAndPort tserver, ClientExecReturn<T,ReplicationServicer.Client> exec, long timeout)
static ReplicationServicer.Client
ReplicationClient. getServicerConnection(ClientContext context, HostAndPort server, long timeout)
Attempt a single time to create a ReplicationServicer client to the given hostorg.apache.thrift.transport.TTransport
ThriftTransportPool. 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 void
TabletLogger. 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 HostAndPort
TabletMetadata.Location. getHostAndPort()
HostAndPort
Ample.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.TTransport
TTimeoutTransport. create(HostAndPort addr, long timeoutMillis)
Creates a Thrift TTransport to the given address with the given timeout.static org.apache.thrift.transport.TTransport
ThriftUtil. 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.TTransport
ThriftUtil. 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.Client
ThriftUtil. getTServerClient(HostAndPort address, ClientContext context)
Create a TabletServer Thrift clientstatic TabletClientService.Client
ThriftUtil. 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 HostAndPort
HostAndPort. fromParts(String host, int port)
Build a HostAndPort instance from separate host and port values.static HostAndPort
HostAndPort. fromString(String hostPortString)
Split a freeform string into a host and port, without strict validation.HostAndPort
ServerServices. getAddress(ServerServices.Service service)
static HostAndPort
AddressUtil. parseAddress(String address, boolean ignoreMissingPort)
static HostAndPort
AddressUtil. parseAddress(String address, int defaultPort)
HostAndPort
HostAndPort. withDefaultPort(int defaultPort)
Provide a default port if the parsed string contained only a host.
-