ServerMetrics
instead.@InterfaceAudience.Public @Deprecated public class ServerLoad extends Object implements ServerMetrics
Modifier and Type | Field and Description |
---|---|
private long |
currentCompactedKVs
Deprecated.
|
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. |
private long |
filteredReadRequestsCount
Deprecated.
|
private int |
memstoreSizeMB
Deprecated.
|
private ServerMetrics |
metrics
Deprecated.
|
private long |
readRequestsCount
Deprecated.
|
private int |
rootIndexSizeKB
Deprecated.
|
protected org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ServerLoad |
serverLoad
Deprecated.
|
private long |
storefileIndexSizeKB
Deprecated.
|
private int |
storefiles
Deprecated.
|
private int |
storefileSizeMB
Deprecated.
|
private int |
stores
Deprecated.
|
private int |
storeUncompressedSizeMB
Deprecated.
|
private long |
totalCompactingKVs
Deprecated.
|
private int |
totalStaticBloomSizeKB
Deprecated.
|
private int |
totalStaticIndexSizeKB
Deprecated.
|
private long |
writeRequestsCount
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.
|
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.
|
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.
|
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
|
List<ReplicationLoadSource> |
getReplicationLoadSourceList()
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.
|
long |
getRequestCount()
Deprecated.
|
long |
getRequestCountPerSecond()
Deprecated.
|
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. |
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.
|
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
|
org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ServerLoad |
obtainServerLoadPB()
Deprecated.
DONT use this pb object since the byte array backed may be modified in rpc layer
|
String |
toString()
Deprecated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getVersion, getVersionNumber
private final ServerMetrics metrics
private int stores
private int storefiles
private int storeUncompressedSizeMB
private int storefileSizeMB
private int memstoreSizeMB
private long storefileIndexSizeKB
private long readRequestsCount
private long filteredReadRequestsCount
private long writeRequestsCount
private int rootIndexSizeKB
private int totalStaticIndexSizeKB
private int totalStaticBloomSizeKB
private long totalCompactingKVs
private long currentCompactedKVs
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)
@InterfaceAudience.Private @Deprecated public org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ServerLoad obtainServerLoadPB()
@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()
getRequestCountPerSecond
in interface ServerMetrics
public long getRequestCount()
getRequestCount
in interface ServerMetrics
public Size getUsedHeapSize()
getUsedHeapSize
in interface ServerMetrics
public Size getMaxHeapSize()
getMaxHeapSize
in interface ServerMetrics
public int getInfoServerPort()
getInfoServerPort
in interface ServerMetrics
public List<ReplicationLoadSource> getReplicationLoadSourceList()
getReplicationLoadSourceList
in interface ServerMetrics
public ReplicationLoadSink getReplicationLoadSink()
getReplicationLoadSink
in interface ServerMetrics
public Map<byte[],RegionMetrics> getRegionMetrics()
getRegionMetrics
in interface ServerMetrics
public Set<String> getCoprocessorNames()
ServerMetrics
getCoprocessorNames
in interface ServerMetrics
public long getReportTimestamp()
getReportTimestamp
in interface ServerMetrics
public long getLastReportTimestamp()
getLastReportTimestamp
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.