org.jgroups.stack
Class Interval

java.lang.Object
  extended byorg.jgroups.stack.Interval

public class Interval
extends java.lang.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
 long first()
           
 long[] getInterval()
           
 long next()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interval

public Interval(long[] interval)
Method Detail

first

public long first()

next

public long next()
Returns:
the next interval

getInterval

public long[] getInterval()

reset

public void reset()


Copyright ? 2001,2002 www.jgroups.com . All Rights Reserved.