@Singleton public class BYONComputeServiceAdapter extends Object implements org.jclouds.compute.JCloudsNativeComputeServiceAdapter
| Constructor and Description |
|---|
BYONComputeServiceAdapter(com.google.common.base.Supplier<com.google.common.cache.LoadingCache<String,Node>> nodes,
NodeToNodeMetadata converter,
org.jclouds.location.suppliers.all.JustProvider locationSupplier) |
| Modifier and Type | Method and Description |
|---|---|
org.jclouds.compute.JCloudsNativeComputeServiceAdapter.NodeWithInitialCredentials |
createNodeWithGroupEncodedIntoName(String group,
String name,
org.jclouds.compute.domain.Template template) |
void |
destroyNode(String id) |
org.jclouds.compute.domain.NodeMetadata |
getNode(String id) |
Iterable<org.jclouds.compute.domain.Hardware> |
listHardwareProfiles() |
Iterable<org.jclouds.compute.domain.Image> |
listImages() |
Iterable<org.jclouds.domain.Location> |
listLocations() |
Iterable<org.jclouds.compute.domain.NodeMetadata> |
listNodes() |
void |
rebootNode(String id) |
void |
resumeNode(String id) |
void |
suspendNode(String id) |
@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)
public org.jclouds.compute.JCloudsNativeComputeServiceAdapter.NodeWithInitialCredentials createNodeWithGroupEncodedIntoName(String group, String name, org.jclouds.compute.domain.Template template)
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>createNodeWithGroupEncodedIntoName in interface org.jclouds.compute.JCloudsNativeComputeServiceAdapterpublic Iterable<org.jclouds.compute.domain.Hardware> listHardwareProfiles()
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>listHardwareProfiles in interface org.jclouds.compute.JCloudsNativeComputeServiceAdapterpublic Iterable<org.jclouds.compute.domain.Image> listImages()
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>listImages in interface org.jclouds.compute.JCloudsNativeComputeServiceAdapterpublic Iterable<org.jclouds.compute.domain.NodeMetadata> listNodes()
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>listNodes in interface org.jclouds.compute.JCloudsNativeComputeServiceAdapterpublic Iterable<org.jclouds.domain.Location> listLocations()
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>listLocations in interface org.jclouds.compute.JCloudsNativeComputeServiceAdapterpublic org.jclouds.compute.domain.NodeMetadata getNode(String id)
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>getNode in interface org.jclouds.compute.JCloudsNativeComputeServiceAdapterpublic void destroyNode(String id)
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>destroyNode in interface org.jclouds.compute.JCloudsNativeComputeServiceAdapterpublic void rebootNode(String id)
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>rebootNode in interface org.jclouds.compute.JCloudsNativeComputeServiceAdapterpublic void resumeNode(String id)
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>public void suspendNode(String id)
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.