Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.common.util
Class ThreadPools.ThreadPoolHolder

    java.lang.Object
      org.modeshape.common.util.ThreadPools.ThreadPoolHolder

Enclosing class:
  ThreadPools

    protected static final class ThreadPools.ThreadPoolHolder

extends Object

Field Summary
`protected ExecutorService` | `threadPool`
`protected AtomicInteger` | `users`

Constructor Summary
`protected` | `ThreadPools.ThreadPoolHolder(ExecutorService threadPool)`

Method Summary
`protected boolean` | `release(Executor pool)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### threadPool

    protected final ExecutorService threadPool

### users

    protected final AtomicInteger users

Constructor Detail

### ThreadPools.ThreadPoolHolder

    protected ThreadPools.ThreadPoolHolder(ExecutorService threadPool)

Method Detail

### release

    protected boolean release(Executor pool)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.