public interface PoolInfo
Modifier and Type | Method and Description |
---|---|
int |
getAliveTime()
Gets the number of seconds this pool is alive.
|
int |
getBusyTime()
Gets the number of seconds this pool spent so far executing tasks.
|
int |
getCpuTime()
Gets the cpu time.
|
int |
getParallelism()
Gets the parallelism of this pool.
|
List<String> |
getSessionIds()
Gets the session ids of the sessions that are currently using this pool.
|
PoolType |
getType()
Gets the type of the thread pool.
|
boolean |
isBusy()
Checks if the pool is busy.
|
int getAliveTime()
Control.resizePool(PoolType, int)
int getBusyTime()
Control.resizePool(PoolType, int)
int getCpuTime()
getBusyTime()
times getParallelism()
. Note that this value gets reseted on each Control.resizePool(PoolType, int)
int getParallelism()
List<String> getSessionIds()
PoolInfoImpl#isBusy()
is false.PoolType getType()
boolean isBusy()
Copyright © 2015. All rights reserved.