Package org.jclouds.elasticstack.compute
Class ElasticStackComputeServiceAdapter
java.lang.Object
org.jclouds.elasticstack.compute.ElasticStackComputeServiceAdapter
- All Implemented Interfaces:
org.jclouds.compute.ComputeServiceAdapter<ServerInfo,org.jclouds.compute.domain.Hardware, DriveInfo, org.jclouds.domain.Location>
@Singleton
public class ElasticStackComputeServiceAdapter
extends Object
implements org.jclouds.compute.ComputeServiceAdapter<ServerInfo,org.jclouds.compute.domain.Hardware,DriveInfo,org.jclouds.domain.Location>
defines the connection between the
ElasticStackApi implementation
and the jclouds ComputeService-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jclouds.compute.ComputeServiceAdapter
org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<N extends Object> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionElasticStackComputeServiceAdapter(ElasticStackApi client, com.google.common.base.Predicate<DriveInfo> driveNotClaimed, com.google.common.base.Supplier<Map<String, WellKnownImage>> preinstalledImages, com.google.common.cache.LoadingCache<String, DriveInfo> cache, String defaultVncPassword, com.google.common.util.concurrent.ListeningExecutorService userExecutor) -
Method Summary
Modifier and TypeMethodDescriptionorg.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<ServerInfo>createNodeWithGroupEncodedIntoName(String tag, String name, org.jclouds.compute.domain.Template template) voiddestroyNode(String id) Iterable<org.jclouds.compute.domain.Hardware>look up the current standard images and do not error out, if they are not found.Iterable<org.jclouds.domain.Location>listNodesByIds(Iterable<String> ids) voidrebootNode(String id) voidresumeNode(String id) voidsuspendNode(String id)
-
Field Details
-
logger
@Named("jclouds.compute") protected org.jclouds.logging.Logger logger
-
-
Constructor Details
-
ElasticStackComputeServiceAdapter
@Inject public ElasticStackComputeServiceAdapter(ElasticStackApi client, com.google.common.base.Predicate<DriveInfo> driveNotClaimed, com.google.common.base.Supplier<Map<String, WellKnownImage>> preinstalledImages, com.google.common.cache.LoadingCache<String, DriveInfo> cache, @Named("jclouds.elasticstack.vnc-password") String defaultVncPassword, @Named("jclouds.user-threads") com.google.common.util.concurrent.ListeningExecutorService userExecutor)
-
-
Method Details
-
createNodeWithGroupEncodedIntoName
public org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<ServerInfo> createNodeWithGroupEncodedIntoName(String tag, String name, org.jclouds.compute.domain.Template template) - Specified by:
createNodeWithGroupEncodedIntoNamein interfaceorg.jclouds.compute.ComputeServiceAdapter<ServerInfo,org.jclouds.compute.domain.Hardware, DriveInfo, org.jclouds.domain.Location>
-
listHardwareProfiles
- Specified by:
listHardwareProfilesin interfaceorg.jclouds.compute.ComputeServiceAdapter<ServerInfo,org.jclouds.compute.domain.Hardware, DriveInfo, org.jclouds.domain.Location>
-
listImages
look up the current standard images and do not error out, if they are not found.- Specified by:
listImagesin interfaceorg.jclouds.compute.ComputeServiceAdapter<ServerInfo,org.jclouds.compute.domain.Hardware, DriveInfo, org.jclouds.domain.Location>
-
listNodes
- Specified by:
listNodesin interfaceorg.jclouds.compute.ComputeServiceAdapter<ServerInfo,org.jclouds.compute.domain.Hardware, DriveInfo, org.jclouds.domain.Location>
-
listNodesByIds
- Specified by:
listNodesByIdsin interfaceorg.jclouds.compute.ComputeServiceAdapter<ServerInfo,org.jclouds.compute.domain.Hardware, DriveInfo, org.jclouds.domain.Location>
-
listLocations
- Specified by:
listLocationsin interfaceorg.jclouds.compute.ComputeServiceAdapter<ServerInfo,org.jclouds.compute.domain.Hardware, DriveInfo, org.jclouds.domain.Location>
-
getNode
- Specified by:
getNodein interfaceorg.jclouds.compute.ComputeServiceAdapter<ServerInfo,org.jclouds.compute.domain.Hardware, DriveInfo, org.jclouds.domain.Location>
-
getImage
- Specified by:
getImagein interfaceorg.jclouds.compute.ComputeServiceAdapter<ServerInfo,org.jclouds.compute.domain.Hardware, DriveInfo, org.jclouds.domain.Location>
-
destroyNode
- Specified by:
destroyNodein interfaceorg.jclouds.compute.ComputeServiceAdapter<ServerInfo,org.jclouds.compute.domain.Hardware, DriveInfo, org.jclouds.domain.Location>
-
rebootNode
- Specified by:
rebootNodein interfaceorg.jclouds.compute.ComputeServiceAdapter<ServerInfo,org.jclouds.compute.domain.Hardware, DriveInfo, org.jclouds.domain.Location>
-
resumeNode
- Specified by:
resumeNodein interfaceorg.jclouds.compute.ComputeServiceAdapter<ServerInfo,org.jclouds.compute.domain.Hardware, DriveInfo, org.jclouds.domain.Location>
-
suspendNode
- Specified by:
suspendNodein interfaceorg.jclouds.compute.ComputeServiceAdapter<ServerInfo,org.jclouds.compute.domain.Hardware, DriveInfo, org.jclouds.domain.Location>
-