public class ImmutableMetricContext extends Object implements MetricContext
| Constructor and Description |
|---|
ImmutableMetricContext(String tenant,
String metricId,
Long collectionInterval) |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCollectionInterval() |
static ImmutableMetricContext |
getDefault() |
String |
getMetricId() |
String |
getTenant() |
void |
setCollectionInterval(Long collectionInterval) |
String |
toString() |
public static ImmutableMetricContext getDefault()
public String getTenant()
getTenant in interface MetricContextpublic String getMetricId()
getMetricId in interface MetricContextpublic Long getCollectionInterval()
getCollectionInterval in interface MetricContextpublic void setCollectionInterval(Long collectionInterval)
setCollectionInterval in interface MetricContextcollectionInterval - collection interval in secondsCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.