org.jgroups.stack

Class Interval

public class Interval extends Object

Manages retransmission timeouts. Always returns the next timeout, until the last timeout in the array is reached. Returns the last timeout from then on, until reset() is called.

Author: John Giorgiadis Bela Ban

Constructor Summary
Interval(long[] interval)
Method Summary
longfirst()
long[]getInterval()
longnext()
voidreset()

Constructor Detail

Interval

public Interval(long[] interval)

Method Detail

first

public long first()

getInterval

public long[] getInterval()

next

public long next()

Returns: the next interval

reset

public void reset()
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.