Package org.jclouds.compute.config
Class ComputeServiceTimeoutsModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.jclouds.compute.config.ComputeServiceTimeoutsModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class ComputeServiceTimeoutsModule extends com.google.inject.AbstractModule
-
-
Constructor Summary
Constructors Constructor Description ComputeServiceTimeoutsModule()
-
Method Summary
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
provideNodeRunning
@Provides @Singleton @Named("jclouds.compute.timeout.node-running") protected final com.google.common.base.Predicate<AtomicReference<NodeMetadata>> provideNodeRunning(AtomicNodeRunning statusRunning, ComputeServiceConstants.Timeouts timeouts, ComputeServiceConstants.PollPeriod period)
-
nodeRunning
protected com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning(AtomicNodeRunning statusRunning, ComputeServiceConstants.Timeouts timeouts, ComputeServiceConstants.PollPeriod period)
-
provideServerTerminated
@Provides @Singleton @Named("jclouds.compute.timeout.node-terminated") protected final com.google.common.base.Predicate<AtomicReference<NodeMetadata>> provideServerTerminated(AtomicNodeTerminated statusTerminated, ComputeServiceConstants.Timeouts timeouts, ComputeServiceConstants.PollPeriod period)
-
serverTerminated
protected com.google.common.base.Predicate<AtomicReference<NodeMetadata>> serverTerminated(AtomicNodeTerminated statusTerminated, ComputeServiceConstants.Timeouts timeouts, ComputeServiceConstants.PollPeriod period)
-
provideserverSuspended
@Provides @Singleton @Named("jclouds.compute.timeout.node-suspended") protected final com.google.common.base.Predicate<AtomicReference<NodeMetadata>> provideserverSuspended(AtomicNodeSuspended statusSuspended, ComputeServiceConstants.Timeouts timeouts, ComputeServiceConstants.PollPeriod period)
-
serverSuspended
protected com.google.common.base.Predicate<AtomicReference<NodeMetadata>> serverSuspended(AtomicNodeSuspended statusSuspended, ComputeServiceConstants.Timeouts timeouts, ComputeServiceConstants.PollPeriod period)
-
provideRunScriptRunning
@Provides @Singleton @Named("jclouds.compute.timeout.script-complete") protected final com.google.common.base.Predicate<ScriptStatusReturnsZero.CommandUsingClient> provideRunScriptRunning(ScriptStatusReturnsZero statusRunning, ComputeServiceConstants.Timeouts timeouts)
-
runScriptRunning
protected com.google.common.base.Predicate<ScriptStatusReturnsZero.CommandUsingClient> runScriptRunning(ScriptStatusReturnsZero statusRunning, ComputeServiceConstants.Timeouts timeouts)
-
imageAvailable
@Provides @Singleton @Named("jclouds.compute.timeout.image-available") protected final com.google.common.base.Predicate<AtomicReference<Image>> imageAvailable(AtomicImageAvailable statusAvailable, ComputeServiceConstants.Timeouts timeouts, ComputeServiceConstants.PollPeriod period)
-
serverDeleted
@Provides @Singleton @Named("jclouds.compute.timeout.image-deleted") protected final com.google.common.base.Predicate<AtomicReference<Image>> serverDeleted(AtomicImageDeleted statusDeleted, ComputeServiceConstants.Timeouts timeouts, ComputeServiceConstants.PollPeriod period)
-
configure
protected void configure()
- Overrides:
configure
in classcom.google.inject.AbstractModule
-
-