@Singleton public class CreateSecurityGroupIfNeeded extends com.google.common.cache.CacheLoader<RegionAndName,String>
| Modifier and Type | Field and Description | 
|---|---|
protected Logger | 
logger  | 
protected SecurityGroupClient | 
securityClient  | 
protected com.google.common.base.Predicate<RegionAndName> | 
securityGroupEventualConsistencyDelay  | 
| Constructor and Description | 
|---|
CreateSecurityGroupIfNeeded(EC2Client ec2Client,
                           com.google.common.base.Predicate<RegionAndName> securityGroupEventualConsistencyDelay)  | 
CreateSecurityGroupIfNeeded(SecurityGroupClient securityClient,
                           com.google.common.base.Predicate<RegionAndName> securityGroupEventualConsistencyDelay)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
authorizeGroupToItself(String region,
                      String name)  | 
protected void | 
createIngressRuleForTCPPort(String region,
                           String name,
                           int port)  | 
String | 
load(RegionAndName from)  | 
@Named(value="jclouds.compute") protected Logger logger
protected final SecurityGroupClient securityClient
protected final com.google.common.base.Predicate<RegionAndName> securityGroupEventualConsistencyDelay
@Inject public CreateSecurityGroupIfNeeded(EC2Client ec2Client, @Named(value="SECURITY") com.google.common.base.Predicate<RegionAndName> securityGroupEventualConsistencyDelay)
public CreateSecurityGroupIfNeeded(SecurityGroupClient 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>protected void createIngressRuleForTCPPort(String region, String name, int port)
Copyright © 2009-2013 jclouds. All Rights Reserved.