@Singleton public class GoGridComputeServiceAdapter extends Object implements org.jclouds.compute.ComputeServiceAdapter<Server,org.jclouds.compute.domain.Hardware,ServerImage,Option>
GoGridClient implementation and the jclouds
ComputeService| Modifier and Type | Field and Description |
|---|---|
protected org.jclouds.logging.Logger |
logger |
| Modifier | Constructor and Description |
|---|---|
protected |
GoGridComputeServiceAdapter(GoGridClient client,
com.google.common.base.Function<org.jclouds.compute.domain.Hardware,String> sizeToRam,
org.jclouds.compute.reference.ComputeServiceConstants.Timeouts timeouts) |
| Modifier and Type | Method and Description |
|---|---|
org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<Server> |
createNodeWithGroupEncodedIntoName(String group,
String name,
org.jclouds.compute.domain.Template template) |
void |
destroyNode(String id) |
ServerImage |
getImage(String id) |
Server |
getNode(String id) |
Iterable<org.jclouds.compute.domain.Hardware> |
listHardwareProfiles() |
Iterable<ServerImage> |
listImages() |
Iterable<Option> |
listLocations() |
Iterable<Server> |
listNodes() |
Iterable<Server> |
listNodesByIds(Iterable<String> ids) |
void |
rebootNode(String id) |
void |
resumeNode(String id) |
void |
suspendNode(String id) |
@Inject protected GoGridComputeServiceAdapter(GoGridClient client, com.google.common.base.Function<org.jclouds.compute.domain.Hardware,String> sizeToRam, org.jclouds.compute.reference.ComputeServiceConstants.Timeouts timeouts)
public org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<Server> createNodeWithGroupEncodedIntoName(String group, String name, org.jclouds.compute.domain.Template template)
createNodeWithGroupEncodedIntoName in interface org.jclouds.compute.ComputeServiceAdapter<Server,org.jclouds.compute.domain.Hardware,ServerImage,Option>public Iterable<org.jclouds.compute.domain.Hardware> listHardwareProfiles()
listHardwareProfiles in interface org.jclouds.compute.ComputeServiceAdapter<Server,org.jclouds.compute.domain.Hardware,ServerImage,Option>public Iterable<ServerImage> listImages()
listImages in interface org.jclouds.compute.ComputeServiceAdapter<Server,org.jclouds.compute.domain.Hardware,ServerImage,Option>public Iterable<Server> listNodes()
listNodes in interface org.jclouds.compute.ComputeServiceAdapter<Server,org.jclouds.compute.domain.Hardware,ServerImage,Option>public Iterable<Server> listNodesByIds(Iterable<String> ids)
listNodesByIds in interface org.jclouds.compute.ComputeServiceAdapter<Server,org.jclouds.compute.domain.Hardware,ServerImage,Option>public Iterable<Option> listLocations()
listLocations in interface org.jclouds.compute.ComputeServiceAdapter<Server,org.jclouds.compute.domain.Hardware,ServerImage,Option>public Server getNode(String id)
getNode in interface org.jclouds.compute.ComputeServiceAdapter<Server,org.jclouds.compute.domain.Hardware,ServerImage,Option>public ServerImage getImage(String id)
getImage in interface org.jclouds.compute.ComputeServiceAdapter<Server,org.jclouds.compute.domain.Hardware,ServerImage,Option>public void destroyNode(String id)
destroyNode in interface org.jclouds.compute.ComputeServiceAdapter<Server,org.jclouds.compute.domain.Hardware,ServerImage,Option>public void rebootNode(String id)
rebootNode in interface org.jclouds.compute.ComputeServiceAdapter<Server,org.jclouds.compute.domain.Hardware,ServerImage,Option>public void resumeNode(String id)
resumeNode in interface org.jclouds.compute.ComputeServiceAdapter<Server,org.jclouds.compute.domain.Hardware,ServerImage,Option>public void suspendNode(String id)
suspendNode in interface org.jclouds.compute.ComputeServiceAdapter<Server,org.jclouds.compute.domain.Hardware,ServerImage,Option>Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.