@InterfaceAudience.Private public final class ClusterMetrics extends Object
ClusterMetrics
.Modifier and Type | Field and Description |
---|---|
private List<ServerName> |
backupMasterNames |
private String |
clusterId |
private String |
hbaseVersion |
private ServerName |
masterName |
Modifier | Constructor and Description |
---|---|
private |
ClusterMetrics(String hbaseVersion,
String clusterId,
ServerName masterName,
List<ServerName> backupMasterNames) |
Modifier and Type | Method and Description |
---|---|
static ClusterMetrics |
from(ClusterMetrics clusterMetrics) |
List<ServerName> |
getBackupMasterNames() |
String |
getClusterId() |
String |
getHBaseVersion() |
ServerName |
getMasterName() |
private final String hbaseVersion
private final ServerName masterName
private final List<ServerName> backupMasterNames
private ClusterMetrics(String hbaseVersion, String clusterId, ServerName masterName, List<ServerName> backupMasterNames)
public static ClusterMetrics from(ClusterMetrics clusterMetrics)
public String getHBaseVersion()
public String getClusterId()
public ServerName getMasterName()
public List<ServerName> getBackupMasterNames()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.