@InterfaceAudience.Private public class MetricsHBaseServerWrapperImpl extends Object implements MetricsHBaseServerWrapper
Constructor and Description |
---|
MetricsHBaseServerWrapperImpl(RpcServer server) |
Modifier and Type | Method and Description |
---|---|
int |
getActiveReadRpcHandlerCount() |
int |
getActiveRpcHandlerCount() |
int |
getActiveScanRpcHandlerCount() |
int |
getActiveWriteRpcHandlerCount() |
int |
getGeneralQueueLength() |
int |
getMetaPriorityQueueLength() |
long |
getNumGeneralCallsDropped() |
long |
getNumLifoModeSwitches() |
int |
getNumOpenConnections() |
int |
getPriorityQueueLength() |
int |
getReadQueueLength() |
int |
getReplicationQueueLength() |
int |
getScanQueueLength() |
long |
getTotalQueueSize() |
int |
getWriteQueueLength() |
private boolean |
isServerStarted() |
MetricsHBaseServerWrapperImpl(RpcServer server)
private boolean isServerStarted()
public long getTotalQueueSize()
getTotalQueueSize
in interface MetricsHBaseServerWrapper
public int getGeneralQueueLength()
getGeneralQueueLength
in interface MetricsHBaseServerWrapper
public int getReplicationQueueLength()
getReplicationQueueLength
in interface MetricsHBaseServerWrapper
public int getPriorityQueueLength()
getPriorityQueueLength
in interface MetricsHBaseServerWrapper
public int getMetaPriorityQueueLength()
getMetaPriorityQueueLength
in interface MetricsHBaseServerWrapper
public int getNumOpenConnections()
getNumOpenConnections
in interface MetricsHBaseServerWrapper
public int getActiveRpcHandlerCount()
getActiveRpcHandlerCount
in interface MetricsHBaseServerWrapper
public long getNumGeneralCallsDropped()
getNumGeneralCallsDropped
in interface MetricsHBaseServerWrapper
public long getNumLifoModeSwitches()
getNumLifoModeSwitches
in interface MetricsHBaseServerWrapper
public int getWriteQueueLength()
getWriteQueueLength
in interface MetricsHBaseServerWrapper
public int getReadQueueLength()
getReadQueueLength
in interface MetricsHBaseServerWrapper
public int getScanQueueLength()
getScanQueueLength
in interface MetricsHBaseServerWrapper
public int getActiveWriteRpcHandlerCount()
getActiveWriteRpcHandlerCount
in interface MetricsHBaseServerWrapper
public int getActiveReadRpcHandlerCount()
getActiveReadRpcHandlerCount
in interface MetricsHBaseServerWrapper
public int getActiveScanRpcHandlerCount()
getActiveScanRpcHandlerCount
in interface MetricsHBaseServerWrapper
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.