@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 |
---|---|
String |
load(RegionAndName from) |
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>
Copyright © 2009-2012 jclouds. All Rights Reserved.