|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jgroups.stack.StaticInterval
public class StaticInterval
Manages retransmission timeouts. Always returns the next timeout, until the last timeout in the
array is reached. Returns the last timeout from then on. Note that this class is not immutable,
so it shouldn't be shared between instances, as next()
will modify the state.
Constructor Summary | |
---|---|
StaticInterval(int... vals)
|
Method Summary | |
---|---|
Interval |
copy()
Returns a copy of the state. |
long |
next()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StaticInterval(int... vals)
Method Detail |
---|
public Interval copy()
Interval
copy
in interface Interval
public long next()
next
in interface Interval
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |