Class NovaCreateSecurityGroupIfNeeded

java.lang.Object
com.google.common.cache.CacheLoader<org.jclouds.ec2.compute.domain.RegionAndName,String>
org.jclouds.ec2.compute.loaders.CreateSecurityGroupIfNeeded
org.jclouds.openstack.nova.ec2.loaders.NovaCreateSecurityGroupIfNeeded

@Singleton public class NovaCreateSecurityGroupIfNeeded extends org.jclouds.ec2.compute.loaders.CreateSecurityGroupIfNeeded
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.google.common.cache.CacheLoader

    com.google.common.cache.CacheLoader.InvalidCacheLoadException, com.google.common.cache.CacheLoader.UnsupportedLoadingOperationException
  • Field Summary

    Fields inherited from class org.jclouds.ec2.compute.loaders.CreateSecurityGroupIfNeeded

    logger, securityClient, securityGroupEventualConsistencyDelay
  • Constructor Summary

    Constructors
    Constructor
    Description
    NovaCreateSecurityGroupIfNeeded(org.jclouds.ec2.EC2Api ec2Client, com.google.common.base.Predicate<org.jclouds.ec2.compute.domain.RegionAndName> securityGroupEventualConsistencyDelay)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    Methods inherited from class org.jclouds.ec2.compute.loaders.CreateSecurityGroupIfNeeded

    createIngressRuleForTCPPort, load

    Methods inherited from class com.google.common.cache.CacheLoader

    asyncReloading, from, from, loadAll, reload

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NovaCreateSecurityGroupIfNeeded

      @Inject public NovaCreateSecurityGroupIfNeeded(org.jclouds.ec2.EC2Api ec2Client, @Named("SECURITY") com.google.common.base.Predicate<org.jclouds.ec2.compute.domain.RegionAndName> securityGroupEventualConsistencyDelay)
  • Method Details

    • authorizeGroupToItself

      protected void authorizeGroupToItself(String region, String name)
      Overrides:
      authorizeGroupToItself in class org.jclouds.ec2.compute.loaders.CreateSecurityGroupIfNeeded