org.jclouds.byon.internal
Class BYONComputeServiceAdapter
java.lang.Object
org.jclouds.byon.internal.BYONComputeServiceAdapter
- All Implemented Interfaces:
- org.jclouds.compute.ComputeServiceAdapter<org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.domain.Hardware,org.jclouds.compute.domain.Image,org.jclouds.domain.Location>, org.jclouds.compute.JCloudsNativeComputeServiceAdapter
@Singleton
public class BYONComputeServiceAdapter
- extends Object
- implements org.jclouds.compute.JCloudsNativeComputeServiceAdapter
- Author:
- Adrian Cole
| Nested classes/interfaces inherited from interface org.jclouds.compute.JCloudsNativeComputeServiceAdapter |
org.jclouds.compute.JCloudsNativeComputeServiceAdapter.NodeWithInitialCredentials |
| Nested classes/interfaces inherited from interface org.jclouds.compute.ComputeServiceAdapter |
org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<N> |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BYONComputeServiceAdapter
@Inject
public BYONComputeServiceAdapter(com.google.common.base.Supplier<com.google.common.cache.LoadingCache<String,Node>> nodes,
NodeToNodeMetadata converter,
org.jclouds.location.suppliers.all.JustProvider locationSupplier)
createNodeWithGroupEncodedIntoName
public org.jclouds.compute.JCloudsNativeComputeServiceAdapter.NodeWithInitialCredentials createNodeWithGroupEncodedIntoName(String group,
String name,
org.jclouds.compute.domain.Template template)
- Specified by:
createNodeWithGroupEncodedIntoName in interface org.jclouds.compute.ComputeServiceAdapter<org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.domain.Hardware,org.jclouds.compute.domain.Image,org.jclouds.domain.Location>- Specified by:
createNodeWithGroupEncodedIntoName in interface org.jclouds.compute.JCloudsNativeComputeServiceAdapter
listHardwareProfiles
public Iterable<org.jclouds.compute.domain.Hardware> listHardwareProfiles()
- Specified by:
listHardwareProfiles in interface org.jclouds.compute.ComputeServiceAdapter<org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.domain.Hardware,org.jclouds.compute.domain.Image,org.jclouds.domain.Location>- Specified by:
listHardwareProfiles in interface org.jclouds.compute.JCloudsNativeComputeServiceAdapter
listImages
public Iterable<org.jclouds.compute.domain.Image> listImages()
- Specified by:
listImages in interface org.jclouds.compute.ComputeServiceAdapter<org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.domain.Hardware,org.jclouds.compute.domain.Image,org.jclouds.domain.Location>- Specified by:
listImages in interface org.jclouds.compute.JCloudsNativeComputeServiceAdapter
listNodes
public Iterable<org.jclouds.compute.domain.NodeMetadata> listNodes()
- Specified by:
listNodes in interface org.jclouds.compute.ComputeServiceAdapter<org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.domain.Hardware,org.jclouds.compute.domain.Image,org.jclouds.domain.Location>- Specified by:
listNodes in interface org.jclouds.compute.JCloudsNativeComputeServiceAdapter
listLocations
public Iterable<org.jclouds.domain.Location> listLocations()
- Specified by:
listLocations in interface org.jclouds.compute.ComputeServiceAdapter<org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.domain.Hardware,org.jclouds.compute.domain.Image,org.jclouds.domain.Location>- Specified by:
listLocations in interface org.jclouds.compute.JCloudsNativeComputeServiceAdapter
getNode
public org.jclouds.compute.domain.NodeMetadata getNode(String id)
- Specified by:
getNode in interface org.jclouds.compute.ComputeServiceAdapter<org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.domain.Hardware,org.jclouds.compute.domain.Image,org.jclouds.domain.Location>- Specified by:
getNode in interface org.jclouds.compute.JCloudsNativeComputeServiceAdapter
getImage
public org.jclouds.compute.domain.Image getImage(String id)
- Specified by:
getImage in interface org.jclouds.compute.ComputeServiceAdapter<org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.domain.Hardware,org.jclouds.compute.domain.Image,org.jclouds.domain.Location>
destroyNode
public void destroyNode(String id)
- Specified by:
destroyNode in interface org.jclouds.compute.ComputeServiceAdapter<org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.domain.Hardware,org.jclouds.compute.domain.Image,org.jclouds.domain.Location>- Specified by:
destroyNode in interface org.jclouds.compute.JCloudsNativeComputeServiceAdapter
rebootNode
public void rebootNode(String id)
- Specified by:
rebootNode in interface org.jclouds.compute.ComputeServiceAdapter<org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.domain.Hardware,org.jclouds.compute.domain.Image,org.jclouds.domain.Location>- Specified by:
rebootNode in interface org.jclouds.compute.JCloudsNativeComputeServiceAdapter
resumeNode
public void resumeNode(String id)
- Specified by:
resumeNode in interface org.jclouds.compute.ComputeServiceAdapter<org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.domain.Hardware,org.jclouds.compute.domain.Image,org.jclouds.domain.Location>
suspendNode
public void suspendNode(String id)
- Specified by:
suspendNode in interface org.jclouds.compute.ComputeServiceAdapter<org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.domain.Hardware,org.jclouds.compute.domain.Image,org.jclouds.domain.Location>
Copyright © 2009-2012 jclouds. All Rights Reserved.