public class ApiMetric extends Object
These fields are available only in the "full" view:
Constructor and Description |
---|
ApiMetric() |
ApiMetric(String name,
String context,
String unit,
List<ApiMetricData> data,
String displayName,
String description) |
Modifier and Type | Method and Description |
---|---|
String |
getContext()
Context the metric is associated with.
|
List<ApiMetricData> |
getData()
List of readings retrieved from the monitors.
|
String |
getDescription()
Requires "full" view.
|
String |
getDisplayName()
Requires "full" view.
|
String |
getName()
Name of the metric.
|
String |
getUnit()
Unit of the metric values.
|
void |
setContext(String context) |
void |
setData(List<ApiMetricData> data) |
void |
setDescription(String description) |
void |
setDisplayName(String displayName) |
void |
setName(String name) |
void |
setUnit(String unit) |
public String getName()
public void setName(String name)
public String getContext()
public void setContext(String context)
public String getUnit()
public void setUnit(String unit)
public List<ApiMetricData> getData()
public void setData(List<ApiMetricData> data)
public String getDisplayName()
public void setDisplayName(String displayName)
public String getDescription()
public void setDescription(String description)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.