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