|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.netflix.loadbalancer.AbstractLoadBalancerPing com.netflix.loadbalancer.DummyPing
public class DummyPing
Default simple implementation that marks the liveness of a Server
Constructor Summary | |
---|---|
DummyPing()
|
Method Summary | |
---|---|
void |
initWithNiwsConfig(IClientConfig clientConfig)
Concrete implementation should implement this method so that the configuration set via IClientConfig (which in turn were set via Archaius properties) will be taken into consideration |
boolean |
isAlive(Server server)
Checks whether the given Server is "alive" i.e. |
Methods inherited from class com.netflix.loadbalancer.AbstractLoadBalancerPing |
---|
getLoadBalancer, setLoadBalancer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DummyPing()
Method Detail |
---|
public boolean isAlive(Server server)
IPing
Server
is "alive" i.e. should be
considered a candidate while loadbalancing
isAlive
in interface IPing
isAlive
in class AbstractLoadBalancerPing
public void initWithNiwsConfig(IClientConfig clientConfig)
IClientConfigAware
IClientConfig
(which in turn were set via Archaius properties) will be taken into consideration
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |