Package 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>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.cache.CacheLoader
com.google.common.cache.CacheLoader.InvalidCacheLoadException, com.google.common.cache.CacheLoader.UnsupportedLoadingOperationException
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AWSEC2Api
protected Logger
protected final com.google.common.base.Predicate
<PlacementGroup> -
Constructor Summary
ConstructorsConstructorDescriptionCreatePlacementGroupIfNeeded
(AWSEC2Api ec2Api, com.google.common.base.Predicate<PlacementGroup> placementGroupAvailable) -
Method Summary
Methods inherited from class com.google.common.cache.CacheLoader
asyncReloading, from, from, loadAll, reload
-
Field Details
-
logger
-
ec2Api
-
placementGroupAvailable
-
-
Constructor Details
-
CreatePlacementGroupIfNeeded
@Inject public CreatePlacementGroupIfNeeded(AWSEC2Api ec2Api, @Named("AVAILABLE") com.google.common.base.Predicate<PlacementGroup> placementGroupAvailable)
-
-
Method Details
-
load
- Specified by:
load
in classcom.google.common.cache.CacheLoader<RegionAndName,
String>
-