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 ClusterStatusProtos.ServerLoad |
serverLoad
Deprecated.
|
Constructor and Description |
---|
ServerLoad(ClusterStatusProtos.ServerLoad serverLoad)
Deprecated.
DONT USE this construction.
|
ServerLoad(ServerMetrics metrics)
Deprecated.
|
ServerLoad(ServerName name,
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
|
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
protected ClusterStatusProtos.ServerLoad serverLoad
@Deprecated public static final ServerLoad EMPTY_SERVERLOAD
ServerMetricsBuilder.of(ServerName)
instead.@InterfaceAudience.Private public ServerLoad(ClusterStatusProtos.ServerLoad serverLoad)
@InterfaceAudience.Private public ServerLoad(ServerName name, ClusterStatusProtos.ServerLoad serverLoad)
@InterfaceAudience.Private public ServerLoad(ServerMetrics metrics)
@InterfaceAudience.Private @Deprecated public 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–2019 Cloudera. All rights reserved.