Package org.apache.hadoop.hbase.ipc
Class MetricsHBaseServerWrapperImpl
java.lang.Object
org.apache.hadoop.hbase.ipc.MetricsHBaseServerWrapperImpl
- All Implemented Interfaces:
MetricsHBaseServerWrapper
@Private
public class MetricsHBaseServerWrapperImpl
extends Object
implements MetricsHBaseServerWrapper
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
int
int
int
int
int
int
int
int
long
long
long
int
int
int
int
int
These two metrics are calculated together, so we want to return them in one calllong
int
private boolean
-
Field Details
-
server
-
-
Constructor Details
-
MetricsHBaseServerWrapperImpl
-
-
Method Details
-
isServerStarted
-
getTotalQueueSize
- Specified by:
getTotalQueueSize
in interfaceMetricsHBaseServerWrapper
-
getGeneralQueueLength
- Specified by:
getGeneralQueueLength
in interfaceMetricsHBaseServerWrapper
-
getReplicationQueueLength
- Specified by:
getReplicationQueueLength
in interfaceMetricsHBaseServerWrapper
-
getBulkLoadQueueLength
- Specified by:
getBulkLoadQueueLength
in interfaceMetricsHBaseServerWrapper
-
getPriorityQueueLength
- Specified by:
getPriorityQueueLength
in interfaceMetricsHBaseServerWrapper
-
getMetaPriorityQueueLength
- Specified by:
getMetaPriorityQueueLength
in interfaceMetricsHBaseServerWrapper
-
getNumOpenConnections
- Specified by:
getNumOpenConnections
in interfaceMetricsHBaseServerWrapper
-
getActiveRpcHandlerCount
- Specified by:
getActiveRpcHandlerCount
in interfaceMetricsHBaseServerWrapper
-
getActiveGeneralRpcHandlerCount
- Specified by:
getActiveGeneralRpcHandlerCount
in interfaceMetricsHBaseServerWrapper
-
getActivePriorityRpcHandlerCount
- Specified by:
getActivePriorityRpcHandlerCount
in interfaceMetricsHBaseServerWrapper
-
getActiveMetaPriorityRpcHandlerCount
- Specified by:
getActiveMetaPriorityRpcHandlerCount
in interfaceMetricsHBaseServerWrapper
-
getActiveReplicationRpcHandlerCount
- Specified by:
getActiveReplicationRpcHandlerCount
in interfaceMetricsHBaseServerWrapper
-
getActiveBulkLoadRpcHandlerCount
- Specified by:
getActiveBulkLoadRpcHandlerCount
in interfaceMetricsHBaseServerWrapper
-
getNumGeneralCallsDropped
- Specified by:
getNumGeneralCallsDropped
in interfaceMetricsHBaseServerWrapper
-
getNumLifoModeSwitches
- Specified by:
getNumLifoModeSwitches
in interfaceMetricsHBaseServerWrapper
-
getWriteQueueLength
- Specified by:
getWriteQueueLength
in interfaceMetricsHBaseServerWrapper
-
getReadQueueLength
- Specified by:
getReadQueueLength
in interfaceMetricsHBaseServerWrapper
-
getScanQueueLength
- Specified by:
getScanQueueLength
in interfaceMetricsHBaseServerWrapper
-
getActiveWriteRpcHandlerCount
- Specified by:
getActiveWriteRpcHandlerCount
in interfaceMetricsHBaseServerWrapper
-
getActiveReadRpcHandlerCount
- Specified by:
getActiveReadRpcHandlerCount
in interfaceMetricsHBaseServerWrapper
-
getActiveScanRpcHandlerCount
- Specified by:
getActiveScanRpcHandlerCount
in interfaceMetricsHBaseServerWrapper
-
getNettyDmUsage
- Specified by:
getNettyDmUsage
in interfaceMetricsHBaseServerWrapper
-
getTotalAndMaxNettyOutboundBytes
Description copied from interface:MetricsHBaseServerWrapper
These two metrics are calculated together, so we want to return them in one call- Specified by:
getTotalAndMaxNettyOutboundBytes
in interfaceMetricsHBaseServerWrapper
- Returns:
- pair containing total (first) and max (second) pending outbound bytes.
-