public final class Utils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Utils.Granularity
Standard supported aggregation Granularities.
|
static class |
Utils.HistogramKey
Uniquely identifies a time-series - time-interval pair.
|
static class |
Utils.HistogramKeyMarshaller
(For now, a rather trivial) encoding of
Utils.HistogramKey the form short length and bytes
Consider using chronicle-values or making this stateful with a local byte[] / Stringbuffers to be a little more
efficient about encodings. |
Modifier and Type | Method and Description |
---|---|
static Utils.HistogramKey |
makeKey(ReportPoint point,
Utils.Granularity granularity)
|
static ReportPoint |
pointFromKeyAndDigest(Utils.HistogramKey histogramKey,
AgentDigest agentDigest)
|
public static Utils.HistogramKey makeKey(ReportPoint point, Utils.Granularity granularity)
public static ReportPoint pointFromKeyAndDigest(Utils.HistogramKey histogramKey, AgentDigest agentDigest)
histogramKey
- the key, defining metric, source, annotations, duration and start-timeagentDigest
- the digest defining the centroidsCopyright © 2017. All rights reserved.