org.ow2.util.pool.impl.enhanced.impl.thread.threadpoolexecutor
Class ExecutorReusableThreadFactory

java.lang.Object
  extended by org.ow2.util.pool.impl.enhanced.impl.thread.threadpoolexecutor.ExecutorReusableThreadFactory
All Implemented Interfaces:
IPoolItemFactory<IReusableThread>

public class ExecutorReusableThreadFactory
extends java.lang.Object
implements IPoolItemFactory<IReusableThread>

Author:
Gael Lalire

Constructor Summary
ExecutorReusableThreadFactory(java.util.concurrent.Executor executor)
           
 
Method Summary
 ExecutorReusableThread createPoolItem()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutorReusableThreadFactory

public ExecutorReusableThreadFactory(java.util.concurrent.Executor executor)
Method Detail

createPoolItem

public ExecutorReusableThread createPoolItem()
Specified by:
createPoolItem in interface IPoolItemFactory<IReusableThread>
Returns:
a new pool item


Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.