Interface ScriptTrace

All Known Implementing Classes:
DefaultScriptTrace

public interface ScriptTrace
Captures meta information about a script invocation, like the start time, the duration of the script execution, tags, whether it ended with an exception, etc.
  • Method Details

    • getRequest

      ScriptEngineRequest getRequest()
    • getException

      Throwable getException()
    • getTraceTags

      Map<String,String> getTraceTags()
    • getDuration

      Duration getDuration()
    • hasException

      default boolean hasException()
    • isSuccess

      default boolean isSuccess()