|
||||||||||
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.
Method Summary | |
---|---|
N |
createNodeWithGroupEncodedIntoNameThenStoreCredentials(String tag,
String name,
Template template,
Map<String,Credentials> credentialStore)
ComputeService.runNodesWithTag(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 |
---|
N createNodeWithGroupEncodedIntoNameThenStoreCredentials(String tag, String name, Template template, Map<String,Credentials> credentialStore)
ComputeService.runNodesWithTag(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.credentialStore
- once the node is resumeed, its login user and password must be stored keyed on
node#id
.
ComputeService.runNodesWithTag(String, int, Template)
,
ComputeServiceContext.getCredentialStore()
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 |