org.jclouds.loadbalancer
Interface LoadBalancerServiceAdapter<B,L>


public interface LoadBalancerServiceAdapter<B,L>

A means of specifying the interface between the LoadBalancerServices and a concrete compute cloud implementation, jclouds or otherwise.

Author:
Adrian Cole

Method Summary
 B createLoadBalancerInLocation(Location location, String loadBalancerName, String protocol, int loadBalancerPort, int instancePort, Iterable<? extends NodeMetadata> nodes)
           
 void destroyLoadBalancer(String id)
           
 B getLoadBalancer(String id)
           
 Iterable<L> listAssignableLocations()
           
 Iterable<B> listLoadBalancers()
           
 

Method Detail

createLoadBalancerInLocation

B createLoadBalancerInLocation(@Nullable
                               Location location,
                               String loadBalancerName,
                               String protocol,
                               int loadBalancerPort,
                               int instancePort,
                               Iterable<? extends NodeMetadata> nodes)
See Also:
LoadBalancerService.createLoadBalancerInLocation(org.jclouds.domain.Location, java.lang.String, java.lang.String, int, int, java.lang.Iterable)

listAssignableLocations

Iterable<L> listAssignableLocations()
See Also:
LoadBalancerService.listAssignableLocations()

getLoadBalancer

B getLoadBalancer(String id)
See Also:
LoadBalancerService.getLoadBalancerMetadata(java.lang.String)

destroyLoadBalancer

void destroyLoadBalancer(String id)
See Also:
LoadBalancerService.destroyLoadBalancer(java.lang.String)

listLoadBalancers

Iterable<B> listLoadBalancers()
See Also:
LoadBalancerService.listLoadBalancers()


Copyright © 2009-2011 jclouds. All Rights Reserved.