org.gridkit.jvmtool.stacktrace.codec.json
Class JfrEventParser
java.lang.Object
org.gridkit.jvmtool.stacktrace.codec.json.JfrEventParser
- All Implemented Interfaces:
- JsonEventAdapter
public class JfrEventParser
- extends Object
- implements JsonEventAdapter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JfrEventParser
public JfrEventParser()
parseNextEvent
public CommonEvent parseNextEvent(JsonEventSource source)
throws IOException
- Specified by:
parseNextEvent in interface JsonEventAdapter
- Returns:
- next available event at source or null if no events available
- Throws:
IOException
push
public void push(CommonEvent nextEvent)
createEventHandler
protected JsonStreamHandler.JsonObjectHandler createEventHandler(String typeId)
Copyright © 2019. All Rights Reserved.