Class 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 Detail

      • ThreadMap

        public ThreadMap()
    • Method Detail

      • 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