|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cloudera.api.model.ApiMetric
public class ApiMetric
A metric represents a specific metric monitored by the Cloudera Management Services, and a list of values matching a user query.
These fields are available only in the "full" view:
| Constructor Summary | |
|---|---|
ApiMetric()
|
|
ApiMetric(String name,
String context,
String unit,
List<ApiMetricData> data,
String displayName,
String description)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApiMetric()
public ApiMetric(String name,
String context,
String unit,
List<ApiMetricData> data,
String displayName,
String description)
| Method Detail |
|---|
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||