@Singleton public class AWSEC2ListNodesStrategy extends EC2ListNodesStrategy
Modifier and Type | Field and Description |
---|---|
protected AWSEC2AsyncClient |
client |
protected SpotInstanceRequestToAWSRunningInstance |
spotConverter |
executor, logger, maxTime, regions, runningInstanceToNodeMetadata
Modifier | Constructor and Description |
---|---|
protected |
AWSEC2ListNodesStrategy(AWSEC2AsyncClient client,
com.google.common.base.Supplier<Set<String>> regions,
com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata,
ExecutorService executor,
SpotInstanceRequestToAWSRunningInstance spotConverter) |
Modifier and Type | Method and Description |
---|---|
protected Iterable<? extends RunningInstance> |
pollRunningInstances() |
listDetailsOnNodesMatching, listNodes
protected final AWSEC2AsyncClient client
protected final SpotInstanceRequestToAWSRunningInstance spotConverter
@Inject protected AWSEC2ListNodesStrategy(AWSEC2AsyncClient client, com.google.common.base.Supplier<Set<String>> regions, com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata, @Named(value="jclouds.user-threads") ExecutorService executor, SpotInstanceRequestToAWSRunningInstance spotConverter)
protected Iterable<? extends RunningInstance> pollRunningInstances()
pollRunningInstances
in class EC2ListNodesStrategy
Copyright © 2009-2013 jclouds. All Rights Reserved.