public abstract class CompatPhoenixRpcScheduler
extends org.apache.hadoop.hbase.ipc.RpcScheduler
RpcScheduler that first checks to see if this is an index or metadata update before
passing off the call to the delegate RpcScheduler.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.hbase.ipc.RpcScheduler |
delegate |
| Constructor and Description |
|---|
CompatPhoenixRpcScheduler() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
compatDispatch(org.apache.hadoop.hbase.ipc.CallRunner task) |
boolean |
dispatch(org.apache.hadoop.hbase.ipc.CallRunner task) |
int |
getActiveGeneralRpcHandlerCount() |
int |
getActiveMetaPriorityRpcHandlerCount() |
int |
getActivePriorityRpcHandlerCount() |
int |
getActiveReplicationRpcHandlerCount() |
int |
getMetaPriorityQueueLength() |
getActiveReadRpcHandlerCount, getActiveRpcHandlerCount, getActiveScanRpcHandlerCount, getActiveWriteRpcHandlerCount, getCallQueueInfo, getGeneralQueueLength, getNumGeneralCallsDropped, getNumLifoModeSwitches, getPriorityQueueLength, getReadQueueLength, getReplicationQueueLength, getScanQueueLength, getWriteQueueLength, init, start, stoppublic boolean dispatch(org.apache.hadoop.hbase.ipc.CallRunner task)
throws IOException,
InterruptedException
dispatch in class org.apache.hadoop.hbase.ipc.RpcSchedulerIOExceptionInterruptedExceptionpublic abstract boolean compatDispatch(org.apache.hadoop.hbase.ipc.CallRunner task)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic int getMetaPriorityQueueLength()
getMetaPriorityQueueLength in class org.apache.hadoop.hbase.ipc.RpcSchedulerpublic int getActiveGeneralRpcHandlerCount()
getActiveGeneralRpcHandlerCount in class org.apache.hadoop.hbase.ipc.RpcSchedulerpublic int getActivePriorityRpcHandlerCount()
getActivePriorityRpcHandlerCount in class org.apache.hadoop.hbase.ipc.RpcSchedulerpublic int getActiveMetaPriorityRpcHandlerCount()
getActiveMetaPriorityRpcHandlerCount in class org.apache.hadoop.hbase.ipc.RpcSchedulerpublic int getActiveReplicationRpcHandlerCount()
getActiveReplicationRpcHandlerCount in class org.apache.hadoop.hbase.ipc.RpcSchedulerCopyright © 2022 Apache Software Foundation. All rights reserved.