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.ParallelDestination
              extended by com.liferay.portal.kernel.messaging.SerialDestination
All Implemented Interfaces:
Destination

public class SerialDestination
extends ParallelDestination

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(MessageListener[] listeners, java.lang.String message)
           
 
Methods inherited from class com.liferay.portal.kernel.messaging.ParallelDestination
dispatch
 
Methods inherited from class com.liferay.portal.kernel.messaging.ArrayDispatcherDestination
register, send, send, unregister
 
Methods inherited from class com.liferay.portal.kernel.messaging.BaseDestination
close, close, doClose, doOpen, getName, getThreadPoolExecutor, getWorkersCoreSize, getWorkersMaxSize, 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(MessageListener[] listeners,
                        java.lang.String message)
Overrides:
dispatch in class ParallelDestination