org.jclouds.aws.ec2.functions
Class CreatePlacementGroupIfNeeded
java.lang.Object
org.jclouds.aws.ec2.functions.CreatePlacementGroupIfNeeded
- All Implemented Interfaces:
- com.google.common.base.Function<org.jclouds.ec2.compute.domain.RegionAndName,String>
@Singleton
public class CreatePlacementGroupIfNeeded
- extends Object
- implements com.google.common.base.Function<org.jclouds.ec2.compute.domain.RegionAndName,String>
- Author:
- Adrian Cole
Method Summary |
String |
apply(org.jclouds.ec2.compute.domain.RegionAndName from)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Function |
equals |
logger
@Named(value="jclouds.compute")
protected org.jclouds.logging.Logger logger
ec2Client
protected final AWSEC2Client ec2Client
placementGroupAvailable
protected final com.google.common.base.Predicate<PlacementGroup> placementGroupAvailable
CreatePlacementGroupIfNeeded
@Inject
public CreatePlacementGroupIfNeeded(AWSEC2Client ec2Client,
@Named(value="AVAILABLE")
com.google.common.base.Predicate<PlacementGroup> placementGroupAvailable)
apply
public String apply(org.jclouds.ec2.compute.domain.RegionAndName from)
- Specified by:
apply
in interface com.google.common.base.Function<org.jclouds.ec2.compute.domain.RegionAndName,String>
Copyright © 2009-2011 jclouds. All Rights Reserved.