org.apache.hadoop.hbase.monitoring
Interface MonitoredRPCHandler
- All Superinterfaces:
- Cloneable, MonitoredTask
- All Known Implementing Classes:
- MonitoredRPCHandlerImpl
public interface MonitoredRPCHandler
- extends MonitoredTask
A MonitoredTask implementation optimized for use with RPC Handlers
handling frequent, short duration tasks. String concatenations and object
allocations are avoided in methods that will be hit by every RPC call.
Methods inherited from interface org.apache.hadoop.hbase.monitoring.MonitoredTask |
abort, cleanup, clone, expireNow, getCompletionTimestamp, getDescription, getStartTime, getState, getStateTime, getStatus, getStatusTime, markComplete, pause, resume, setDescription, setStatus, toJSON, toMap |
getRPC
String getRPC()
getRPC
String getRPC(boolean withParams)
getRPCPacketLength
long getRPCPacketLength()
getClient
String getClient()
getRPCStartTime
long getRPCStartTime()
getRPCQueueTime
long getRPCQueueTime()
isRPCRunning
boolean isRPCRunning()
isOperationRunning
boolean isOperationRunning()
setRPC
void setRPC(String methodName,
Object[] params,
long queueTime)
setRPCPacket
void setRPCPacket(org.apache.hadoop.io.Writable param)
setConnection
void setConnection(String clientAddress,
int remotePort)
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.