org.apache.openejb.async
Class AsynchronousPool

java.lang.Object
  extended by org.apache.openejb.async.AsynchronousPool

public class AsynchronousPool
extends Object

Version:
$Rev$ $Date$

Constructor Summary
AsynchronousPool(ThreadPoolExecutor threadPoolExecutor, Duration awaitDuration)
           
 
Method Summary
static AsynchronousPool create(AppContext appContext)
           
 Object invoke(Callable<Object> callable, boolean isVoid)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsynchronousPool

public AsynchronousPool(ThreadPoolExecutor threadPoolExecutor,
                        Duration awaitDuration)
Method Detail

create

public static AsynchronousPool create(AppContext appContext)

invoke

public Object invoke(Callable<Object> callable,
                     boolean isVoid)
              throws Throwable
Throws:
Throwable

stop

public void stop()


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.