org.nuxeo.ecm.core.event.impl
Class AsyncEventExecutor
java.lang.Object
org.nuxeo.ecm.core.event.impl.AsyncEventExecutor
public class AsyncEventExecutor
- extends java.lang.Object
ThreadPoolExecutor of listeners for event bundles.
Constructor Summary |
AsyncEventExecutor(int poolSize,
int maxPoolSize,
int keepAliveTime,
int queueSize)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QUEUE_SIZE
public static final int QUEUE_SIZE
- See Also:
- Constant Field Values
AsyncEventExecutor
public AsyncEventExecutor(int poolSize,
int maxPoolSize,
int keepAliveTime,
int queueSize)
create
public static AsyncEventExecutor create()
shutdown
public void shutdown()
shutdown
public void shutdown(long timeout)
run
public void run(java.util.List<EventListenerDescriptor> listeners,
EventBundle event)
getUnfinishedCount
public int getUnfinishedCount()
getActiveCount
public int getActiveCount()
getMaxPoolSize
public int getMaxPoolSize()
setMaxPoolSize
public void setMaxPoolSize(int maxSize)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.