public static final class MetricReceiver.MockReceiver extends MetricReceiver
MetricReceiver.MockReceiver
Modifier and Type | Field and Description |
---|---|
private com.yahoo.concurrent.ThreadLocalDirectory<Bucket,Sample> |
collection |
nullImplementation
Modifier | Constructor and Description |
---|---|
|
MockReceiver() |
private |
MockReceiver(com.yahoo.concurrent.ThreadLocalDirectory<Bucket,Sample> collection) |
Modifier and Type | Method and Description |
---|---|
Bucket |
getSnapshot()
gathers all data since last snapshot
|
Point |
point(String dim,
String val)
utility method for testing
|
addMetricDefinition, declareCounter, declareCounter, declareGauge, declareGauge, declareGauge, getMetricDefinition, pointBuilder, update
private MockReceiver(com.yahoo.concurrent.ThreadLocalDirectory<Bucket,Sample> collection)
public MockReceiver()
public Bucket getSnapshot()
getSnapshot
in class MetricReceiver
Copyright © 2018. All rights reserved.