com.liferay.portal.kernel.messaging
Class SerialDestination

java.lang.Object
  extended by com.liferay.portal.kernel.messaging.BaseDestination
      extended by com.liferay.portal.kernel.messaging.ArrayDispatcherDestination
          extended by com.liferay.portal.kernel.messaging.SerialDestination
All Implemented Interfaces:
Destination

public class SerialDestination
extends ArrayDispatcherDestination

View Source

Destination that delivers a message to a list of message listeners one at a time.

Author:
Michael C. Han

Constructor Summary
SerialDestination(java.lang.String name)
           
 
Method Summary
protected  void dispatch(java.util.Set<MessageListener> listeners, Message message)
           
 
Methods inherited from class com.liferay.portal.kernel.messaging.ArrayDispatcherDestination
getListenerCount, register, send, unregister
 
Methods inherited from class com.liferay.portal.kernel.messaging.BaseDestination
close, close, doClose, doOpen, getName, getStatistics, getThreadPoolExecutor, getWorkersCoreSize, getWorkersMaxSize, isRegistered, open
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerialDestination

public SerialDestination(java.lang.String name)
Method Detail

dispatch

protected void dispatch(java.util.Set<MessageListener> listeners,
                        Message message)
Specified by:
dispatch in class ArrayDispatcherDestination