public interface Monitoring extends Service, MonitoringTypes
Monitoring
interface provides methods Get and list monitoring data for
requested item.MonitoringTypes.FunctionType, MonitoringTypes.IntervalType, MonitoringTypes.MonitoredItem, MonitoringTypes.MonitoredItemData, MonitoringTypes.MonitoredItemDataRequest
List<MonitoringTypes.MonitoredItemData> query(MonitoringTypes.MonitoredItemDataRequest item)
Synchronous method overload. Result of the invocation will be reported as a method return value.
item
- MonitoredItemDataRequest StructureError
- Generic errorList<MonitoringTypes.MonitoredItemData> query(MonitoringTypes.MonitoredItemDataRequest item, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
item
- MonitoredItemDataRequest StructureinvocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid query(MonitoringTypes.MonitoredItemDataRequest item, AsyncCallback<List<MonitoringTypes.MonitoredItemData>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
list of MonitoredItemData structure
Operation Errors:
Error
- Generic error
item
- MonitoredItemDataRequest StructureasyncCallback
- Receives the status (progress, result or error) of the operation invocation.void query(MonitoringTypes.MonitoredItemDataRequest item, AsyncCallback<List<MonitoringTypes.MonitoredItemData>> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
list of MonitoredItemData structure
Operation Errors:
Error
- Generic error
item
- MonitoredItemDataRequest StructureasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.List<MonitoringTypes.MonitoredItem> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorList<MonitoringTypes.MonitoredItem> list(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid list(AsyncCallback<List<MonitoringTypes.MonitoredItem>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
list of names
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<List<MonitoringTypes.MonitoredItem>> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
list of names
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.MonitoringTypes.MonitoredItem get(String statId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
statId
- statistic item id
The parameter must be an identifier for the resource type: com.vmware.appliance.monitoring
.Error
- Generic errorMonitoringTypes.MonitoredItem get(String statId, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
statId
- statistic item id
The parameter must be an identifier for the resource type: com.vmware.appliance.monitoring
.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid get(String statId, AsyncCallback<MonitoringTypes.MonitoredItem> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
MonitoredItem structure
Operation Errors:
Error
- Generic error
statId
- statistic item id
The parameter must be an identifier for the resource type: com.vmware.appliance.monitoring
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(String statId, AsyncCallback<MonitoringTypes.MonitoredItem> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
MonitoredItem structure
Operation Errors:
Error
- Generic error
statId
- statistic item id
The parameter must be an identifier for the resource type: com.vmware.appliance.monitoring
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.Copyright © 2016. All Rights Reserved.