| Package | Description |
|---|---|
| org.apache.accumulo.server | |
| org.apache.accumulo.server.rpc |
| Modifier and Type | Method and Description |
|---|---|
ThriftServerType |
AccumuloServerContext.getThriftServerType()
Determine the type of Thrift server to instantiate given the server's configuration.
|
| Modifier and Type | Method and Description |
|---|---|
static ThriftServerType |
ThriftServerType.get(String name) |
static ThriftServerType |
ThriftServerType.getDefault() |
static ThriftServerType |
ThriftServerType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThriftServerType[] |
ThriftServerType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static ServerAddress |
TServerUtils.startTServer(AccumuloConfiguration conf,
com.google.common.net.HostAndPort address,
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) |
static ServerAddress |
TServerUtils.startTServer(com.google.common.net.HostAndPort address,
ThriftServerType serverType,
TimedProcessor processor,
String serverName,
String threadName,
int numThreads,
int numSTThreads,
long timeBetweenThreadChecks,
long maxMessageSize,
SslConnectionParams sslParams,
SaslServerConnectionParams saslParams,
long serverSocketTimeout) |
static ServerAddress |
TServerUtils.startTServer(com.google.common.net.HostAndPort address,
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)
Start the appropriate Thrift server (SSL or non-blocking server) for the given parameters.
|
Copyright © 2015 Apache Accumulo Project. All rights reserved.