public class DelegatingRpcScheduler extends org.apache.hadoop.hbase.ipc.RpcScheduler
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.hbase.ipc.RpcScheduler |
delegate |
Constructor and Description |
---|
DelegatingRpcScheduler(org.apache.hadoop.hbase.ipc.RpcScheduler delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
dispatch(org.apache.hadoop.hbase.ipc.CallRunner task) |
int |
getActiveReadRpcHandlerCount() |
int |
getActiveRpcHandlerCount() |
int |
getActiveScanRpcHandlerCount() |
int |
getActiveWriteRpcHandlerCount() |
org.apache.hadoop.hbase.ipc.CallQueueInfo |
getCallQueueInfo() |
int |
getGeneralQueueLength() |
int |
getMetaPriorityQueueLength() |
long |
getNumGeneralCallsDropped() |
long |
getNumLifoModeSwitches() |
int |
getPriorityQueueLength() |
int |
getReadQueueLength() |
int |
getReplicationQueueLength() |
int |
getScanQueueLength() |
int |
getWriteQueueLength() |
void |
init(org.apache.hadoop.hbase.ipc.RpcScheduler.Context context) |
void |
start() |
void |
stop() |
protected org.apache.hadoop.hbase.ipc.RpcScheduler delegate
public DelegatingRpcScheduler(org.apache.hadoop.hbase.ipc.RpcScheduler delegate)
public void stop()
stop
in class org.apache.hadoop.hbase.ipc.RpcScheduler
public void start()
start
in class org.apache.hadoop.hbase.ipc.RpcScheduler
public void init(org.apache.hadoop.hbase.ipc.RpcScheduler.Context context)
init
in class org.apache.hadoop.hbase.ipc.RpcScheduler
public int getReplicationQueueLength()
getReplicationQueueLength
in class org.apache.hadoop.hbase.ipc.RpcScheduler
public int getPriorityQueueLength()
getPriorityQueueLength
in class org.apache.hadoop.hbase.ipc.RpcScheduler
public int getGeneralQueueLength()
getGeneralQueueLength
in class org.apache.hadoop.hbase.ipc.RpcScheduler
public int getActiveRpcHandlerCount()
getActiveRpcHandlerCount
in class org.apache.hadoop.hbase.ipc.RpcScheduler
public boolean dispatch(org.apache.hadoop.hbase.ipc.CallRunner task) throws IOException, InterruptedException
dispatch
in class org.apache.hadoop.hbase.ipc.RpcScheduler
IOException
InterruptedException
public int getMetaPriorityQueueLength()
getMetaPriorityQueueLength
in class org.apache.hadoop.hbase.ipc.RpcScheduler
public long getNumGeneralCallsDropped()
getNumGeneralCallsDropped
in class org.apache.hadoop.hbase.ipc.RpcScheduler
public long getNumLifoModeSwitches()
getNumLifoModeSwitches
in class org.apache.hadoop.hbase.ipc.RpcScheduler
public int getWriteQueueLength()
getWriteQueueLength
in class org.apache.hadoop.hbase.ipc.RpcScheduler
public int getReadQueueLength()
getReadQueueLength
in class org.apache.hadoop.hbase.ipc.RpcScheduler
public int getScanQueueLength()
getScanQueueLength
in class org.apache.hadoop.hbase.ipc.RpcScheduler
public int getActiveWriteRpcHandlerCount()
getActiveWriteRpcHandlerCount
in class org.apache.hadoop.hbase.ipc.RpcScheduler
public int getActiveReadRpcHandlerCount()
getActiveReadRpcHandlerCount
in class org.apache.hadoop.hbase.ipc.RpcScheduler
public int getActiveScanRpcHandlerCount()
getActiveScanRpcHandlerCount
in class org.apache.hadoop.hbase.ipc.RpcScheduler
public org.apache.hadoop.hbase.ipc.CallQueueInfo getCallQueueInfo()
getCallQueueInfo
in class org.apache.hadoop.hbase.ipc.RpcScheduler
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.