Interface ClusterMetricsOrBuilder (4.37.0)

public interface ClusterMetricsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsHdfsMetrics(String key)

public abstract boolean containsHdfsMetrics(String key)

The HDFS metrics.

map<string, int64> hdfs_metrics = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsYarnMetrics(String key)

public abstract boolean containsYarnMetrics(String key)

YARN metrics.

map<string, int64> yarn_metrics = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getHdfsMetrics() (deprecated)

public abstract Map<String,Long> getHdfsMetrics()

Use #getHdfsMetricsMap() instead.

Returns
TypeDescription
Map<String,java.lang.Long>

getHdfsMetricsCount()

public abstract int getHdfsMetricsCount()

The HDFS metrics.

map<string, int64> hdfs_metrics = 1;

Returns
TypeDescription
int

getHdfsMetricsMap()

public abstract Map<String,Long> getHdfsMetricsMap()

The HDFS metrics.

map<string, int64> hdfs_metrics = 1;

Returns
TypeDescription
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;

Parameters
NameDescription
keyString
defaultValuelong
Returns
TypeDescription
long

getHdfsMetricsOrThrow(String key)

public abstract long getHdfsMetricsOrThrow(String key)

The HDFS metrics.

map<string, int64> hdfs_metrics = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
long

getYarnMetrics() (deprecated)

public abstract Map<String,Long> getYarnMetrics()

Use #getYarnMetricsMap() instead.

Returns
TypeDescription
Map<String,java.lang.Long>

getYarnMetricsCount()

public abstract int getYarnMetricsCount()

YARN metrics.

map<string, int64> yarn_metrics = 2;

Returns
TypeDescription
int

getYarnMetricsMap()

public abstract Map<String,Long> getYarnMetricsMap()

YARN metrics.

map<string, int64> yarn_metrics = 2;

Returns
TypeDescription
Map<String,java.lang.Long>

getYarnMetricsOrDefault(String key, long defaultValue)

public abstract long getYarnMetricsOrDefault(String key, long defaultValue)

YARN metrics.

map<string, int64> yarn_metrics = 2;

Parameters
NameDescription
keyString
defaultValuelong
Returns
TypeDescription
long

getYarnMetricsOrThrow(String key)

public abstract long getYarnMetricsOrThrow(String key)

YARN metrics.

map<string, int64> yarn_metrics = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
long