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
|
Method Summary |
protected void |
configure()
|
protected com.google.common.base.Predicate<AtomicReference<Image>> |
imageAvailable(AtomicImageAvailable statusAvailable,
ComputeServiceConstants.Timeouts timeouts,
ComputeServiceConstants.PollPeriod period)
|
protected com.google.common.base.Predicate<AtomicReference<NodeMetadata>> |
nodeRunning(AtomicNodeRunning statusRunning,
ComputeServiceConstants.Timeouts timeouts,
ComputeServiceConstants.PollPeriod period)
|
protected com.google.common.base.Predicate<ScriptStatusReturnsZero.CommandUsingClient> |
runScriptRunning(ScriptStatusReturnsZero statusRunning,
ComputeServiceConstants.Timeouts timeouts)
|
protected com.google.common.base.Predicate<AtomicReference<Image>> |
serverDeleted(AtomicImageDeleted statusDeleted,
ComputeServiceConstants.Timeouts timeouts,
ComputeServiceConstants.PollPeriod period)
|
protected com.google.common.base.Predicate<AtomicReference<NodeMetadata>> |
serverSuspended(AtomicNodeSuspended statusSuspended,
ComputeServiceConstants.Timeouts timeouts,
ComputeServiceConstants.PollPeriod period)
|
protected com.google.common.base.Predicate<AtomicReference<NodeMetadata>> |
serverTerminated(AtomicNodeTerminated statusTerminated,
ComputeServiceConstants.Timeouts timeouts,
ComputeServiceConstants.PollPeriod period)
|
| Methods inherited from class com.google.inject.AbstractModule |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComputeServiceTimeoutsModule
public ComputeServiceTimeoutsModule()
nodeRunning
@Provides
@Singleton
@Named(value="jclouds.compute.timeout.node-running")
protected com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning(AtomicNodeRunning statusRunning,
ComputeServiceConstants.Timeouts timeouts,
ComputeServiceConstants.PollPeriod period)
serverTerminated
@Provides
@Singleton
@Named(value="jclouds.compute.timeout.node-terminated")
protected com.google.common.base.Predicate<AtomicReference<NodeMetadata>> serverTerminated(AtomicNodeTerminated statusTerminated,
ComputeServiceConstants.Timeouts timeouts,
ComputeServiceConstants.PollPeriod period)
serverSuspended
@Provides
@Singleton
@Named(value="jclouds.compute.timeout.node-suspended")
protected com.google.common.base.Predicate<AtomicReference<NodeMetadata>> serverSuspended(AtomicNodeSuspended statusSuspended,
ComputeServiceConstants.Timeouts timeouts,
ComputeServiceConstants.PollPeriod period)
runScriptRunning
@Provides
@Singleton
@Named(value="jclouds.compute.timeout.script-complete")
protected com.google.common.base.Predicate<ScriptStatusReturnsZero.CommandUsingClient> runScriptRunning(ScriptStatusReturnsZero statusRunning,
ComputeServiceConstants.Timeouts timeouts)
imageAvailable
@Provides
@Singleton
@Named(value="jclouds.compute.timeout.image-available")
protected com.google.common.base.Predicate<AtomicReference<Image>> imageAvailable(AtomicImageAvailable statusAvailable,
ComputeServiceConstants.Timeouts timeouts,
ComputeServiceConstants.PollPeriod period)
serverDeleted
@Provides
@Singleton
@Named(value="jclouds.compute.timeout.image-deleted")
protected com.google.common.base.Predicate<AtomicReference<Image>> serverDeleted(AtomicImageDeleted statusDeleted,
ComputeServiceConstants.Timeouts timeouts,
ComputeServiceConstants.PollPeriod period)
configure
protected void configure()
- Specified by:
configure in class com.google.inject.AbstractModule
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.