|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComputeServiceAdapter<N,H,I,L>
A means of specifying the interface between the ComputeServices and a
concrete compute cloud implementation, jclouds or otherwise.
| Nested Class Summary | |
|---|---|
static class |
ComputeServiceAdapter.NodeAndInitialCredentials<N>
|
| Method Summary | |
|---|---|
ComputeServiceAdapter.NodeAndInitialCredentials<N> |
createNodeWithGroupEncodedIntoName(String group,
String name,
Template template)
ComputeService.createNodesInGroup(String, int, Template) generates the parameters
passed into this method such that each node in the set has a unique name. |
void |
destroyNode(String id)
|
I |
getImage(String id)
get a specific image by id |
N |
getNode(String id)
|
Iterable<H> |
listHardwareProfiles()
Hardware profiles describe available cpu, memory, and disk configurations that can be used to run a node. |
Iterable<I> |
listImages()
Images are the available configured operating systems that someone can run a node with. |
Iterable<L> |
listLocations()
|
Iterable<N> |
listNodes()
|
Iterable<N> |
listNodesByIds(Iterable<String> ids)
|
void |
rebootNode(String id)
|
void |
resumeNode(String id)
|
void |
suspendNode(String id)
|
| Method Detail |
|---|
ComputeServiceAdapter.NodeAndInitialCredentials<N> createNodeWithGroupEncodedIntoName(String group,
String name,
Template template)
ComputeService.createNodesInGroup(String, int, Template) generates the parameters
passed into this method such that each node in the set has a unique name.
N. If you are not using library-native objects (such as libvirt Domain) use
JCloudsNativeComputeServiceAdapter instead.
credentialStore
group - used to aggregate nodes with identical configurationname - unique supplied name for the node, which has the group encoded into it.template - includes imageId, locationId, and hardwareId used to resume
the instance.
ComputeService.createNodesInGroup(String, int, Template)Iterable<H> listHardwareProfiles()
ComputeService.listHardwareProfiles()Iterable<I> listImages()
ComputeService.listImages()@Nullable I getImage(String id)
id - Image#getId, which is not necessarily Image#getProviderId
Iterable<L> listLocations()
N getNode(String id)
void destroyNode(String id)
void rebootNode(String id)
void resumeNode(String id)
void suspendNode(String id)
Iterable<N> listNodes()
Iterable<N> listNodesByIds(Iterable<String> ids)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||