public class MetricContext extends Object
| Constructor and Description |
|---|
MetricContext(TracingOptions tracingOptions) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(MetricContext metricContext) |
MetricSnapshot |
getSnapshot() |
List<MetricSnapshot> |
getSnapshots() |
boolean |
hasAged() |
boolean |
isEmpty() |
void |
popSnapshot() |
boolean |
pushSnapshot(MetricAddress metricAddress) |
String |
toString() |
public MetricContext(TracingOptions tracingOptions)
public boolean hasAged()
public void append(MetricContext metricContext)
public boolean pushSnapshot(MetricAddress metricAddress)
public void popSnapshot()
public MetricSnapshot getSnapshot()
public boolean isEmpty()
public List<MetricSnapshot> getSnapshots()
Copyright © 2015. All rights reserved.