|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Immutable public interface ExecutorStats
Class that exposes statistics of a ThreadPoolExecutor
Method Summary | |
---|---|
int |
getActiveCount()
How many threads are currently executing |
java.util.List<java.lang.Runnable> |
getEventsQueue()
LIst of Runnable that current waiting to be run |
int |
getPoolSize()
THe maximmum number of threads |
java.util.Map<java.lang.String,Pair<java.lang.Runnable,java.util.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 java.util.List<java.lang.Runnable> getEventsQueue()
Runnable
that current waiting to be run
@NotNull java.util.Map<java.lang.String,Pair<java.lang.Runnable,java.util.Date>> getThreadToRunnableMappings()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |