private static class TestMasterFifoRpcScheduler.MockMasterFifoRpcScheduler extends org.apache.hadoop.hbase.ipc.MasterFifoRpcScheduler
MASTER_SERVER_REPORT_HANDLER_COUNT
Constructor and Description |
---|
MockMasterFifoRpcScheduler(org.apache.hadoop.conf.Configuration conf,
int callHandlerCount,
int rsReportHandlerCount) |
Modifier and Type | Method and Description |
---|---|
protected String |
getCallMethod(org.apache.hadoop.hbase.ipc.CallRunner task)
Override this method because we can't mock a Descriptors.MethodDescriptor
|
dispatch, getActiveRpcHandlerCount, getCallQueueInfo, getGeneralQueueLength, start, stop
executeRpcCall, getActiveGeneralRpcHandlerCount, getActiveMetaPriorityRpcHandlerCount, getActivePriorityRpcHandlerCount, getActiveReadRpcHandlerCount, getActiveReplicationRpcHandlerCount, getActiveScanRpcHandlerCount, getActiveWriteRpcHandlerCount, getMetaPriorityQueueLength, getNumGeneralCallsDropped, getNumLifoModeSwitches, getPriorityQueueLength, getReadQueueLength, getReplicationQueueLength, getScanQueueLength, getWriteQueueLength, init, updateMethodCountAndSizeByQueue
public MockMasterFifoRpcScheduler(org.apache.hadoop.conf.Configuration conf, int callHandlerCount, int rsReportHandlerCount)
protected String getCallMethod(org.apache.hadoop.hbase.ipc.CallRunner task)
getCallMethod
in class org.apache.hadoop.hbase.ipc.FifoRpcScheduler
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.