org.jgroups.stack

Class 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.

Authors:
John Giorgiadis
Bela Ban

Constructor Summary

Interval(long[] interval)

Method Summary

long
first()
long[]
getInterval()
long
next()
void
reset()

Constructor Details

Interval

public Interval(long[] interval)

Method Details

first

public long first()


getInterval

public long[] getInterval()


next

public long next()

Returns:
the next interval


reset

public void reset()


Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.