@InterfaceAudience.Private @InterfaceStability.Evolving public class MetaRWQueueRpcExecutor extends RWQueueRpcExecutor
RpcExecutor.Handler, RpcExecutor.QueueBalancer
限定符和类型 | 字段和说明 |
---|---|
static float |
DEFAULT_META_CALL_QUEUE_READ_SHARE |
static String |
META_CALL_QUEUE_READ_SHARE_CONF_KEY |
static String |
META_CALL_QUEUE_SCAN_SHARE_CONF_KEY |
CALL_QUEUE_READ_SHARE_CONF_KEY, CALL_QUEUE_SCAN_SHARE_CONF_KEY
CALL_QUEUE_CODEL_DEFAULT_INTERVAL, CALL_QUEUE_CODEL_DEFAULT_LIFO_THRESHOLD, CALL_QUEUE_CODEL_DEFAULT_TARGET_DELAY, CALL_QUEUE_CODEL_INTERVAL, CALL_QUEUE_CODEL_LIFO_THRESHOLD, CALL_QUEUE_CODEL_TARGET_DELAY, CALL_QUEUE_HANDLER_FACTOR_CONF_KEY, CALL_QUEUE_TYPE_CODEL_CONF_VALUE, CALL_QUEUE_TYPE_CONF_DEFAULT, CALL_QUEUE_TYPE_CONF_KEY, CALL_QUEUE_TYPE_DEADLINE_CONF_VALUE, CALL_QUEUE_TYPE_FIFO_CONF_VALUE, currentQueueLimit, DEFAULT_CALL_QUEUE_SIZE_HARD_LIMIT, numCallQueues, QUEUE_MAX_CALL_DELAY_CONF_KEY, queues
构造器和说明 |
---|
MetaRWQueueRpcExecutor(String name,
int handlerCount,
int maxQueueLength,
PriorityFunction priority,
org.apache.hadoop.conf.Configuration conf,
Abortable abortable) |
限定符和类型 | 方法和说明 |
---|---|
protected float |
getReadShare(org.apache.hadoop.conf.Configuration conf) |
protected float |
getScanShare(org.apache.hadoop.conf.Configuration conf) |
computeNumCallQueues, dispatch, getActiveHandlerCount, getActiveReadHandlerCount, getActiveScanHandlerCount, getActiveWriteHandlerCount, getReadQueueLength, getScanQueueLength, getWriteQueueLength, isWriteRequest, startHandlers
getBalancer, getCallQueueCountsSummary, getCallQueueSizeSummary, getHandler, getName, getNumGeneralCallsDropped, getNumLifoModeSwitches, getQueueLength, getQueues, initializeQueues, isCodelQueueType, isDeadlineQueueType, isFifoQueueType, onConfigurationChange, resizeQueues, start, startHandlers, stop
public static final String META_CALL_QUEUE_READ_SHARE_CONF_KEY
public static final String META_CALL_QUEUE_SCAN_SHARE_CONF_KEY
public static final float DEFAULT_META_CALL_QUEUE_READ_SHARE
public MetaRWQueueRpcExecutor(String name, int handlerCount, int maxQueueLength, PriorityFunction priority, org.apache.hadoop.conf.Configuration conf, Abortable abortable)
protected float getReadShare(org.apache.hadoop.conf.Configuration conf)
getReadShare
在类中 RWQueueRpcExecutor
protected float getScanShare(org.apache.hadoop.conf.Configuration conf)
getScanShare
在类中 RWQueueRpcExecutor
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.