Package de.christofreichardt.diagnosis
Class ThreadLocalMap
- java.lang.Object
-
- de.christofreichardt.diagnosis.AbstractThreadMap
-
- de.christofreichardt.diagnosis.ThreadLocalMap
-
public class ThreadLocalMap extends AbstractThreadMap
- 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 Constructor Description ThreadLocalMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCurrentStackSize()Returns the stack size of the current thread.
-
-
-
Method Detail
-
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
-
-