org.jclouds.aws.ec2.compute.strategy
Class AWSEC2ListNodesStrategy
java.lang.Object
org.jclouds.ec2.compute.strategy.EC2ListNodesStrategy
org.jclouds.aws.ec2.compute.strategy.AWSEC2ListNodesStrategy
- All Implemented Interfaces:
- ListNodesStrategy
@Singleton
public class AWSEC2ListNodesStrategy
- extends EC2ListNodesStrategy
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
client
protected final AWSEC2AsyncClient client
spotConverter
protected final SpotInstanceRequestToAWSRunningInstance spotConverter
AWSEC2ListNodesStrategy
@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)
pollRunningInstances
protected Iterable<? extends RunningInstance> pollRunningInstances()
- Overrides:
pollRunningInstances
in class EC2ListNodesStrategy
Copyright © 2009-2012 jclouds. All Rights Reserved.