org.gridkit.jvmtool.stacktrace.codec.json
Class JfrEventParser

java.lang.Object
  extended by org.gridkit.jvmtool.stacktrace.codec.json.JfrEventParser
All Implemented Interfaces:
JsonEventAdapter

public class JfrEventParser
extends Object
implements JsonEventAdapter


Constructor Summary
JfrEventParser()
           
 
Method Summary
protected  JsonStreamHandler.JsonObjectHandler createEventHandler(String typeId)
           
 CommonEvent parseNextEvent(JsonEventSource source)
           
 void push(CommonEvent nextEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JfrEventParser

public JfrEventParser()
Method Detail

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.