Package de.christofreichardt.diagnosis
Class AbstractThreadMap
- java.lang.Object
-
- de.christofreichardt.diagnosis.AbstractThreadMap
-
- Direct Known Subclasses:
ThreadLocalMap,ThreadMap
public abstract class AbstractThreadMap extends Object
Has been introduced to exchange thread maps which are based onMap<Thread,TracingContext>with thread maps which are based onThreadLocals and vice versa.- Author:
- Christof Reichardt
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractThreadMap.RuntimeExceptionIndicates a corruption of the method stack.
-
Field Summary
Fields Modifier and Type Field Description static intSTACK_SIZEdenotes the maximal number of traced methods on the stack
-
Constructor Summary
Constructors Constructor Description AbstractThreadMap()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract intgetCurrentStackSize()Returns the stack size of the current thread.
-
-
-
Field Detail
-
STACK_SIZE
public static final int STACK_SIZE
denotes the maximal number of traced methods on the stack- See Also:
- Constant Field Values
-
-