org.jclouds.compute.config
Class ComputeServiceTimeoutsModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.compute.config.ComputeServiceTimeoutsModule
All Implemented Interfaces:
com.google.inject.Module

public class ComputeServiceTimeoutsModule
extends com.google.inject.AbstractModule

Author:
Adrian Cole

Constructor Summary
ComputeServiceTimeoutsModule()
           
 
Method Summary
protected  void configure()
           
protected  com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning(AtomicNodeRunning stateRunning, ComputeServiceConstants.Timeouts timeouts)
           
protected  com.google.common.base.Predicate<NodeMetadata> nodeRunning(NodeRunning stateRunning, ComputeServiceConstants.Timeouts timeouts)
          Deprecated. 
protected  com.google.common.base.Predicate<ScriptStatusReturnsZero.CommandUsingClient> runScriptRunning(ScriptStatusReturnsZero stateRunning, ComputeServiceConstants.Timeouts timeouts)
           
protected  com.google.common.base.Predicate<AtomicReference<NodeMetadata>> serverSuspended(AtomicNodeRunning stateSuspended, ComputeServiceConstants.Timeouts timeouts)
           
protected  com.google.common.base.Predicate<NodeMetadata> serverSuspended(NodeSuspended stateSuspended, ComputeServiceConstants.Timeouts timeouts)
          Deprecated. 
protected  com.google.common.base.Predicate<AtomicReference<NodeMetadata>> serverTerminated(AtomicNodeRunning stateTerminated, ComputeServiceConstants.Timeouts timeouts)
           
protected  com.google.common.base.Predicate<NodeMetadata> serverTerminated(NodeTerminated stateTerminated, ComputeServiceConstants.Timeouts timeouts)
          Deprecated. 
 
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
 

Constructor Detail

ComputeServiceTimeoutsModule

public ComputeServiceTimeoutsModule()
Method Detail

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.