org.jclouds.aws.ec2.compute.strategy
Class AWSEC2ListNodesStrategy

java.lang.Object
  extended by org.jclouds.ec2.compute.strategy.EC2ListNodesStrategy
      extended by org.jclouds.aws.ec2.compute.strategy.AWSEC2ListNodesStrategy
All Implemented Interfaces:
ListNodesStrategy

@Singleton
public class AWSEC2ListNodesStrategy
extends EC2ListNodesStrategy

Author:
Adrian Cole

Field Summary
protected  AWSEC2AsyncClient client
           
protected  SpotInstanceRequestToAWSRunningInstance spotConverter
           
 
Fields inherited from class org.jclouds.ec2.compute.strategy.EC2ListNodesStrategy
executor, logger, regions, runningInstanceToNodeMetadata
 
Constructor Summary
protected AWSEC2ListNodesStrategy(AWSEC2AsyncClient client, Set<String> regions, com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata, ExecutorService executor, SpotInstanceRequestToAWSRunningInstance spotConverter)
           
 
Method Summary
protected  Iterable<? extends RunningInstance> pollRunningInstances()
           
 
Methods inherited from class org.jclouds.ec2.compute.strategy.EC2ListNodesStrategy
listDetailsOnNodesMatching, listNodes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

protected final AWSEC2AsyncClient client

spotConverter

protected final SpotInstanceRequestToAWSRunningInstance spotConverter
Constructor Detail

AWSEC2ListNodesStrategy

@Inject
protected AWSEC2ListNodesStrategy(AWSEC2AsyncClient client,
                                         Set<String> regions,
                                         com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata,
                                         @Named(value="jclouds.user-threads")
                                         ExecutorService executor,
                                         SpotInstanceRequestToAWSRunningInstance spotConverter)
Method Detail

pollRunningInstances

protected Iterable<? extends RunningInstance> pollRunningInstances()
Overrides:
pollRunningInstances in class EC2ListNodesStrategy


Copyright © 2009-2011 jclouds. All Rights Reserved.