|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.event.spi.ExecutorStatsImpl
@Immutable public class ExecutorStatsImpl
Constructor Summary | |
---|---|
ExecutorStatsImpl(EventLoggingThreadPoolExecutor executor)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExecutorStatsImpl(EventLoggingThreadPoolExecutor executor)
Method Detail |
---|
public int getActiveCount()
ExecutorStats
getActiveCount
in interface ExecutorStats
public int getPoolSize()
ExecutorStats
getPoolSize
in interface ExecutorStats
@NotNull public java.util.List<java.lang.Runnable> getEventsQueue()
ExecutorStats
Runnable
that current waiting to be run
getEventsQueue
in interface ExecutorStats
@NotNull public java.util.Map<java.lang.String,Pair<java.lang.Runnable,java.util.Date>> getThreadToRunnableMappings()
ExecutorStats
getThreadToRunnableMappings
in interface ExecutorStats
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |