@Singleton public class ELBLoadBalanceNodesStrategy extends Object implements LoadBalanceNodesStrategy
| Modifier and Type | Field and Description | 
|---|---|
protected ELBApi | 
api  | 
protected com.google.common.base.Function<LoadBalancerInRegion,LoadBalancerMetadata> | 
converter  | 
protected Logger | 
logger  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
ELBLoadBalanceNodesStrategy(ELBApi api,
                           com.google.common.base.Function<LoadBalancerInRegion,LoadBalancerMetadata> converter)  | 
| Modifier and Type | Method and Description | 
|---|---|
LoadBalancerMetadata | 
createLoadBalancerInLocation(Location location,
                            String name,
                            String protocol,
                            int loadBalancerPort,
                            int instancePort,
                            Iterable<? extends NodeMetadata> nodes)  | 
@Named(value="jclouds.loadbalancer") protected Logger logger
protected final ELBApi api
protected final com.google.common.base.Function<LoadBalancerInRegion,LoadBalancerMetadata> converter
@Inject protected ELBLoadBalanceNodesStrategy(ELBApi api, com.google.common.base.Function<LoadBalancerInRegion,LoadBalancerMetadata> converter)
public LoadBalancerMetadata createLoadBalancerInLocation(Location location, String name, String protocol, int loadBalancerPort, int instancePort, Iterable<? extends NodeMetadata> nodes)
createLoadBalancerInLocation in interface LoadBalanceNodesStrategylocation - null if defaultprotocol - LoadBalancer transport protocol to use for routing - TCP or HTTP. This property
           cannot be modified for the life of the LoadBalancer.loadBalancerPort - The external TCP port of the LoadBalancer. Valid LoadBalancer ports are - 80, 443
           and 1024 through 65535. This property cannot be modified for the life of the
           LoadBalancer.instancePort - The InstancePort data type is simple type of type: integer. It is the TCP port on
           which the server on the instance is listening. Valid instance ports are one (1)
           through 65535. This property cannot be modified for the life of the LoadBalancer.nodes - nodes to loadbalanceComputeServiceCopyright © 2009-2013 jclouds. All Rights Reserved.