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
InterruptedException
public boolean waitForCompletion(long timeoutMillis) throws InterruptedException
InterruptedException
public void run(List<EventListenerDescriptor> listeners, EventBundle bundle)
public int getUnfinishedCount()
public int getActiveCount()
Copyright © 2018 Nuxeo. All rights reserved.