Package de.christofreichardt.diagnosis
Class ThreadLocalMap
java.lang.Object
de.christofreichardt.diagnosis.AbstractThreadMap
de.christofreichardt.diagnosis.ThreadLocalMap
- Author:
- Christof Reichardt
-
Nested Class Summary
Nested classes/interfaces inherited from class de.christofreichardt.diagnosis.AbstractThreadMap
AbstractThreadMap.RuntimeException -
Field Summary
Fields inherited from class de.christofreichardt.diagnosis.AbstractThreadMap
STACK_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the stack size of the current thread.
-
Constructor Details
-
ThreadLocalMap
public ThreadLocalMap()
-
-
Method Details
-
getCurrentStackSize
public int getCurrentStackSize()Description copied from class:AbstractThreadMapReturns the stack size of the current thread. The value -1 indicates that the current thread isn't registered.- Specified by:
getCurrentStackSizein classAbstractThreadMap- Returns:
- the current stack size or -1 if there is no stack for the current thread
-