@Singleton public class RimuHostingLifeCycleStrategy extends Object implements RebootNodeStrategy, SuspendNodeStrategy, ResumeNodeStrategy
Modifier | Constructor and Description |
---|---|
protected |
RimuHostingLifeCycleStrategy(RimuHostingClient client,
GetNodeMetadataStrategy getNode) |
Modifier and Type | Method and Description |
---|---|
NodeMetadata |
rebootNode(String id) |
NodeMetadata |
resumeNode(String id) |
NodeMetadata |
suspendNode(String id) |
@Inject protected RimuHostingLifeCycleStrategy(RimuHostingClient client, GetNodeMetadataStrategy getNode)
public NodeMetadata rebootNode(String id)
rebootNode
in interface RebootNodeStrategy
public NodeMetadata suspendNode(String id)
suspendNode
in interface SuspendNodeStrategy
public NodeMetadata resumeNode(String id)
resumeNode
in interface ResumeNodeStrategy
Copyright © 2009-2012 jclouds. All Rights Reserved.