Class FindSecurityGroupOrCreate
- java.lang.Object
-
- com.google.common.cache.CacheLoader<ZoneAndName,SecurityGroup>
-
- org.jclouds.cloudstack.compute.loaders.FindSecurityGroupOrCreate
-
public class FindSecurityGroupOrCreate extends com.google.common.cache.CacheLoader<ZoneAndName,SecurityGroup>
-
-
Field Summary
Fields Modifier and Type Field Description protected CloudStackApi
client
protected com.google.common.base.Function<ZoneSecurityGroupNamePortsCidrs,SecurityGroup>
groupCreator
protected Logger
logger
-
Constructor Summary
Constructors Constructor Description FindSecurityGroupOrCreate(CloudStackApi client, com.google.common.base.Function<ZoneSecurityGroupNamePortsCidrs,SecurityGroup> groupCreator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityGroup
load(ZoneAndName in)
String
toString()
-
-
-
Field Detail
-
logger
@Named("jclouds.compute") protected Logger logger
-
client
protected final CloudStackApi client
-
groupCreator
protected final com.google.common.base.Function<ZoneSecurityGroupNamePortsCidrs,SecurityGroup> groupCreator
-
-
Constructor Detail
-
FindSecurityGroupOrCreate
@Inject public FindSecurityGroupOrCreate(CloudStackApi client, com.google.common.base.Function<ZoneSecurityGroupNamePortsCidrs,SecurityGroup> groupCreator)
-
-
Method Detail
-
load
public SecurityGroup load(ZoneAndName in)
- Specified by:
load
in classcom.google.common.cache.CacheLoader<ZoneAndName,SecurityGroup>
-
-