public class FindSecurityGroupOrCreate extends com.google.common.cache.CacheLoader<ZoneAndName,SecurityGroup>
Modifier and Type | Field and Description |
---|---|
protected CloudStackApi |
client |
protected com.google.common.base.Function<ZoneSecurityGroupNamePortsCidrs,SecurityGroup> |
groupCreator |
protected Logger |
logger |
Constructor and Description |
---|
FindSecurityGroupOrCreate(CloudStackApi client,
com.google.common.base.Function<ZoneSecurityGroupNamePortsCidrs,SecurityGroup> groupCreator) |
Modifier and Type | Method and Description |
---|---|
SecurityGroup |
load(ZoneAndName in) |
String |
toString() |
@Named(value="jclouds.compute") protected Logger logger
protected final CloudStackApi client
protected final com.google.common.base.Function<ZoneSecurityGroupNamePortsCidrs,SecurityGroup> groupCreator
@Inject public FindSecurityGroupOrCreate(CloudStackApi client, com.google.common.base.Function<ZoneSecurityGroupNamePortsCidrs,SecurityGroup> groupCreator)
public SecurityGroup load(ZoneAndName in)
load
in class com.google.common.cache.CacheLoader<ZoneAndName,SecurityGroup>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.