Interface Metrics.Service
-
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Metrics
@ApiService("SoftLayer_Network_Storage_Hub_Swift_Metrics") public static interface Metrics.Service extends Service
This service provides summarization functionality for Swift based accounts. It uses influxDB as a backend
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Metrics.ServiceAsync
asAsync()
Get an async version of this serviceList<Data>
getMetricData(GregorianCalendar startDateTime, GregorianCalendar endDateTime, String metricKey, String location)
List<Data>
getSummaryData(GregorianCalendar startDateTime, GregorianCalendar endDateTime, List<Type> validTypes, Long summaryPeriod)
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
-
asAsync
Metrics.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service
-
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
@ApiMethod(instanceRequired=true) List<Data> getMetricData(GregorianCalendar startDateTime, GregorianCalendar endDateTime, String metricKey, String location)
-
getSummaryData
@ApiMethod(instanceRequired=true) List<Data> getSummaryData(GregorianCalendar startDateTime, GregorianCalendar endDateTime, List<Type> validTypes, Long summaryPeriod)
-
-