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 int
current
private long[]
data
private TimerEvent
entry
private TimerFactory
factory
private int
nextFree
-
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 boolean
hasNext()
TimerEvent
next()
void
remove()
-
-
-
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:
remove
in interfacejava.util.Iterator<TimerEvent>
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<TimerEvent>
-
next
public TimerEvent next()
- Specified by:
next
in interfacejava.util.Iterator<TimerEvent>
-
-