Interface Metrics.ServiceAsync
-
- All Superinterfaces:
Maskable
,ResultLimitable
,ServiceAsync
- Enclosing class:
- Metrics
public static interface Metrics.ServiceAsync extends ServiceAsync
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Future<List<Data>>
getMetricData(GregorianCalendar startDateTime, GregorianCalendar endDateTime, String metricKey, String location)
Future<?>
getMetricData(GregorianCalendar startDateTime, GregorianCalendar endDateTime, String metricKey, String location, ResponseHandler<List<Data>> callback)
Future<List<Data>>
getSummaryData(GregorianCalendar startDateTime, GregorianCalendar endDateTime, List<Type> validTypes, Long summaryPeriod)
Future<?>
getSummaryData(GregorianCalendar startDateTime, GregorianCalendar endDateTime, List<Type> validTypes, Long summaryPeriod, ResponseHandler<List<Data>> callback)
void
setMask(Metrics.Mask mask)
Metrics.Mask
withMask()
Use the existing mask on this service or create it if not presentMetrics.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
withNewMask
Metrics.Mask withNewMask()
Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Metrics.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(Metrics.Mask mask)
-
getMetricData
Future<List<Data>> getMetricData(GregorianCalendar startDateTime, GregorianCalendar endDateTime, String metricKey, String location)
-
getMetricData
Future<?> getMetricData(GregorianCalendar startDateTime, GregorianCalendar endDateTime, String metricKey, String location, ResponseHandler<List<Data>> callback)
-
getSummaryData
Future<List<Data>> getSummaryData(GregorianCalendar startDateTime, GregorianCalendar endDateTime, List<Type> validTypes, Long summaryPeriod)
-
getSummaryData
Future<?> getSummaryData(GregorianCalendar startDateTime, GregorianCalendar endDateTime, List<Type> validTypes, Long summaryPeriod, ResponseHandler<List<Data>> callback)
-
-