org.jclouds.aws.ec2.functions
Class CreatePlacementGroupIfNeeded
java.lang.Object
com.google.common.cache.CacheLoader<RegionAndName,String>
org.jclouds.aws.ec2.functions.CreatePlacementGroupIfNeeded
@Singleton
public class CreatePlacementGroupIfNeeded
- extends com.google.common.cache.CacheLoader<RegionAndName,String>
- Author:
- Adrian Cole
Methods inherited from class com.google.common.cache.CacheLoader |
from, from |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
@Named(value="jclouds.compute")
protected 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)
load
public String load(RegionAndName from)
- Specified by:
load
in class com.google.common.cache.CacheLoader<RegionAndName,String>
Copyright © 2009-2011 jclouds. All Rights Reserved.