|
ModeShape Distribution 3.0.0.Alpha4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThreadPoolFactory
Factory interface for creating/obtaining named thread pools.
Method Summary | |
---|---|
Executor |
getThreadPool(String name)
Obtain a thread pool with the supplied name, or create and return one if no thread pool exists with that name. |
void |
releaseThreadPool(Executor pool)
Signal that the supplied thread pool is no longer needed. |
Method Detail |
---|
Executor getThreadPool(String name)
released
.
name
- the name of the thread pool; may not be null
void releaseThreadPool(Executor pool)
pool
- the pool that is no longer needed
|
ModeShape Distribution 3.0.0.Alpha4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |