@InterfaceAudience.Private public class HThreadedSelectorServerArgs extends org.apache.thrift.server.TThreadedSelectorServer.Args
| Modifier and Type | Field and Description | 
|---|---|
| static String | ACCEPT_POLICY_CONF_KEYThe strategy for handling new accepted connections. | 
| static String | ACCEPT_QUEUE_SIZE_PER_THREAD_CONF_KEYMaximum number of accepted elements per selector | 
| static String | SELECTOR_THREADS_CONF_KEYNumber of selector threads for reading and writing socket | 
| static String | STOP_TIMEOUT_CONF_KEYTime to wait for server to stop gracefully | 
| static String | WORKER_THREADS_CONF_KEYNumber 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, workerThreadspublic 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.