ServerMetrics
instead.@InterfaceAudience.Public @Deprecated public class ServerLoad extends Object implements ServerMetrics
Modifier and Type | Field and Description |
---|---|
static ServerLoad |
EMPTY_SERVERLOAD
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
ServerMetricsBuilder.of(ServerName) instead. |
protected org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ServerLoad |
serverLoad
Deprecated.
|
Constructor and Description |
---|
ServerLoad(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ServerLoad serverLoad)
Deprecated.
DONT USE this construction.
|
ServerLoad(ServerMetrics metrics)
Deprecated.
|
ServerLoad(ServerName name,
org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ServerLoad serverLoad)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Deprecated.
|
Set<String> |
getCoprocessorNames()
Deprecated.
Return the RegionServer-level and Region-level coprocessors
|
long |
getCurrentCompactedKVs()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRegionMetrics() instead. |
long |
getFilteredReadRequestsCount()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRegionMetrics() instead. |
int |
getInfoServerPort()
Deprecated.
|
long |
getLastReportTimestamp()
Deprecated.
Returns the last timestamp (server side) of generating this metrics
|
int |
getLoad()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getNumberOfRegions() instead. |
int |
getMaxHeapMB()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getMaxHeapSize() instead. |
Size |
getMaxHeapSize()
Deprecated.
Returns the maximum allowable size of the heap
|
int |
getMemstoreSizeInMB()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRegionMetrics() instead. |
int |
getMemStoreSizeMB()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRegionMetrics() instead. |
int |
getNumberOfRegions()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRegionMetrics() instead. |
long |
getNumberOfRequests()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0. Use
getRequestCountPerSecond() instead. |
long |
getReadRequestsCount()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRegionMetrics() instead. |
Map<byte[],RegionMetrics> |
getRegionMetrics()
Deprecated.
Returns region load metrics
|
String[] |
getRegionServerCoprocessors()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getCoprocessorNames() instead. |
Map<byte[],RegionLoad> |
getRegionsLoad()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRegionMetrics() instead. |
ReplicationLoadSink |
getReplicationLoadSink()
Deprecated.
Call directly from client such as hbase shell n
|
List<ReplicationLoadSource> |
getReplicationLoadSourceList()
Deprecated.
Call directly from client such as hbase shell
|
Map<String,List<ReplicationLoadSource>> |
getReplicationLoadSourceMap()
Deprecated.
Call directly from client such as hbase shell
|
long |
getReportTime()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getReportTimestamp() instead. |
long |
getReportTimestamp()
Deprecated.
Returns the timestamp (server side) of generating this metrics
|
long |
getRequestCount()
Deprecated.
Returns total Number of requests from the start of the region server.
|
long |
getRequestCountPerSecond()
Deprecated.
Returns the number of requests per second.
|
double |
getRequestsPerSecond()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRequestCountPerSecond() instead. |
int |
getRootIndexSizeKB()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRegionMetrics() instead. |
String[] |
getRsCoprocessors()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getCoprocessorNames() instead. |
ServerName |
getServerName()
Deprecated.
|
int |
getStorefileIndexSizeInMB()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRegionMetrics() instead. |
long |
getStorefileIndexSizeKB()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRegionMetrics() instead. |
int |
getStorefiles()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0. Use
getRegionMetrics() instead. |
int |
getStorefileSizeInMB()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRegionMetrics() instead. |
int |
getStorefileSizeMB()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRegionMetrics() instead. |
int |
getStores()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRegionMetrics() instead. |
int |
getStoreUncompressedSizeMB()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRegionMetrics() instead. |
List<ServerTask> |
getTasks()
Deprecated.
Called directly from clients such as the hbase shell
|
long |
getTotalCompactingKVs()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRegionMetrics() instead. |
long |
getTotalNumberOfRequests()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0. Use
getRequestCount() instead. |
int |
getTotalStaticBloomSizeKB()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRegionMetrics() instead. |
int |
getTotalStaticIndexSizeKB()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRegionMetrics() instead. |
int |
getUsedHeapMB()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0. Use
getUsedHeapSize() instead. |
Size |
getUsedHeapSize()
Deprecated.
Returns the amount of used heap
|
Map<byte[],UserMetrics> |
getUserMetrics()
Deprecated.
Returns metrics per user
|
long |
getWriteRequestsCount()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 Use
getRegionMetrics() instead. |
int |
hashCode()
Deprecated.
|
boolean |
hasMaxHeapMB()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 No flag in 2.0
|
boolean |
hasNumberOfRequests()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 No flag in 2.0
|
boolean |
hasTotalNumberOfRequests()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 No flag in 2.0
|
boolean |
hasUsedHeapMB()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0 No flag in 2.0
|
String |
toString()
Deprecated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getVersion, getVersionNumber
protected org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ServerLoad serverLoad
@Deprecated public static final ServerLoad EMPTY_SERVERLOAD
ServerMetricsBuilder.of(ServerName)
instead.@InterfaceAudience.Private public ServerLoad(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ServerLoad serverLoad)
@InterfaceAudience.Private public ServerLoad(ServerName name, org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ServerLoad serverLoad)
@InterfaceAudience.Private public ServerLoad(ServerMetrics metrics)
@Deprecated public long getNumberOfRequests()
getRequestCountPerSecond()
instead.@Deprecated public boolean hasNumberOfRequests()
@Deprecated public long getTotalNumberOfRequests()
getRequestCount()
instead.@Deprecated public boolean hasTotalNumberOfRequests()
@Deprecated public int getUsedHeapMB()
getUsedHeapSize()
instead.@Deprecated public boolean hasUsedHeapMB()
@Deprecated public int getMaxHeapMB()
getMaxHeapSize()
instead.@Deprecated public boolean hasMaxHeapMB()
@Deprecated public int getStores()
getRegionMetrics()
instead.@Deprecated public int getStorefiles()
getRegionMetrics()
instead.@Deprecated public int getStoreUncompressedSizeMB()
getRegionMetrics()
instead.@Deprecated public int getStorefileSizeInMB()
getRegionMetrics()
instead.@Deprecated public int getStorefileSizeMB()
getRegionMetrics()
instead.@Deprecated public int getMemstoreSizeInMB()
getRegionMetrics()
instead.@Deprecated public int getMemStoreSizeMB()
getRegionMetrics()
instead.@Deprecated public int getStorefileIndexSizeInMB()
getRegionMetrics()
instead.@Deprecated public long getStorefileIndexSizeKB()
getRegionMetrics()
instead.@Deprecated public long getReadRequestsCount()
getRegionMetrics()
instead.@Deprecated public long getFilteredReadRequestsCount()
getRegionMetrics()
instead.@Deprecated public long getWriteRequestsCount()
getRegionMetrics()
instead.@Deprecated public int getRootIndexSizeKB()
getRegionMetrics()
instead.@Deprecated public int getTotalStaticIndexSizeKB()
getRegionMetrics()
instead.@Deprecated public int getTotalStaticBloomSizeKB()
getRegionMetrics()
instead.@Deprecated public long getTotalCompactingKVs()
getRegionMetrics()
instead.@Deprecated public long getCurrentCompactedKVs()
getRegionMetrics()
instead.@Deprecated public int getNumberOfRegions()
getRegionMetrics()
instead.public ServerName getServerName()
getServerName
in interface ServerMetrics
public long getRequestCountPerSecond()
ServerMetrics
getRequestCountPerSecond
in interface ServerMetrics
public long getRequestCount()
ServerMetrics
getRequestCount
in interface ServerMetrics
public Size getUsedHeapSize()
ServerMetrics
getUsedHeapSize
in interface ServerMetrics
public Size getMaxHeapSize()
ServerMetrics
getMaxHeapSize
in interface ServerMetrics
public int getInfoServerPort()
getInfoServerPort
in interface ServerMetrics
public List<ReplicationLoadSource> getReplicationLoadSourceList()
getReplicationLoadSourceList
in interface ServerMetrics
public Map<String,List<ReplicationLoadSource>> getReplicationLoadSourceMap()
getReplicationLoadSourceMap
in interface ServerMetrics
public ReplicationLoadSink getReplicationLoadSink()
getReplicationLoadSink
in interface ServerMetrics
public Map<byte[],RegionMetrics> getRegionMetrics()
ServerMetrics
getRegionMetrics
in interface ServerMetrics
public Map<byte[],UserMetrics> getUserMetrics()
ServerMetrics
getUserMetrics
in interface ServerMetrics
public Set<String> getCoprocessorNames()
ServerMetrics
getCoprocessorNames
in interface ServerMetrics
public long getReportTimestamp()
ServerMetrics
getReportTimestamp
in interface ServerMetrics
public long getLastReportTimestamp()
ServerMetrics
getLastReportTimestamp
in interface ServerMetrics
public List<ServerTask> getTasks()
ServerMetrics
getTasks
in interface ServerMetrics
@Deprecated public int getLoad()
getNumberOfRegions()
instead.@Deprecated public Map<byte[],RegionLoad> getRegionsLoad()
getRegionMetrics()
instead.@Deprecated public String[] getRegionServerCoprocessors()
getCoprocessorNames()
instead.@Deprecated public String[] getRsCoprocessors()
getCoprocessorNames()
instead.@Deprecated public double getRequestsPerSecond()
getRequestCountPerSecond()
instead.public String toString()
toString
in class Object
Object.toString()
@Deprecated public long getReportTime()
getReportTimestamp()
instead.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.