org.jclouds.aws.ec2.functions
Class CreatePlacementGroupIfNeeded

java.lang.Object
  extended by com.google.common.cache.CacheLoader<org.jclouds.ec2.compute.domain.RegionAndName,String>
      extended by org.jclouds.aws.ec2.functions.CreatePlacementGroupIfNeeded

@Singleton
public class CreatePlacementGroupIfNeeded
extends com.google.common.cache.CacheLoader<org.jclouds.ec2.compute.domain.RegionAndName,String>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.common.cache.CacheLoader
com.google.common.cache.CacheLoader.InvalidCacheLoadException
 
Field Summary
protected  AWSEC2Api ec2Api
           
protected  org.jclouds.logging.Logger logger
           
protected  com.google.common.base.Predicate<PlacementGroup> placementGroupAvailable
           
 
Constructor Summary
CreatePlacementGroupIfNeeded(AWSEC2Api ec2Api, com.google.common.base.Predicate<PlacementGroup> placementGroupAvailable)
           
 
Method Summary
 String load(org.jclouds.ec2.compute.domain.RegionAndName from)
           
 
Methods inherited from class com.google.common.cache.CacheLoader
asyncReloading, from, from, loadAll, reload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

@Named(value="jclouds.compute")
protected org.jclouds.logging.Logger logger

ec2Api

protected final AWSEC2Api ec2Api

placementGroupAvailable

protected final com.google.common.base.Predicate<PlacementGroup> placementGroupAvailable
Constructor Detail

CreatePlacementGroupIfNeeded

@Inject
public CreatePlacementGroupIfNeeded(AWSEC2Api ec2Api,
                                           @Named(value="AVAILABLE")
                                           com.google.common.base.Predicate<PlacementGroup> placementGroupAvailable)
Method Detail

load

public String load(org.jclouds.ec2.compute.domain.RegionAndName from)
Specified by:
load in class com.google.common.cache.CacheLoader<org.jclouds.ec2.compute.domain.RegionAndName,String>


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.