Package org.qubership.profiler.sax.raw
Class TreeTraceVisitor
java.lang.Object
org.qubership.profiler.sax.raw.TreeTraceVisitor
- Direct Known Subclasses:
StringTreeTraceAdapter,TreeBuilderTrace
A visitor to visit profiling event stream:
method enter
method exit
label
Methods must be called in the following order
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intThe API version implemented by this visitor.protected final TreeTraceVisitor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetSp()longgetTime()voidvisitEnd()voidvisitEnter(int methodId) voidvisitEnter(int methodId, long lastAssemblyId, long lastParentAssemblyId, byte isReactorEndPoint, byte isReactorFrame, long reactStartTime, int reactDuration, int blockingOperator, int prevOperation, int currentOperation, int emit) voidvoidvisitLabel(int labelId, ValueHolder value) voidvisitLabel(int labelId, ValueHolder value, long assemblyId) voidvisitTimeAdvance(long timeAdvance)
-
Field Details
-
api
protected final int apiThe API version implemented by this visitor. The value of this field must be one ofProfilerConstants.PROFILER_V1. -
tv
-
-
Constructor Details
-
TreeTraceVisitor
public TreeTraceVisitor(int api) -
TreeTraceVisitor
-
-
Method Details
-
visitEnter
public void visitEnter(int methodId) -
visitEnter
public void visitEnter(int methodId, long lastAssemblyId, long lastParentAssemblyId, byte isReactorEndPoint, byte isReactorFrame, long reactStartTime, int reactDuration, int blockingOperator, int prevOperation, int currentOperation, int emit) -
visitExit
public void visitExit() -
visitLabel
-
visitLabel
-
visitTimeAdvance
public void visitTimeAdvance(long timeAdvance) -
visitEnd
public void visitEnd() -
getSp
public int getSp() -
getTime
public long getTime() -
asSkipVisitEnd
-