| Package | Description |
|---|---|
| co.cask.cdap.api.metrics |
| Modifier and Type | Method and Description |
|---|---|
List<TimeValue> |
MetricTimeSeries.getTimeValues() |
Iterator<TimeValue> |
TimeSeriesInterpolator.iterator() |
| Modifier and Type | Method and Description |
|---|---|
int |
TimeValue.compareTo(TimeValue o) |
long |
Interpolator.interpolate(TimeValue start,
TimeValue end,
long ts)
Given start and end TimeValues, and a time in-between the two, return a TimeValue for the in-between time.
|
long |
Interpolators.BaseInterpolator.interpolate(TimeValue start,
TimeValue end,
long ts) |
protected abstract long |
Interpolators.BaseInterpolator.limitedInterpolate(TimeValue start,
TimeValue end,
long ts) |
protected long |
Interpolators.Step.limitedInterpolate(TimeValue start,
TimeValue end,
long ts) |
protected long |
Interpolators.Linear.limitedInterpolate(TimeValue start,
TimeValue end,
long ts) |
| Constructor and Description |
|---|
MetricTimeSeries(String metricName,
Map<String,String> tagValues,
List<TimeValue> timeValues) |
TimeSeriesInterpolator(Collection<TimeValue> timeValues,
Interpolator interpolator,
int resolution) |
Copyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.