@Singleton public class AWSEC2CreateSecurityGroupIfNeeded extends com.google.common.cache.CacheLoader<RegionAndName,String>
Modifier and Type | Field and Description |
---|---|
protected Logger |
logger |
protected AWSSecurityGroupClient |
securityClient |
protected com.google.common.base.Predicate<RegionAndName> |
securityGroupEventualConsistencyDelay |
Constructor and Description |
---|
AWSEC2CreateSecurityGroupIfNeeded(AWSEC2Client ec2Client,
com.google.common.base.Predicate<RegionAndName> securityGroupEventualConsistencyDelay) |
AWSEC2CreateSecurityGroupIfNeeded(AWSSecurityGroupClient securityClient,
com.google.common.base.Predicate<RegionAndName> securityGroupEventualConsistencyDelay) |
Modifier and Type | Method and Description |
---|---|
String |
load(RegionAndName from) |
@Named(value="jclouds.compute") protected Logger logger
protected final AWSSecurityGroupClient securityClient
protected final com.google.common.base.Predicate<RegionAndName> securityGroupEventualConsistencyDelay
@Inject public AWSEC2CreateSecurityGroupIfNeeded(AWSEC2Client ec2Client, @Named(value="SECURITY") com.google.common.base.Predicate<RegionAndName> securityGroupEventualConsistencyDelay)
public AWSEC2CreateSecurityGroupIfNeeded(AWSSecurityGroupClient securityClient, @Named(value="SECURITY") com.google.common.base.Predicate<RegionAndName> securityGroupEventualConsistencyDelay)
public String load(RegionAndName from)
load
in class com.google.common.cache.CacheLoader<RegionAndName,String>
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.