This project has retired. For details please refer to its
Attic page .
BlockUntilInitScriptStatusIsZeroThenReturnOutput (Apache jclouds 2.0.0 API)
JavaScript is disabled on your browser.
java.lang.Object
com.google.common.util.concurrent.AbstractFuture<ExecResponse >
org.jclouds.compute.callables.BlockUntilInitScriptStatusIsZeroThenReturnOutput
All Implemented Interfaces:
com.google.common.util.concurrent.ListenableFuture<ExecResponse >, Runnable , Future <ExecResponse >
public class BlockUntilInitScriptStatusIsZeroThenReturnOutput
extends com.google.common.util.concurrent.AbstractFuture<ExecResponse >
implements Runnable
A future that works in tandem with a task that was invoked by InitScript
Field Summary
Fields
Modifier and Type
Field and Description
protected Logger
logger
Method Summary
Methods inherited from class com.google.common.util.concurrent.AbstractFuture
addListener, cancel, get, isCancelled, isDone, setException, wasInterrupted
Field Detail
logger
protected Logger logger
Constructor Detail
BlockUntilInitScriptStatusIsZeroThenReturnOutput
@Inject
public BlockUntilInitScriptStatusIsZeroThenReturnOutput(com.google.common.util.concurrent.ListeningExecutorService userExecutor,
com.google.common.eventbus.EventBus eventBus,
ComputeServiceConstants.InitStatusProperties properties,
SudoAwareInitManager commandRunner)
BlockUntilInitScriptStatusIsZeroThenReturnOutput
public BlockUntilInitScriptStatusIsZeroThenReturnOutput(com.google.common.util.concurrent.ListeningExecutorService userExecutor,
com.google.common.eventbus.EventBus eventBus,
com.google.common.base.Predicate<String > notRunningAnymore,
SudoAwareInitManager commandRunner)
Method Detail
run
public void run()
Specified by:
run
in interface Runnable
Copyright © 2009-2016 The Apache Software Foundation . All Rights Reserved.