Package dev.gmitch215.bytebox
Interface TraceItem
- All Superinterfaces:
org.teavm.jso.JSObject
public interface TraceItem
extends org.teavm.jso.JSObject
One trace event delivered to a
Tail handler.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionintReturns CPU milliseconds the invocation consumed.Returns the invocation outcome, such asokorexception.Returns the name of the Worker that produced the event.intReturns wall-clock milliseconds the invocation took.Methods inherited from interface org.teavm.jso.JSObject
cast
-
Method Details
-
getScriptName
String getScriptName()Returns the name of the Worker that produced the event.- Returns:
- the name of the Worker that produced the event
-
getOutcome
String getOutcome()Returns the invocation outcome, such asokorexception.- Returns:
- the invocation outcome, such as
okorexception
-
getCpuTime
int getCpuTime()Returns CPU milliseconds the invocation consumed.- Returns:
- CPU milliseconds the invocation consumed
-
getWallTime
int getWallTime()Returns wall-clock milliseconds the invocation took.- Returns:
- wall-clock milliseconds the invocation took
-