Package org.apache.hadoop.hbase.thrift
Class HThreadedSelectorServerArgs
java.lang.Object
org.apache.thrift.server.TServer.AbstractServerArgs<T>
org.apache.thrift.server.AbstractNonblockingServer.AbstractNonblockingServerArgs<org.apache.thrift.server.TThreadedSelectorServer.Args>
org.apache.thrift.server.TThreadedSelectorServer.Args
org.apache.hadoop.hbase.thrift.HThreadedSelectorServerArgs
@Private
public class HThreadedSelectorServerArgs
extends org.apache.thrift.server.TThreadedSelectorServer.Args
A TThreadedSelectorServer.Args that reads hadoop configuration
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.thrift.server.TThreadedSelectorServer.Args
org.apache.thrift.server.TThreadedSelectorServer.Args.AcceptPolicy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The strategy for handling new accepted connections.static final String
Maximum number of accepted elements per selectorprivate static final org.slf4j.Logger
static final String
Number of selector threads for reading and writing socketstatic final String
Time to wait for server to stop gracefullystatic final String
Number fo threads for processing the thrift callsFields inherited from class org.apache.thrift.server.TThreadedSelectorServer.Args
selectorThreads
Fields inherited from class org.apache.thrift.server.AbstractNonblockingServer.AbstractNonblockingServerArgs
maxReadBufferBytes
-
Constructor Summary
ConstructorDescriptionHThreadedSelectorServerArgs
(org.apache.thrift.transport.TNonblockingServerTransport transport, org.apache.hadoop.conf.Configuration conf) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
readConf
(org.apache.hadoop.conf.Configuration conf) Methods inherited from class org.apache.thrift.server.TThreadedSelectorServer.Args
acceptPolicy, acceptQueueSizePerThread, executorService, getAcceptPolicy, getAcceptQueueSizePerThread, getExecutorService, getSelectorThreads, getStopTimeoutUnit, getStopTimeoutVal, getWorkerThreads, selectorThreads, stopTimeoutUnit, stopTimeoutVal, validate, workerThreads
Methods inherited from class org.apache.thrift.server.TServer.AbstractServerArgs
inputProtocolFactory, inputTransportFactory, outputProtocolFactory, outputTransportFactory, processor, processorFactory, protocolFactory, transportFactory
-
Field Details
-
LOG
-
SELECTOR_THREADS_CONF_KEY
Number of selector threads for reading and writing socket- See Also:
-
WORKER_THREADS_CONF_KEY
Number fo threads for processing the thrift calls- See Also:
-
STOP_TIMEOUT_CONF_KEY
Time to wait for server to stop gracefully- See Also:
-
ACCEPT_QUEUE_SIZE_PER_THREAD_CONF_KEY
Maximum number of accepted elements per selector- See Also:
-
ACCEPT_POLICY_CONF_KEY
The strategy for handling new accepted connections.- See Also:
-
-
Constructor Details
-
HThreadedSelectorServerArgs
public HThreadedSelectorServerArgs(org.apache.thrift.transport.TNonblockingServerTransport transport, org.apache.hadoop.conf.Configuration conf)
-
-
Method Details
-
readConf
-