Package org.apache.hadoop.hbase.ipc
Class TestMasterFifoRpcScheduler.MockMasterFifoRpcScheduler
java.lang.Object
org.apache.hadoop.hbase.ipc.RpcScheduler
org.apache.hadoop.hbase.ipc.FifoRpcScheduler
org.apache.hadoop.hbase.ipc.MasterFifoRpcScheduler
org.apache.hadoop.hbase.ipc.TestMasterFifoRpcScheduler.MockMasterFifoRpcScheduler
- Enclosing class:
- TestMasterFifoRpcScheduler
private static class TestMasterFifoRpcScheduler.MockMasterFifoRpcScheduler
extends org.apache.hadoop.hbase.ipc.MasterFifoRpcScheduler
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.ipc.RpcScheduler
org.apache.hadoop.hbase.ipc.RpcScheduler.Context
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.ipc.MasterFifoRpcScheduler
MASTER_SERVER_REPORT_HANDLER_COUNT
Fields inherited from class org.apache.hadoop.hbase.ipc.FifoRpcScheduler
executor, handlerCount, maxQueueLength, queueSize
Fields inherited from class org.apache.hadoop.hbase.ipc.RpcScheduler
IPC_SERVER_BULKLOAD_MAX_CALLQUEUE_LENGTH, IPC_SERVER_MAX_CALLQUEUE_LENGTH, IPC_SERVER_PRIORITY_MAX_CALLQUEUE_LENGTH, IPC_SERVER_REPLICATION_MAX_CALLQUEUE_LENGTH
-
Constructor Summary
ConstructorDescriptionMockMasterFifoRpcScheduler
(org.apache.hadoop.conf.Configuration conf, int callHandlerCount, int rsReportHandlerCount) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getCallMethod
(org.apache.hadoop.hbase.ipc.CallRunner task) Override this method because we can't mock a Descriptors.MethodDescriptorMethods inherited from class org.apache.hadoop.hbase.ipc.MasterFifoRpcScheduler
dispatch, getActiveRpcHandlerCount, getCallQueueInfo, getGeneralQueueLength, start, stop
Methods inherited from class org.apache.hadoop.hbase.ipc.FifoRpcScheduler
executeRpcCall, getActiveBulkLoadRpcHandlerCount, getActiveGeneralRpcHandlerCount, getActiveMetaPriorityRpcHandlerCount, getActivePriorityRpcHandlerCount, getActiveReadRpcHandlerCount, getActiveReplicationRpcHandlerCount, getActiveScanRpcHandlerCount, getActiveWriteRpcHandlerCount, getBulkLoadQueueLength, getMetaPriorityQueueLength, getNumGeneralCallsDropped, getNumLifoModeSwitches, getPriorityQueueLength, getReadQueueLength, getReplicationQueueLength, getScanQueueLength, getWriteQueueLength, init, updateMethodCountAndSizeByQueue
-
Constructor Details
-
MockMasterFifoRpcScheduler
public MockMasterFifoRpcScheduler(org.apache.hadoop.conf.Configuration conf, int callHandlerCount, int rsReportHandlerCount)
-
-
Method Details
-
getCallMethod
Override this method because we can't mock a Descriptors.MethodDescriptor- Overrides:
getCallMethod
in classorg.apache.hadoop.hbase.ipc.FifoRpcScheduler
-