org.jclouds.gogrid.compute.strategy
Class GoGridLifeCycleStrategy

java.lang.Object
  extended by org.jclouds.gogrid.compute.strategy.GoGridLifeCycleStrategy
All Implemented Interfaces:
RebootNodeStrategy, ResumeNodeStrategy, SuspendNodeStrategy

@Singleton
public class GoGridLifeCycleStrategy
extends Object
implements RebootNodeStrategy, ResumeNodeStrategy, SuspendNodeStrategy

Author:
Adrian Cole

Constructor Summary
protected GoGridLifeCycleStrategy(GoGridClient client, GetNodeMetadataStrategy getNode, ComputeServiceConstants.Timeouts timeouts)
           
 
Method Summary
 NodeMetadata rebootNode(String id)
           
 NodeMetadata resumeNode(String id)
           
 NodeMetadata suspendNode(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoGridLifeCycleStrategy

@Inject
protected GoGridLifeCycleStrategy(GoGridClient client,
                                         GetNodeMetadataStrategy getNode,
                                         ComputeServiceConstants.Timeouts timeouts)
Method Detail

rebootNode

public NodeMetadata rebootNode(String id)
Specified by:
rebootNode in interface RebootNodeStrategy

resumeNode

public NodeMetadata resumeNode(String id)
Specified by:
resumeNode in interface ResumeNodeStrategy

suspendNode

public NodeMetadata suspendNode(String id)
Specified by:
suspendNode in interface SuspendNodeStrategy


Copyright © 2009-2011 jclouds. All Rights Reserved.