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 Type
    Method
    Description
    int
    Returns CPU milliseconds the invocation consumed.
    Returns the invocation outcome, such as ok or exception.
    Returns the name of the Worker that produced the event.
    int
    Returns 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 as ok or exception.
      Returns:
      the invocation outcome, such as ok or exception
    • 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