@Singleton public class BlockUntilJobCompletesAndReturnResult extends Object
Constructor and Description |
---|
BlockUntilJobCompletesAndReturnResult(CloudStackClient client,
com.google.common.base.Predicate<String> jobComplete) |
@Named(value="jclouds.compute") protected Logger logger
@Inject public BlockUntilJobCompletesAndReturnResult(CloudStackClient client, com.google.common.base.Predicate<String> jobComplete)
public <T> T apply(AsyncCreateResponse job)
job
- ExecutionException
- if the job contained an errorCopyright © 2009-2013 jclouds. All Rights Reserved.