public class AsyncEventExecutor extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AsyncEventExecutor.ListenerWork |
| Constructor and Description |
|---|
AsyncEventExecutor() |
| Modifier and Type | Method and Description |
|---|---|
int |
getActiveCount() |
int |
getUnfinishedCount() |
WorkManager |
getWorkManager() |
void |
init() |
void |
run(List<EventListenerDescriptor> listeners,
EventBundle bundle) |
boolean |
shutdown(long timeoutMillis) |
boolean |
waitForCompletion(long timeoutMillis) |
public AsyncEventExecutor()
public WorkManager getWorkManager()
public void init()
public boolean shutdown(long timeoutMillis) throws InterruptedException
InterruptedExceptionpublic boolean waitForCompletion(long timeoutMillis) throws InterruptedException
InterruptedExceptionpublic void run(List<EventListenerDescriptor> listeners, EventBundle bundle)
public int getUnfinishedCount()
public int getActiveCount()
Copyright © 2019 Nuxeo. All rights reserved.