|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Internal @Immutable public interface ExecutorStats
Class that exposes statistics of a ThreadPoolExecutor
Method Summary | |
---|---|
int |
getActiveCount()
How many threads are currently executing |
List<Runnable> |
getEventsQueue()
LIst of Runnable that current waiting to be run |
int |
getPoolSize()
THe maximmum number of threads |
Map<String,Pair<Runnable,Date>> |
getThreadToRunnableMappings()
A mapping of a ThreadName to a pair of Runnable and the date the runnable started running. |
Method Detail |
---|
int getActiveCount()
int getPoolSize()
@NotNull List<Runnable> getEventsQueue()
Runnable
that current waiting to be run
@NotNull Map<String,Pair<Runnable,Date>> getThreadToRunnableMappings()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |