Class Cflow


public class Cflow extends ThreadLocal<Cflow.Depth>
A support class for implementing $cflow. This support class is required at runtime only if $cflow is used.
See Also:
  • Constructor Details

    • Cflow

      public Cflow()
  • Method Details

    • initialValue

      protected Cflow.Depth initialValue()
      Overrides:
      initialValue in class ThreadLocal<Cflow.Depth>
    • enter

      public void enter()
      Increments the counter.
    • exit

      public void exit()
      Decrements the counter.
    • value

      public int value()
      Returns the value of the counter.