@Singleton public class GleSYSComputeServiceAdapter extends Object implements ComputeServiceAdapter<ServerDetails,Hardware,OSTemplate,String>
GleSYSClient implementation and
 the jclouds ComputeService| Modifier and Type | Class and Description | 
|---|---|
static class  | 
GleSYSComputeServiceAdapter.FindLocationForServerSpec  | 
ComputeServiceAdapter.NodeAndInitialCredentials<N>| Constructor and Description | 
|---|
GleSYSComputeServiceAdapter(GleSYSClient client,
                           GleSYSAsyncClient aclient,
                           ExecutorService userThreads,
                           ComputeServiceConstants.Timeouts timeouts,
                           com.google.common.base.Supplier<Set<? extends Location>> locations,
                           Provider<String> passwordProvider)  | 
| Modifier and Type | Method and Description | 
|---|---|
ComputeServiceAdapter.NodeAndInitialCredentials<ServerDetails> | 
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)  | 
ServerDetails | 
getNode(String id)  | 
Iterable<Hardware> | 
listHardwareProfiles()
Hardware profiles describe available cpu, memory, and disk configurations
 that can be used to run a node. 
 | 
Set<OSTemplate> | 
listImages()
Images are the available configured operating systems that someone can run
 a node with. 
 | 
Set<String> | 
listLocations()  | 
Iterable<ServerDetails> | 
listNodes()  | 
void | 
rebootNode(String id)  | 
void | 
resumeNode(String id)  | 
void | 
suspendNode(String id)  | 
@Inject public GleSYSComputeServiceAdapter(GleSYSClient client, GleSYSAsyncClient aclient, @Named(value="jclouds.user-threads") ExecutorService userThreads, ComputeServiceConstants.Timeouts timeouts, com.google.common.base.Supplier<Set<? extends Location>> locations, @Named(value="PASSWORD") Provider<String> passwordProvider)
public ComputeServiceAdapter.NodeAndInitialCredentials<ServerDetails> createNodeWithGroupEncodedIntoName(String group, String name, Template template)
ComputeServiceAdapterComputeService.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.
 
 credentialStorecreateNodeWithGroupEncodedIntoName in interface ComputeServiceAdapter<ServerDetails,Hardware,OSTemplate,String>group - 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)public Iterable<Hardware> listHardwareProfiles()
ComputeServiceAdapterlistHardwareProfiles in interface ComputeServiceAdapter<ServerDetails,Hardware,OSTemplate,String>ComputeService.listHardwareProfiles()public Set<OSTemplate> listImages()
ComputeServiceAdapterlistImages in interface ComputeServiceAdapter<ServerDetails,Hardware,OSTemplate,String>ComputeService.listImages()public Iterable<ServerDetails> listNodes()
listNodes in interface ComputeServiceAdapter<ServerDetails,Hardware,OSTemplate,String>public Set<String> listLocations()
listLocations in interface ComputeServiceAdapter<ServerDetails,Hardware,OSTemplate,String>public ServerDetails getNode(String id)
getNode in interface ComputeServiceAdapter<ServerDetails,Hardware,OSTemplate,String>public void destroyNode(String id)
destroyNode in interface ComputeServiceAdapter<ServerDetails,Hardware,OSTemplate,String>public void rebootNode(String id)
rebootNode in interface ComputeServiceAdapter<ServerDetails,Hardware,OSTemplate,String>public void resumeNode(String id)
resumeNode in interface ComputeServiceAdapter<ServerDetails,Hardware,OSTemplate,String>public void suspendNode(String id)
suspendNode in interface ComputeServiceAdapter<ServerDetails,Hardware,OSTemplate,String>Copyright © 2009-2012 jclouds. All Rights Reserved.