@InterfaceAudience.Private public class HThreadedSelectorServerArgs extends org.apache.thrift.server.TThreadedSelectorServer.Args
Modifier and Type | Field and Description |
---|---|
static String |
ACCEPT_POLICY_CONF_KEY
The strategy for handling new accepted connections.
|
static String |
ACCEPT_QUEUE_SIZE_PER_THREAD_CONF_KEY
Maximum number of accepted elements per selector
|
static String |
SELECTOR_THREADS_CONF_KEY
Number of selector threads for reading and writing socket
|
static String |
STOP_TIMEOUT_CONF_KEY
Time to wait for server to stop gracefully
|
static String |
WORKER_THREADS_CONF_KEY
Number fo threads for processing the thrift calls
|
Constructor and Description |
---|
HThreadedSelectorServerArgs(org.apache.thrift.transport.TNonblockingServerTransport transport,
org.apache.hadoop.conf.Configuration conf) |
acceptPolicy, acceptQueueSizePerThread, executorService, getAcceptPolicy, getAcceptQueueSizePerThread, getExecutorService, getSelectorThreads, getStopTimeoutUnit, getStopTimeoutVal, getWorkerThreads, selectorThreads, stopTimeoutUnit, stopTimeoutVal, validate, workerThreads
public static final String SELECTOR_THREADS_CONF_KEY
public static final String WORKER_THREADS_CONF_KEY
public static final String STOP_TIMEOUT_CONF_KEY
public static final String ACCEPT_QUEUE_SIZE_PER_THREAD_CONF_KEY
public static final String ACCEPT_POLICY_CONF_KEY
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.