@Singleton public class GleSYSComputeServiceAdapter extends Object implements ComputeServiceAdapter<ServerDetails,Hardware,OSTemplate,String>
GleSYSApi implementation and
 the jclouds ComputeServiceComputeServiceAdapter.NodeAndInitialCredentials<N>| Constructor and Description | 
|---|
| GleSYSComputeServiceAdapter(GleSYSApi api,
                           com.google.common.util.concurrent.ListeningExecutorService userExecutor,
                           ComputeServiceConstants.Timeouts timeouts,
                           com.google.common.base.Supplier<Set<? extends Location>> locations) | 
| 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) | 
| OSTemplate | getImage(String id)get a specific image by 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() | 
| Iterable<ServerDetails> | listNodesByIds(Iterable<String> ids) | 
| void | rebootNode(String id) | 
| void | resumeNode(String id) | 
| void | suspendNode(String id) | 
@Named(value="jclouds.compute") protected Logger logger
@Inject public GleSYSComputeServiceAdapter(GleSYSApi api, @Named(value="jclouds.user-threads") com.google.common.util.concurrent.ListeningExecutorService userExecutor, ComputeServiceConstants.Timeouts timeouts, com.google.common.base.Supplier<Set<? extends Location>> locations)
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 group 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 OSTemplate getImage(String id)
ComputeServiceAdaptergetImage in interface ComputeServiceAdapter<ServerDetails,Hardware,OSTemplate,String>id - Image#getId, which is not necessarily Image#getProviderIdpublic Iterable<ServerDetails> listNodes()
listNodes in interface ComputeServiceAdapter<ServerDetails,Hardware,OSTemplate,String>public Iterable<ServerDetails> listNodesByIds(Iterable<String> ids)
listNodesByIds 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-2016 The Apache Software Foundation. All Rights Reserved.