public interface ClusterMetricsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsHdfsMetrics(String key)
public abstract boolean containsHdfsMetrics(String key)
The HDFS metrics.
map<string, int64> hdfs_metrics = 1;
Name | Description |
key | String |
Type | Description |
boolean |
containsYarnMetrics(String key)
public abstract boolean containsYarnMetrics(String key)
The YARN metrics.
map<string, int64> yarn_metrics = 2;
Name | Description |
key | String |
Type | Description |
boolean |
getHdfsMetrics()
public abstract Map<String,Long> getHdfsMetrics()
Use #getHdfsMetricsMap() instead.
Type | Description |
Map<String,java.lang.Long> |
getHdfsMetricsCount()
public abstract int getHdfsMetricsCount()
The HDFS metrics.
map<string, int64> hdfs_metrics = 1;
Type | Description |
int |
getHdfsMetricsMap()
public abstract Map<String,Long> getHdfsMetricsMap()
The HDFS metrics.
map<string, int64> hdfs_metrics = 1;
Type | Description |
Map<String,java.lang.Long> |
getHdfsMetricsOrDefault(String key, long defaultValue)
public abstract long getHdfsMetricsOrDefault(String key, long defaultValue)
The HDFS metrics.
map<string, int64> hdfs_metrics = 1;
Name | Description |
key | String |
defaultValue | long |
Type | Description |
long |
getHdfsMetricsOrThrow(String key)
public abstract long getHdfsMetricsOrThrow(String key)
The HDFS metrics.
map<string, int64> hdfs_metrics = 1;
Name | Description |
key | String |
Type | Description |
long |
getYarnMetrics()
public abstract Map<String,Long> getYarnMetrics()
Use #getYarnMetricsMap() instead.
Type | Description |
Map<String,java.lang.Long> |
getYarnMetricsCount()
public abstract int getYarnMetricsCount()
The YARN metrics.
map<string, int64> yarn_metrics = 2;
Type | Description |
int |
getYarnMetricsMap()
public abstract Map<String,Long> getYarnMetricsMap()
The YARN metrics.
map<string, int64> yarn_metrics = 2;
Type | Description |
Map<String,java.lang.Long> |
getYarnMetricsOrDefault(String key, long defaultValue)
public abstract long getYarnMetricsOrDefault(String key, long defaultValue)
The YARN metrics.
map<string, int64> yarn_metrics = 2;
Name | Description |
key | String |
defaultValue | long |
Type | Description |
long |
getYarnMetricsOrThrow(String key)
public abstract long getYarnMetricsOrThrow(String key)
The YARN metrics.
map<string, int64> yarn_metrics = 2;
Name | Description |
key | String |
Type | Description |
long |