@Singleton public class BlockUntilJobCompletesAndReturnResult extends Object
Constructor and Description |
---|
BlockUntilJobCompletesAndReturnResult(CloudStackClient client,
com.google.common.base.Predicate<Long> jobComplete) |
@Inject public BlockUntilJobCompletesAndReturnResult(CloudStackClient client, com.google.common.base.Predicate<Long> jobComplete)
public <T> T apply(AsyncCreateResponse job)
job
- ExecutionException
- if the job contained an errorCopyright © 2009-2012 jclouds. All Rights Reserved.