Liferay 6.2-ce-ga5

com.liferay.portal.kernel.messaging
Class ParallelDestination

java.lang.Object
  extended by com.liferay.portal.kernel.messaging.BaseDestination
      extended by com.liferay.portal.kernel.messaging.BaseAsyncDestination
          extended by 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.


Field Summary
 
Fields inherited from class com.liferay.portal.kernel.messaging.BaseDestination
messageListeners, name
 
Constructor Summary
ParallelDestination()
           
ParallelDestination(String name)
          Deprecated. As of 6.1.0
ParallelDestination(String name, int workersCoreSize, int workersMaxSize)
          Deprecated. As of 6.1.0
 
Method Summary
protected  void dispatch(Set<MessageListener> messageListeners, Message message)
           
 
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
 

Constructor Detail

ParallelDestination

public ParallelDestination()

ParallelDestination

public ParallelDestination(String name)
Deprecated. As of 6.1.0


ParallelDestination

public ParallelDestination(String name,
                           int workersCoreSize,
                           int workersMaxSize)
Deprecated. As of 6.1.0

Method Detail

dispatch

protected void dispatch(Set<MessageListener> messageListeners,
                        Message message)
Specified by:
dispatch in class BaseAsyncDestination

Liferay 6.2-ce-ga5