public interface MonitoringService
Modifier and Type | Method and Description |
---|---|
<T> void |
awaitCompletion(com.google.common.base.Function<T,MonitorStatus> completeCondition,
T... objects)
Monitor the given objects using the given complete condition.
|
<T> void |
awaitCompletion(Long maxWait,
TimeUnit timeUnit,
com.google.common.base.Function<T,MonitorStatus> completeCondition,
T... objects)
Monitor the given objects using the given complete condition.
|
AsyncTaskMonitor |
getAsyncTaskMonitor()
Gets the asynchronous task monitor service.
|
ConversionMonitor |
getConversionMonitor()
Gets the conversion monitor service.
|
VirtualApplianceMonitor |
getVirtualApplianceMonitor()
Gets the virtual appliance monitor service.
|
VirtualMachineMonitor |
getVirtualMachineMonitor()
Gets the virtual machine monitor service.
|
<T> void |
monitor(com.google.common.base.Function<T,MonitorStatus> completeCondition,
T... objects)
Monitor the given objects using the given complete condition.
|
<T> void |
monitor(Long maxWait,
TimeUnit timeUnit,
com.google.common.base.Function<T,MonitorStatus> completeCondition,
T... objects)
Monitor the given objects using the given complete condition.
|
<T extends AbstractEventHandler<?>> |
register(T handler)
Registers the given event handler.
|
<T extends AbstractEventHandler<?>> |
unregister(T handler)
Unregisters the given event handler.
|
<T> void awaitCompletion(com.google.common.base.Function<T,MonitorStatus> completeCondition, T... objects)
completeCondition
- The function that will be used to decide if the asynchronous
operations have finished.objects
- The objects to monitor.<T> void awaitCompletion(Long maxWait, TimeUnit timeUnit, com.google.common.base.Function<T,MonitorStatus> completeCondition, T... objects)
maxWait
- The maximum time to wait.timeUnit
- The time unit for the maxWait parameter.completeCondition
- The function that will be used to decide if the asynchronous
operations have finished.objects
- The objects to monitor.<T> void monitor(com.google.common.base.Function<T,MonitorStatus> completeCondition, T... objects)
completeCondition
- The function that will be used to decide if the asynchronous
operations have finished.objects
- The objects to monitor.<T> void monitor(Long maxWait, TimeUnit timeUnit, com.google.common.base.Function<T,MonitorStatus> completeCondition, T... objects)
maxWait
- The maximum time to wait.timeUnit
- The time unit for the maxWait parameter.completeCondition
- The function that will be used to decide if the asynchronous
operations have finished.objects
- The objects to monitor.<T extends AbstractEventHandler<?>> void register(T handler)
T
- The type of event handler to register.handler
- The event handler to register.<T extends AbstractEventHandler<?>> void unregister(T handler)
T
- The type of event handler to unregister.handler
- The event handler to unregister.VirtualMachineMonitor getVirtualMachineMonitor()
VirtualApplianceMonitor getVirtualApplianceMonitor()
AsyncTaskMonitor getAsyncTaskMonitor()
ConversionMonitor getConversionMonitor()
Copyright © 2009-2013 jclouds. All Rights Reserved.