org.gridkit.jvmtool.stacktrace.codec.json
Class JfrEventReader
java.lang.Object
org.gridkit.jvmtool.stacktrace.codec.json.JfrEventReader
- All Implemented Interfaces:
- Iterable<CommonEvent>, Iterator<CommonEvent>, EventReader<CommonEvent>
public class JfrEventReader
- extends Object
- implements EventReader<CommonEvent>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JfrEventReader
public JfrEventReader(JsonEventSource source,
JsonEventAdapter adapter)
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<CommonEvent>
next
public CommonEvent next()
- Specified by:
next in interface Iterator<CommonEvent>
remove
public void remove()
- Specified by:
remove in interface Iterator<CommonEvent>
iterator
public Iterator<CommonEvent> iterator()
- Specified by:
iterator in interface Iterable<CommonEvent>
morph
public <M extends Event> EventReader<M> morph(EventMorpher<CommonEvent,M> morpher)
- Specified by:
morph in interface EventReader<CommonEvent>
peekNext
public CommonEvent peekNext()
- Description copied from interface:
EventReader
- Return next element without advancing iterator.
- Specified by:
peekNext in interface EventReader<CommonEvent>
dispose
public void dispose()
- Specified by:
dispose in interface EventReader<CommonEvent>
Copyright © 2019. All Rights Reserved.