public class BaseLoadBalancer<N extends BaseNode<N>,T extends BaseLoadBalancer<N,T>> extends Object implements Comparable<BaseLoadBalancer<N,T>>
Modifier and Type | Class and Description |
---|---|
static class |
BaseLoadBalancer.Builder<N extends BaseNode<N>,T extends BaseLoadBalancer<N,T>> |
Modifier and Type | Field and Description |
---|---|
protected String |
algorithm |
protected String |
name |
protected SortedSet<N> |
nodes |
protected Integer |
port |
protected String |
protocol |
Modifier | Constructor and Description |
---|---|
protected |
BaseLoadBalancer() |
|
BaseLoadBalancer(String name,
String protocol,
Integer port,
String algorithm,
Iterable<N> nodes) |
Modifier and Type | Method and Description |
---|---|
static <N extends BaseNode<N>,T extends BaseLoadBalancer<N,T>> |
builder() |
int |
compareTo(BaseLoadBalancer<N,T> arg0) |
boolean |
equals(Object obj) |
String |
getAlgorithm() |
String |
getName() |
Set<N> |
getNodes() |
Integer |
getPort() |
String |
getProtocol() |
int |
hashCode() |
BaseLoadBalancer.Builder<N,T> |
toBuilder() |
String |
toString() |
protected String name
protected String protocol
protected Integer port
protected String algorithm
public static <N extends BaseNode<N>,T extends BaseLoadBalancer<N,T>> BaseLoadBalancer.Builder<N,T> builder()
public BaseLoadBalancer.Builder<N,T> toBuilder()
public int compareTo(BaseLoadBalancer<N,T> arg0)
compareTo
in interface Comparable<BaseLoadBalancer<N extends BaseNode<N>,T extends BaseLoadBalancer<N,T>>>
public String getName()
public String getProtocol()
public Integer getPort()
@Nullable public String getAlgorithm()
Copyright © 2009-2012 jclouds. All Rights Reserved.