Class ContinuationDebug

java.lang.Object
rife.continuations.instrument.ContinuationDebug

public class ContinuationDebug extends Object
Configures the debug output of the continuations engine.

Note that this has little use besides for developing on the continuations instrumentation itself.

Since:
1.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Logger
    The logger instance that is used for the debugging.
    static final String[]
    An array with textual representations of the bytecode opcodes.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    setDebug(boolean debug)
    Enables or disables debugging.
    static void
    setTrace(boolean trace)
    Configures the tracing of the continuations instrumentation while it's executing.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • LOGGER

      public static final Logger LOGGER
      The logger instance that is used for the debugging.
      Since:
      1.0
    • OPCODES

      public static final String[] OPCODES
      An array with textual representations of the bytecode opcodes. This is mainly used during tracing.
  • Constructor Details

    • ContinuationDebug

      public ContinuationDebug()
  • Method Details

    • setTrace

      public static void setTrace(boolean trace)
      Configures the tracing of the continuations instrumentation while it's executing.
      Parameters:
      trace - true if tracing should be enabled; or

      false otherwise

      Since:
      1.0
    • setDebug

      public static void setDebug(boolean debug)
      Enables or disables debugging.
      Parameters:
      debug - true if debugging should be enabled; or

      false otherwise

      Since:
      1.0