org.jclouds.aws.ec2.compute.loaders
Class AWSEC2CreateSecurityGroupIfNeeded
java.lang.Object
com.google.common.cache.CacheLoader<org.jclouds.ec2.compute.domain.RegionAndName,String>
org.jclouds.aws.ec2.compute.loaders.AWSEC2CreateSecurityGroupIfNeeded
@Singleton
public class AWSEC2CreateSecurityGroupIfNeeded
- extends com.google.common.cache.CacheLoader<org.jclouds.ec2.compute.domain.RegionAndName,String>
| Nested classes/interfaces inherited from class com.google.common.cache.CacheLoader |
com.google.common.cache.CacheLoader.InvalidCacheLoadException |
|
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 |
logger
@Named(value="jclouds.compute")
protected org.jclouds.logging.Logger logger
securityApi
protected final AWSSecurityGroupApi securityApi
securityGroupEventualConsistencyDelay
protected final com.google.common.base.Predicate<org.jclouds.ec2.compute.domain.RegionAndName> securityGroupEventualConsistencyDelay
groupNameToId
protected final com.google.common.base.Function<String,String> groupNameToId
AWSEC2CreateSecurityGroupIfNeeded
@Inject
public AWSEC2CreateSecurityGroupIfNeeded(AWSEC2Api ec2Api,
@Named(value="SECGROUP_NAME_TO_ID")
com.google.common.base.Function<String,String> groupNameToId,
@Named(value="SECURITY")
com.google.common.base.Predicate<org.jclouds.ec2.compute.domain.RegionAndName> securityGroupEventualConsistencyDelay)
AWSEC2CreateSecurityGroupIfNeeded
public AWSEC2CreateSecurityGroupIfNeeded(AWSSecurityGroupApi securityApi,
@Named(value="SECGROUP_NAME_TO_ID")
com.google.common.base.Function<String,String> groupNameToId,
@Named(value="SECURITY")
com.google.common.base.Predicate<org.jclouds.ec2.compute.domain.RegionAndName> securityGroupEventualConsistencyDelay)
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.