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