Interface MonitoredRPCHandler
- All Superinterfaces:
Cloneable
,MonitoredTask
- All Known Implementing Classes:
MonitoredRPCHandlerImpl
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.monitoring.MonitoredTask
MonitoredTask.State, MonitoredTask.StatusJournalEntry
-
Method Summary
Modifier and TypeMethodDescriptiongetRPC()
getRPC
(boolean withParams) long
long
long
boolean
boolean
void
setConnection
(String clientAddress, int remotePort) void
void
setRPCPacket
(org.apache.hbase.thirdparty.com.google.protobuf.Message param) Methods inherited from interface org.apache.hadoop.hbase.monitoring.MonitoredTask
abort, cleanup, clone, expireNow, getCompletionTimestamp, getDescription, getStartTime, getState, getStateTime, getStatus, getStatusJournal, getStatusTime, getWarnTime, markComplete, pause, prettyPrintJournal, resume, setDescription, setStatus, setWarnTime, toJSON, toMap
-
Method Details
-
getRPC
-
getRPC
-
getRPCPacketLength
long getRPCPacketLength() -
getClient
-
getRPCStartTime
long getRPCStartTime() -
getRPCQueueTime
long getRPCQueueTime() -
isRPCRunning
boolean isRPCRunning() -
isOperationRunning
boolean isOperationRunning() -
setRPC
-
setRPCPacket
-
setConnection
-