public class AsynchronousPool extends Object
| Constructor and Description |
|---|
AsynchronousPool(ThreadPoolExecutor threadPoolExecutor,
Duration awaitDuration) |
| Modifier and Type | Method and Description |
|---|---|
static AsynchronousPool |
create(AppContext appContext) |
Object |
invoke(Callable<Object> callable,
boolean isVoid) |
void |
stop() |
public AsynchronousPool(ThreadPoolExecutor threadPoolExecutor, Duration awaitDuration)
public static AsynchronousPool create(AppContext appContext)
public Object invoke(Callable<Object> callable, boolean isVoid) throws Throwable
Throwablepublic void stop()
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.