Package org.jgroups.stack
Interface Interval
-
- All Known Implementing Classes:
ExponentialInterval
,StaticInterval
public interface Interval
Interface which returns a time series, one value at a time calling next()- Version:
- $Id: Interval.java,v 1.3 2007/08/10 12:32:17 belaban Exp $
- Author:
- Bela Ban
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Interval
copy()
Returns a copy of the state.long
next()
-
-
-
Method Detail
-
next
long next()
- Returns:
- the next interval
-
copy
Interval copy()
Returns a copy of the state. If there is no state, this method may return a ref to itself
-
-