|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThreadPoolSizingStrategy
A ThreadPoolSizingStrategy is a pluggable strategy used by a Coherence service thread pool to manage its size.
The ThreadPoolSizingStrategy is initialized during the starting of a Service. The strategy will periodically analyze the threads usage of the thread pool and make adjustments to the size of its thread pool. Strategies may be stateful (e.g. some strategies may formulate recommendations based on trends over accumulated statistics).
Method Summary | |
---|---|
int |
adjustPoolSize() Analyze the thread usage of the thread pool. |
java.lang.String |
getDescription() Return a human-readable description of the state of the ThreadPoolSizingStrategy. |
void |
init(ThreadPoolManager mgr) Initialize the ThreadPoolSizingStrategy and bind it to the specified manager. |
Method Detail |
---|
void init(ThreadPoolManager mgr)
mgr
- the ThreadPoolManager this strategy will be bound toint adjustPoolSize()
The mutation of the statistics information exposed by the Coherence thread pool for the duration of this method call should have minimum impact on the target thread pool size.
java.lang.String getDescription()
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |