Package org.nuxeo.ecm.core.event.impl
Class AsyncEventExecutor
java.lang.Object
org.nuxeo.ecm.core.event.impl.AsyncEventExecutor
Executor of async listeners passing them to the WorkManager.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
init()
void
run
(List<EventListenerDescriptor> listeners, EventBundle bundle) boolean
shutdown
(long timeoutMillis) boolean
waitForCompletion
(long timeoutMillis)
-
Constructor Details
-
AsyncEventExecutor
public AsyncEventExecutor()
-
-
Method Details
-
getWorkManager
-
init
public void init() -
shutdown
- Throws:
InterruptedException
-
waitForCompletion
- Throws:
InterruptedException
-
run
-
getUnfinishedCount
public int getUnfinishedCount() -
getActiveCount
public int getActiveCount()
-