public interface ClusterMetricsOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsHdfsMetrics(java.lang.String key)
The HDFS metrics.
|
boolean |
containsYarnMetrics(java.lang.String key)
The YARN metrics.
|
java.util.Map<java.lang.String,java.lang.Long> |
getHdfsMetrics()
Deprecated.
|
int |
getHdfsMetricsCount()
The HDFS metrics.
|
java.util.Map<java.lang.String,java.lang.Long> |
getHdfsMetricsMap()
The HDFS metrics.
|
long |
getHdfsMetricsOrDefault(java.lang.String key,
long defaultValue)
The HDFS metrics.
|
long |
getHdfsMetricsOrThrow(java.lang.String key)
The HDFS metrics.
|
java.util.Map<java.lang.String,java.lang.Long> |
getYarnMetrics()
Deprecated.
|
int |
getYarnMetricsCount()
The YARN metrics.
|
java.util.Map<java.lang.String,java.lang.Long> |
getYarnMetricsMap()
The YARN metrics.
|
long |
getYarnMetricsOrDefault(java.lang.String key,
long defaultValue)
The YARN metrics.
|
long |
getYarnMetricsOrThrow(java.lang.String key)
The YARN metrics.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
int getHdfsMetricsCount()
The HDFS metrics.
map<string, int64> hdfs_metrics = 1;
boolean containsHdfsMetrics(java.lang.String key)
The HDFS metrics.
map<string, int64> hdfs_metrics = 1;
@Deprecated java.util.Map<java.lang.String,java.lang.Long> getHdfsMetrics()
getHdfsMetricsMap()
instead.java.util.Map<java.lang.String,java.lang.Long> getHdfsMetricsMap()
The HDFS metrics.
map<string, int64> hdfs_metrics = 1;
long getHdfsMetricsOrDefault(java.lang.String key, long defaultValue)
The HDFS metrics.
map<string, int64> hdfs_metrics = 1;
long getHdfsMetricsOrThrow(java.lang.String key)
The HDFS metrics.
map<string, int64> hdfs_metrics = 1;
int getYarnMetricsCount()
The YARN metrics.
map<string, int64> yarn_metrics = 2;
boolean containsYarnMetrics(java.lang.String key)
The YARN metrics.
map<string, int64> yarn_metrics = 2;
@Deprecated java.util.Map<java.lang.String,java.lang.Long> getYarnMetrics()
getYarnMetricsMap()
instead.java.util.Map<java.lang.String,java.lang.Long> getYarnMetricsMap()
The YARN metrics.
map<string, int64> yarn_metrics = 2;
long getYarnMetricsOrDefault(java.lang.String key, long defaultValue)
The YARN metrics.
map<string, int64> yarn_metrics = 2;
long getYarnMetricsOrThrow(java.lang.String key)
The YARN metrics.
map<string, int64> yarn_metrics = 2;