Package io.higson.runtime.diagnostic
Class HigsonFlightRecorder
java.lang.Object
io.higson.runtime.diagnostic.HigsonFlightRecorder
Higson Flight Recorder is a tool for collecting internal events that do not affect engine performance.
Each HigsonEngine has its own flight recorder instance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEvent(InternalEvent event) Record the occurrence of provided internal event, no accompanying data.voidaddEvent(InternalEvent event, Object data) Record the occurrence of provided internal event with some accompanying data.longgetCount(InternalEvent event) longgetCount(InternalEvent event, Object data) longgetCountByPrefix(InternalEvent event) getStat(InternalEvent event) getStat(InternalEvent event, Object data) print()voidreset()
-
Constructor Details
-
HigsonFlightRecorder
public HigsonFlightRecorder()
-
-
Method Details
-
addEvent
Record the occurrence of provided internal event with some accompanying data. -
addEvent
Record the occurrence of provided internal event, no accompanying data. -
reset
public void reset() -
getStat
-
getStat
-
getCount
-
getCount
-
getCountByPrefix
-
print
-