@InterfaceAudience.Public public interface ServerMetrics
Modifier and Type | Method and Description |
---|---|
Set<String> |
getCoprocessorNames()
Return the RegionServer-level and Region-level coprocessors
|
int |
getInfoServerPort() |
long |
getLastReportTimestamp()
Returns the last timestamp (server side) of generating this metrics
|
Size |
getMaxHeapSize()
Returns the maximum allowable size of the heap
|
Map<byte[],RegionMetrics> |
getRegionMetrics()
Returns region load metrics
|
ReplicationLoadSink |
getReplicationLoadSink()
Call directly from client such as hbase shell n
|
List<ReplicationLoadSource> |
getReplicationLoadSourceList()
Call directly from client such as hbase shell
|
Map<String,List<ReplicationLoadSource>> |
getReplicationLoadSourceMap()
Call directly from client such as hbase shell
|
long |
getReportTimestamp()
Returns the timestamp (server side) of generating this metrics
|
long |
getRequestCount()
Returns total Number of requests from the start of the region server.
|
long |
getRequestCountPerSecond()
Returns the number of requests per second.
|
ServerName |
getServerName() |
List<ServerTask> |
getTasks()
Called directly from clients such as the hbase shell
|
Size |
getUsedHeapSize()
Returns the amount of used heap
|
Map<byte[],UserMetrics> |
getUserMetrics()
Returns metrics per user
|
default String |
getVersion()
Returns the string type version of a regionserver.
|
default int |
getVersionNumber()
Returns the version number of a regionserver.
|
ServerName getServerName()
default int getVersionNumber()
default String getVersion()
long getRequestCountPerSecond()
long getRequestCount()
Size getUsedHeapSize()
Size getMaxHeapSize()
int getInfoServerPort()
List<ReplicationLoadSource> getReplicationLoadSourceList()
Map<String,List<ReplicationLoadSource>> getReplicationLoadSourceMap()
@Nullable ReplicationLoadSink getReplicationLoadSink()
Map<byte[],RegionMetrics> getRegionMetrics()
Map<byte[],UserMetrics> getUserMetrics()
Set<String> getCoprocessorNames()
long getReportTimestamp()
long getLastReportTimestamp()
@Nullable List<ServerTask> getTasks()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.