Class ThreadMap

java.lang.Object
de.christofreichardt.diagnosis.AbstractThreadMap
de.christofreichardt.diagnosis.ThreadMap

public class ThreadMap extends AbstractThreadMap
This class maps threads on TracingContexts. It provides methods to set, access and remove the TracingContext of the current thread. Furthermore to be monitored methods can be pushed on or popped from the method stack of the current TracingContext. For internal use primarily.
Author:
Christof Reichardt
  • Constructor Details

    • ThreadMap

      public ThreadMap()
  • Method Details

    • getCurrentStackSize

      public int getCurrentStackSize()
      Returns the stack size of the current thread. The value -1 indicates that the current thread isn't registered.
      Specified by:
      getCurrentStackSize in class AbstractThreadMap
      Returns:
      the current stack size