public class MeterServiceImpl extends BaseTelemetryServices implements MeterService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
MeterServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<? extends Meter> |
list()
Return all known meters, based on the data recorded so far.
|
void |
putSamples(List<MeterSample> sampleList,
String meterName) |
List<? extends MeterSample> |
samples(String meterName)
Returns samples for the specified Meter
|
List<? extends MeterSample> |
samples(String meterName,
SampleCriteria criteria)
Returns samples for the specified Meter
|
List<? extends Statistics> |
statistics(String meterName)
Returns computed statistics for the given meterName
|
List<? extends Statistics> |
statistics(String meterName,
int period)
Returns computed statistics for the given meterName for the given time range
|
List<? extends Statistics> |
statistics(String meterName,
SampleCriteria criteria)
Returns computed statistics for the given meterName
|
List<? extends Statistics> |
statistics(String meterName,
SampleCriteria criteria,
int period)
Returns computed statistics for the given meterName
|
wrapListdelete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic List<? extends Meter> list()
list in interface MeterServicepublic List<? extends MeterSample> samples(String meterName)
samples in interface MeterServicemeterName - the name of the meter to fetch samples frompublic List<? extends MeterSample> samples(String meterName, SampleCriteria criteria)
samples in interface MeterServicemeterName - the name of the meter to fetch samples fromcriteria - the sample query criteria for filtering resultspublic List<? extends Statistics> statistics(String meterName)
statistics in interface MeterServicemeterName - the name of the meter to fetch statistics forpublic List<? extends Statistics> statistics(String meterName, int period)
MeterServicestatistics in interface MeterServicemeterName - the name of the meter to fetch statistics forperiod - the result will be statistics for a period long of that number of secondspublic List<? extends Statistics> statistics(String meterName, SampleCriteria criteria)
MeterServicestatistics in interface MeterServicemeterName - the name of the meter to fetch statistics forcriteria - additional query criteriapublic List<? extends Statistics> statistics(String meterName, SampleCriteria criteria, int period)
MeterServicestatistics in interface MeterServicemeterName - the name of the meter to fetch statistics forcriteria - additional query criteriaperiod - the result will be statistics for a period long of that number of secondspublic void putSamples(List<MeterSample> sampleList, String meterName)
putSamples in interface MeterServiceCopyright © 2017. All rights reserved.