org.jclouds.ec2.compute.functions
Class PresentInstances

java.lang.Object
  extended by org.jclouds.ec2.compute.functions.PresentInstances
All Implemented Interfaces:
com.google.common.base.Function<Set<RegionAndName>,Set<RunningInstance>>

@Singleton
public class PresentInstances
extends Object
implements com.google.common.base.Function<Set<RegionAndName>,Set<RunningInstance>>

returns the instances present in the list. Makes a single rest call per aggregate on region.


Field Summary
protected  org.jclouds.logging.Logger logger
           
 
Constructor Summary
PresentInstances(EC2Api client)
           
 
Method Summary
 Set<RunningInstance> apply(Set<RegionAndName> regionAndIds)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Field Detail

logger

protected org.jclouds.logging.Logger logger
Constructor Detail

PresentInstances

@Inject
public PresentInstances(EC2Api client)
Method Detail

apply

public Set<RunningInstance> apply(Set<RegionAndName> regionAndIds)
Specified by:
apply in interface com.google.common.base.Function<Set<RegionAndName>,Set<RunningInstance>>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.