|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netflix.loadbalancer.AbstractLoadBalancerPing
public abstract class AbstractLoadBalancerPing
Class that provides the basic implementation of detmerining the "liveness" or suitability of a Server (a node)
Constructor Summary | |
---|---|
AbstractLoadBalancerPing()
|
Method Summary | |
---|---|
AbstractLoadBalancer |
getLoadBalancer()
|
boolean |
isAlive(Server server)
Checks whether the given Server is "alive" i.e. |
void |
setLoadBalancer(AbstractLoadBalancer lb)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.netflix.client.IClientConfigAware |
---|
initWithNiwsConfig |
Constructor Detail |
---|
public AbstractLoadBalancerPing()
Method Detail |
---|
public boolean isAlive(Server server)
IPing
Server
is "alive" i.e. should be
considered a candidate while loadbalancing
isAlive
in interface IPing
public void setLoadBalancer(AbstractLoadBalancer lb)
public AbstractLoadBalancer getLoadBalancer()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |