|
||||||||||
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 tag,
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)
|
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()
|
void |
rebootNode(String id)
|
void |
resumeNode(String id)
|
void |
suspendNode(String id)
|
Method Detail |
---|
ComputeServiceAdapter.NodeAndInitialCredentials<N> createNodeWithGroupEncodedIntoName(String tag, 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
tag
- used to aggregate nodes with identical configurationname
- unique supplied name for the node, which has the tag 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()
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |