org.jclouds.ec2.compute.functions
Class CreateSecurityGroupIfNeeded
java.lang.Object
com.google.common.cache.CacheLoader<RegionAndName,String>
org.jclouds.ec2.compute.functions.CreateSecurityGroupIfNeeded
@Singleton
public class CreateSecurityGroupIfNeeded
- extends com.google.common.cache.CacheLoader<RegionAndName,String>
- Author:
- Adrian Cole
Methods inherited from class com.google.common.cache.CacheLoader |
from, from |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
@Named(value="jclouds.compute")
protected Logger logger
securityClient
protected final SecurityGroupClient securityClient
securityGroupEventualConsistencyDelay
protected final com.google.common.base.Predicate<RegionAndName> securityGroupEventualConsistencyDelay
CreateSecurityGroupIfNeeded
@Inject
public CreateSecurityGroupIfNeeded(EC2Client ec2Client,
@Named(value="SECURITY")
com.google.common.base.Predicate<RegionAndName> securityGroupEventualConsistencyDelay)
CreateSecurityGroupIfNeeded
public CreateSecurityGroupIfNeeded(SecurityGroupClient securityClient,
@Named(value="SECURITY")
com.google.common.base.Predicate<RegionAndName> securityGroupEventualConsistencyDelay)
load
public String load(RegionAndName from)
- Specified by:
load
in class com.google.common.cache.CacheLoader<RegionAndName,String>
Copyright © 2009-2011 jclouds. All Rights Reserved.