org.jclouds.cloudstack.functions
Class GetFirewallRulesByVirtualMachine

java.lang.Object
  extended by com.google.common.cache.CacheLoader<String,Set<FirewallRule>>
      extended by org.jclouds.cloudstack.functions.GetFirewallRulesByVirtualMachine

@Singleton
public class GetFirewallRulesByVirtualMachine
extends com.google.common.cache.CacheLoader<String,Set<FirewallRule>>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.common.cache.CacheLoader
com.google.common.cache.CacheLoader.InvalidCacheLoadException
 
Constructor Summary
GetFirewallRulesByVirtualMachine(CloudStackApi client)
           
 
Method Summary
 Set<FirewallRule> load(String input)
           
 
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 Detail

GetFirewallRulesByVirtualMachine

@Inject
public GetFirewallRulesByVirtualMachine(CloudStackApi client)
Method Detail

load

public Set<FirewallRule> load(String input)
Specified by:
load in class com.google.common.cache.CacheLoader<String,Set<FirewallRule>>
Throws:
org.jclouds.rest.ResourceNotFoundException - when there is no ip forwarding rule available for the VM


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.