Class ThreadLocalMap

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

public class ThreadLocalMap extends AbstractThreadMap
A AbstractThreadMap which maps threads on TracingContexts by using ThreadLocals.
Author:
Christof Reichardt
  • Constructor Details

    • ThreadLocalMap

      public ThreadLocalMap()
  • Method Details

    • getCurrentStackSize

      public int getCurrentStackSize()
      Description copied from class: AbstractThreadMap
      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 or -1 if there is no stack for the current thread