Uses of Interface
org.apache.hadoop.hbase.ServerMetrics
Package
Description
-
Uses of ServerMetrics in org.apache.hadoop.hbase
Modifier and TypeClassDescriptionclass
Deprecated.private static class
Modifier and TypeFieldDescriptionprivate final Map<ServerName,
ServerMetrics> ClusterMetricsBuilder.ClusterMetricsImpl.liveServerMetrics
private Map<ServerName,
ServerMetrics> ClusterMetricsBuilder.liveServerMetrics
Modifier and TypeMethodDescriptionServerMetricsBuilder.build()
static ServerMetrics
ServerMetricsBuilder.of
(ServerName sn) static ServerMetrics
ServerMetricsBuilder.of
(ServerName sn, int versionNumber, String version) static ServerMetrics
ServerMetricsBuilder.toServerMetrics
(ServerName serverName, int versionNumber, String version, org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ServerLoad serverLoadPB) static ServerMetrics
ServerMetricsBuilder.toServerMetrics
(ServerName serverName, org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ServerLoad serverLoadPB) static ServerMetrics
ServerMetricsBuilder.toServerMetrics
(org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.LiveServerInfo serverInfo) Modifier and TypeMethodDescriptionClusterMetrics.getLiveServerMetrics()
Returns the names of region servers on the live listClusterMetricsBuilder.ClusterMetricsImpl.getLiveServerMetrics()
ClusterStatus.getLiveServerMetrics()
Deprecated.Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ServerLoad
ServerMetricsBuilder.toServerLoad
(ServerMetrics metrics) Modifier and TypeMethodDescriptionClusterMetricsBuilder.setLiveServerMetrics
(Map<ServerName, ServerMetrics> value) ModifierConstructorDescription(package private)
ClusterMetricsImpl
(String hbaseVersion, List<ServerName> deadServerNames, List<ServerName> unknownServerNames, Map<ServerName, ServerMetrics> liveServerMetrics, ServerName masterName, List<ServerName> backupMasterNames, List<RegionState> regionsInTransition, String clusterId, List<String> masterCoprocessorNames, Boolean balancerOn, int masterInfoPort, List<ServerName> serversName, Map<TableName, RegionStatesCount> tableRegionStatesCount, List<ServerTask> masterTasks) -
Uses of ServerMetrics in org.apache.hadoop.hbase.hbtop.mode
Modifier and TypeMethodDescriptionprivate Record
RegionModeStrategy.createRecord
(ServerMetrics serverMetrics, RegionMetrics regionMetrics, long lastReportTimestamp) -
Uses of ServerMetrics in org.apache.hadoop.hbase.master
Modifier and TypeFieldDescriptionprivate final ConcurrentNavigableMap<ServerName,
ServerMetrics> ServerManager.onlineServers
Map of registered servers to their current loadModifier and TypeMethodDescriptionServerManager.getLoad
(ServerName serverName) Returns ServerMetrics if serverName is known else nullModifier and TypeMethodDescriptionprivate Map<ServerName,
ServerMetrics> HMaster.getOnlineServers()
ServerManager.getOnlineServers()
Returns Read-only map of servers to serverinfoModifier and TypeMethodDescription(package private) boolean
ServerManager.checkAndRecordNewServer
(ServerName serverName, ServerMetrics sl) Check is a server of same host and port already exists, if not, or the existed one got a smaller start code, record it.(package private) void
ServerManager.recordNewServerWithLock
(ServerName serverName, ServerMetrics sl) Adds the onlineServers list.void
ServerManager.regionServerReport
(ServerName sn, ServerMetrics sl) private void
ServerManager.updateLastFlushedSequenceIds
(ServerName sn, ServerMetrics hsl) Updates last flushed sequence Ids for the regions on server snModifier and TypeMethodDescriptionServerManager.getOnlineServersListWithPredicator
(List<ServerName> keys, Predicate<ServerMetrics> idleServerPredicator) RegionsRecoveryChore.getTableToRegionsByRefCount
(Map<ServerName, ServerMetrics> serverMetricsMap) -
Uses of ServerMetrics in org.apache.hadoop.hbase.master.balancer
Modifier and TypeFieldDescriptionprivate static final Predicate<ServerMetrics>
BaseLoadBalancer.IDLE_SERVER_PREDICATOR
Modifier and TypeMethodDescriptionprivate float
RegionLocationFinder.getOldLocality
(ServerName newServer, byte[] regionName, Map<ServerName, ServerMetrics> oldServers) -
Uses of ServerMetrics in org.apache.hadoop.hbase.master.http.api_v1.cluster_metrics.resource
ServerMetrics
instead.