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
- Author:
- Adrian Cole
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="NODE_RUNNING")
protected com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning(AtomicNodeRunning stateRunning,
ComputeServiceConstants.Timeouts timeouts)
serverTerminated
@Provides
@Singleton
@Named(value="NODE_TERMINATED")
protected com.google.common.base.Predicate<AtomicReference<NodeMetadata>> serverTerminated(AtomicNodeRunning stateTerminated,
ComputeServiceConstants.Timeouts timeouts)
serverSuspended
@Provides
@Singleton
@Named(value="NODE_SUSPENDED")
protected com.google.common.base.Predicate<AtomicReference<NodeMetadata>> serverSuspended(AtomicNodeRunning stateSuspended,
ComputeServiceConstants.Timeouts timeouts)
nodeRunning
@Provides
@Singleton
@Named(value="NODE_RUNNING")
@Deprecated
protected com.google.common.base.Predicate<NodeMetadata> nodeRunning(NodeRunning stateRunning,
ComputeServiceConstants.Timeouts timeouts)
- Deprecated.
serverTerminated
@Provides
@Singleton
@Named(value="NODE_TERMINATED")
@Deprecated
protected com.google.common.base.Predicate<NodeMetadata> serverTerminated(NodeTerminated stateTerminated,
ComputeServiceConstants.Timeouts timeouts)
- Deprecated.
serverSuspended
@Provides
@Singleton
@Named(value="NODE_SUSPENDED")
@Deprecated
protected com.google.common.base.Predicate<NodeMetadata> serverSuspended(NodeSuspended stateSuspended,
ComputeServiceConstants.Timeouts timeouts)
- Deprecated.
runScriptRunning
@Provides
@Singleton
@Named(value="SCRIPT_COMPLETE")
protected com.google.common.base.Predicate<ScriptStatusReturnsZero.CommandUsingClient> runScriptRunning(ScriptStatusReturnsZero stateRunning,
ComputeServiceConstants.Timeouts timeouts)
configure
protected void configure()
- Specified by:
configure
in class com.google.inject.AbstractModule
Copyright © 2009-2012 jclouds. All Rights Reserved.