org.apache.hadoop.hbase.monitoring
Interface MonitoredRPCHandler
- All Superinterfaces:
- Cloneable, MonitoredTask
- All Known Implementing Classes:
- MonitoredRPCHandlerImpl
@InterfaceAudience.Private
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(com.google.protobuf.Message param)
setConnection
void setConnection(String clientAddress,
int remotePort)
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.