@Singleton public class CreatePlacementGroupIfNeeded extends com.google.common.cache.CacheLoader<RegionAndName,String>
Modifier and Type | Field and Description |
---|---|
protected AWSEC2Client |
ec2Client |
protected Logger |
logger |
protected com.google.common.base.Predicate<PlacementGroup> |
placementGroupAvailable |
Constructor and Description |
---|
CreatePlacementGroupIfNeeded(AWSEC2Client ec2Client,
com.google.common.base.Predicate<PlacementGroup> placementGroupAvailable) |
Modifier and Type | Method and Description |
---|---|
String |
load(RegionAndName from) |
@Named(value="jclouds.compute") protected Logger logger
protected final AWSEC2Client ec2Client
protected final com.google.common.base.Predicate<PlacementGroup> placementGroupAvailable
@Inject public CreatePlacementGroupIfNeeded(AWSEC2Client ec2Client, @Named(value="AVAILABLE") com.google.common.base.Predicate<PlacementGroup> placementGroupAvailable)
public String load(RegionAndName from)
load
in class com.google.common.cache.CacheLoader<RegionAndName,String>
Copyright © 2009-2013 jclouds. All Rights Reserved.