ModeShape Distribution 3.0.0.Alpha6

org.modeshape.common.util
Class ThreadPools.ThreadPoolHolder

java.lang.Object
  extended by 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)

ModeShape Distribution 3.0.0.Alpha6

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