Interface ClusterMetricsOrBuilder (4.43.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
Name Description
key String
Returns
Type Description
boolean

containsYarnMetrics(String key)

public abstract boolean containsYarnMetrics(String key)

YARN metrics.

map<string, int64> yarn_metrics = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

getHdfsMetrics() (deprecated)

public abstract Map<String,Long> getHdfsMetrics()

Use #getHdfsMetricsMap() instead.

Returns
Type Description
Map<String,java.lang.Long>

getHdfsMetricsCount()

public abstract int getHdfsMetricsCount()

The HDFS metrics.

map<string, int64> hdfs_metrics = 1;

Returns
Type Description
int

getHdfsMetricsMap()

public abstract Map<String,Long> getHdfsMetricsMap()

The HDFS metrics.

map<string, int64> hdfs_metrics = 1;

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

Parameters
Name Description
key String
defaultValue long
Returns
Type Description
long

getHdfsMetricsOrThrow(String key)

public abstract long getHdfsMetricsOrThrow(String key)

The HDFS metrics.

map<string, int64> hdfs_metrics = 1;

Parameter
Name Description
key String
Returns
Type Description
long

getYarnMetrics() (deprecated)

public abstract Map<String,Long> getYarnMetrics()

Use #getYarnMetricsMap() instead.

Returns
Type Description
Map<String,java.lang.Long>

getYarnMetricsCount()

public abstract int getYarnMetricsCount()

YARN metrics.

map<string, int64> yarn_metrics = 2;

Returns
Type Description
int

getYarnMetricsMap()

public abstract Map<String,Long> getYarnMetricsMap()

YARN metrics.

map<string, int64> yarn_metrics = 2;

Returns
Type Description
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
Name Description
key String
defaultValue long
Returns
Type Description
long

getYarnMetricsOrThrow(String key)

public abstract long getYarnMetricsOrThrow(String key)

YARN metrics.

map<string, int64> yarn_metrics = 2;

Parameter
Name Description
key String
Returns
Type Description
long