Package com.tangosol.net
Interface ThreadPoolManager
public interface ThreadPoolManager
A ThreadPoolManager manages the thread pool information for a Coherence
 service thread pool.  The thread pool relies on a pluggable 
ThreadPoolSizingStrategy to analyze the current thread usage
 and adjust its size accordingly.
 
 The ThreadPoolManager provides a consistent and stable view of DaemonPool
 state for the duration of the call to ThreadPoolSizingStrategy.adjustPoolSize().
- Since:
- Coherence 12.1.2
- Author:
- lh 2011.12.21
- 
Method SummaryModifier and TypeMethodDescriptionintReturn the backlog of the thread pool.intReturn the idle thread count of the thread pool.intReturn the maximum size of the thread pool.intReturn the minimum size of the thread pool.intReturn the current size of the thread pool.longReturn the time interval for dynamically decreasing the size of the thread pool.longReturn the time interval for dynamically increasing the size of the thread pool.
- 
Method Details- 
getMinPoolSizeint getMinPoolSize()Return the minimum size of the thread pool.- Returns:
- the minimum size of the thread pool
 
- 
getMaxPoolSizeint getMaxPoolSize()Return the maximum size of the thread pool.- Returns:
- the maximum size of the thread pool
 
- 
getPoolSizeint getPoolSize()Return the current size of the thread pool.- Returns:
- the current size of the thread pool
 
- 
getBacklogint getBacklog()Return the backlog of the thread pool.- Returns:
- the backlog of the thread pool
 
- 
getIdleThreadCountint getIdleThreadCount()Return the idle thread count of the thread pool.- Returns:
- the idle thread count of the thread pool
 
- 
getThreadDecreaseIntervallong getThreadDecreaseInterval()Return the time interval for dynamically decreasing the size of the thread pool.- Returns:
- the time interval for dynamically decreasing the size of the thread pool
 
- 
getThreadIncreaseIntervallong getThreadIncreaseInterval()Return the time interval for dynamically increasing the size of the thread pool.- Returns:
- the time interval for dynamically increasing the size of the thread pool
 
 
-