| Package | Description |
|---|---|
| org.apache.accumulo.server.rpc |
| Modifier and Type | Method and Description |
|---|---|
static ServerAddress |
TServerUtils.createBlockingServer(HostAndPort address,
org.apache.thrift.TProcessor processor,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
long maxMessageSize,
String serverName,
int numThreads,
int numSimpleTimerThreads,
long timeBetweenThreadChecks)
Creates a TTheadPoolServer for normal unsecure operation.
|
static ServerAddress |
TServerUtils.createNonBlockingServer(HostAndPort address,
org.apache.thrift.TProcessor processor,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
String serverName,
String threadName,
int numThreads,
int numSTThreads,
long timeBetweenThreadChecks,
long maxMessageSize)
Create a NonBlockingServer with a custom thread pool that can dynamically resize itself.
|
static ServerAddress |
TServerUtils.createSaslThreadPoolServer(HostAndPort address,
org.apache.thrift.TProcessor processor,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
long socketTimeout,
SaslServerConnectionParams params,
String serverName,
String threadName,
int numThreads,
int numSTThreads,
long timeBetweenThreadChecks) |
static ServerAddress |
TServerUtils.createSslThreadPoolServer(HostAndPort address,
org.apache.thrift.TProcessor processor,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
long socketTimeout,
SslConnectionParams sslParams,
String serverName,
int numThreads,
int numSimpleTimerThreads,
long timeBetweenThreadChecks)
Create a Thrift SSL server.
|
static ServerAddress |
TServerUtils.startServer(AccumuloServerContext service,
String hostname,
Property portHintProperty,
org.apache.thrift.TProcessor processor,
String serverName,
String threadName,
Property portSearchProperty,
Property minThreadProperty,
Property timeBetweenThreadChecksProperty,
Property maxMessageSizeProperty)
Start a server, at the given port, or higher, if that port is not available.
|
static ServerAddress |
TServerUtils.startTServer(AccumuloConfiguration conf,
ThriftServerType serverType,
org.apache.thrift.TProcessor processor,
String serverName,
String threadName,
int numThreads,
int numSTThreads,
long timeBetweenThreadChecks,
long maxMessageSize,
SslConnectionParams sslParams,
SaslServerConnectionParams saslParams,
long serverSocketTimeout,
HostAndPort... addresses) |
static ServerAddress |
TServerUtils.startTServer(ThriftServerType serverType,
TimedProcessor processor,
String serverName,
String threadName,
int numThreads,
int numSTThreads,
long timeBetweenThreadChecks,
long maxMessageSize,
SslConnectionParams sslParams,
SaslServerConnectionParams saslParams,
long serverSocketTimeout,
HostAndPort... addresses) |
static ServerAddress |
TServerUtils.startTServer(ThriftServerType serverType,
TimedProcessor processor,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
String serverName,
String threadName,
int numThreads,
int numSTThreads,
long timeBetweenThreadChecks,
long maxMessageSize,
SslConnectionParams sslParams,
SaslServerConnectionParams saslParams,
long serverSocketTimeout,
HostAndPort... addresses)
Start the appropriate Thrift server (SSL or non-blocking server) for the given parameters.
|
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.