Package org.glassfish.pfl.tf.timer.impl
Class LogEventHandlerIterator
- java.lang.Object
-
- org.glassfish.pfl.tf.timer.impl.LogEventHandlerIterator
-
- All Implemented Interfaces:
java.util.Iterator<TimerEvent>
public class LogEventHandlerIterator extends java.lang.Object implements java.util.Iterator<TimerEvent>
-
-
Field Summary
Fields Modifier and Type Field Description private intcurrentprivate long[]dataprivate TimerEvententryprivate TimerFactoryfactoryprivate intnextFree
-
Constructor Summary
Constructors Constructor Description LogEventHandlerIterator(TimerFactory factory, long[] data, int nextFree)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()TimerEventnext()voidremove()
-
-
-
Field Detail
-
current
private int current
-
entry
private TimerEvent entry
-
factory
private final TimerFactory factory
-
data
private final long[] data
-
nextFree
private final int nextFree
-
-
Constructor Detail
-
LogEventHandlerIterator
public LogEventHandlerIterator(TimerFactory factory, long[] data, int nextFree)
-
-
Method Detail
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<TimerEvent>
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<TimerEvent>
-
next
public TimerEvent next()
- Specified by:
nextin interfacejava.util.Iterator<TimerEvent>
-
-