@Singleton public class CreatePlacementGroupIfNeeded extends com.google.common.cache.CacheLoader<RegionAndName,String>
Modifier and Type | Field and Description |
---|---|
protected AWSEC2Api |
ec2Api |
protected Logger |
logger |
protected com.google.common.base.Predicate<PlacementGroup> |
placementGroupAvailable |
Constructor and Description |
---|
CreatePlacementGroupIfNeeded(AWSEC2Api ec2Api,
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 AWSEC2Api ec2Api
protected final com.google.common.base.Predicate<PlacementGroup> placementGroupAvailable
@Inject public CreatePlacementGroupIfNeeded(AWSEC2Api ec2Api, @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-2016 The Apache Software Foundation. All Rights Reserved.