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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintvoidinit()voidrun(List<EventListenerDescriptor> listeners, EventBundle bundle) booleanshutdown(long timeoutMillis) booleanwaitForCompletion(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()
-