public interface AsyncTaskMonitor extends MonitoringService
VirtualMachine
monitoring features.Modifier and Type | Method and Description |
---|---|
void |
awaitCompletion(AsyncTask... tasks)
Monitor the given
AsyncTask s and block until they finishe. |
void |
awaitCompletion(Long maxWait,
TimeUnit timeUnit,
AsyncTask... tasks)
Monitor the given
AsyncTask s and block until they finish. |
void |
monitor(AsyncTask... tasks)
Monitor the given
AsyncTask s and populate an event when they finish. |
void |
monitor(Long maxWait,
TimeUnit timeUnit,
AsyncTask... tasks)
Monitor the given
AsyncTask s and populate an event when they finish. |
awaitCompletion, awaitCompletion, getAsyncTaskMonitor, getConversionMonitor, getVirtualApplianceMonitor, getVirtualMachineMonitor, monitor, monitor, register, unregister
void awaitCompletion(AsyncTask... tasks)
AsyncTask
s and block until they finishe.tasks
- The AsyncTask
s to monitor.void monitor(AsyncTask... tasks)
AsyncTask
s and populate an event when they finish.tasks
- The AsyncTask
s to monitor.void awaitCompletion(Long maxWait, TimeUnit timeUnit, AsyncTask... tasks)
AsyncTask
s and block until they finish.maxWait
- The maximum time to wait.timeUnit
- The time unit for the maxWait parameter.tasks
- The AsyncTask
s to monitor.Copyright © 2009-2013 jclouds. All Rights Reserved.