|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netflix.loadbalancer.RetryRule
public class RetryRule
Given that
IRule
can be cascaded, this RetryRule class allows adding a retry logic to an existing Rule.
Constructor Summary
RetryRule()
RetryRule(IRule subRule)
RetryRule(IRule subRule,
long maxRetryMillis)
Method Summary
Server
choose(BaseLoadBalancer lb,
java.lang.Object key)
long
getMaxRetryMillis()
IRule
getRule()
void
setMaxRetryMillis(long maxRetryMillis)
void
setRule(IRule subRule)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
RetryRule
public RetryRule()
RetryRule
public RetryRule(IRule subRule)
RetryRule
public RetryRule(IRule subRule,
long maxRetryMillis)
Method Detail
setRule
public void setRule(IRule subRule)
getRule
public IRule getRule()
setMaxRetryMillis
public void setMaxRetryMillis(long maxRetryMillis)
getMaxRetryMillis
public long getMaxRetryMillis()
choose
public Server choose(BaseLoadBalancer lb,
java.lang.Object key)
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD