Class PresentInstances
- java.lang.Object
-
- org.jclouds.ec2.compute.functions.PresentInstances
-
- All Implemented Interfaces:
com.google.common.base.Function<Set<RegionAndName>,Set<RunningInstance>>
,Function<Set<RegionAndName>,Set<RunningInstance>>
- Direct Known Subclasses:
PresentSpotRequestsAndInstances
@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.
-
-
Constructor Summary
Constructors Constructor Description PresentInstances(EC2Api client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<RunningInstance>
apply(Set<RegionAndName> regionAndIds)
String
toString()
-
-
-
Field Detail
-
logger
protected Logger logger
-
-
Constructor Detail
-
PresentInstances
@Inject public PresentInstances(EC2Api client)
-
-
Method Detail
-
apply
public Set<RunningInstance> apply(Set<RegionAndName> regionAndIds)
- Specified by:
apply
in interfacecom.google.common.base.Function<Set<RegionAndName>,Set<RunningInstance>>
- Specified by:
apply
in interfaceFunction<Set<RegionAndName>,Set<RunningInstance>>
-
-