com.liferay.portal.kernel.messaging
Class ParallelDestination
java.lang.Object
com.liferay.portal.kernel.messaging.BaseDestination
com.liferay.portal.kernel.messaging.BaseAsyncDestination
com.liferay.portal.kernel.messaging.ParallelDestination
- All Implemented Interfaces:
- Destination
public class ParallelDestination
- extends BaseAsyncDestination
Destination that delivers a message to a list of message listeners in
parallel.
Methods inherited from class com.liferay.portal.kernel.messaging.BaseAsyncDestination |
close, createRejectionExecutionHandler, getDestinationStatistics, getMaximumQueueSize, getThreadPoolExecutor, getWorkersCoreSize, getWorkersMaxSize, open, populateMessageFromThreadLocals, populateThreadLocalsFromMessage, send, setMaximumQueueSize, setRejectedExecutionHandler, setWorkersCoreSize, setWorkersMaxSize |
Methods inherited from class com.liferay.portal.kernel.messaging.BaseDestination |
addDestinationEventListener, afterPropertiesSet, close, copyDestinationEventListeners, copyMessageListeners, fireMessageListenerRegisteredEvent, fireMessageListenerUnregisteredEvent, getMessageListenerCount, getMessageListeners, getName, isRegistered, register, register, registerMessageListener, removeDestinationEventListener, removeDestinationEventListeners, setName, unregister, unregister, unregisterMessageListener, unregisterMessageListeners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParallelDestination
public ParallelDestination()
ParallelDestination
public ParallelDestination(String name)
- Deprecated.
ParallelDestination
public ParallelDestination(String name,
int workersCoreSize,
int workersMaxSize)
- Deprecated.
dispatch
protected void dispatch(Set<MessageListener> messageListeners,
Message message)
- Specified by:
dispatch
in class BaseAsyncDestination