org.jgroups.protocols.tom
Interface DeliveryManager

All Known Implementing Classes:
DeliveryManagerImpl

public interface DeliveryManager

The interface that a delivery manager must implement. This method is invoked by the delivery thread

Since:
3.1
Author:
Pedro Ruivo

Method Summary
 java.util.List<Message> getNextMessagesToDeliver()
          returns an ordered list with the messages to be deliver.
 

Method Detail

getNextMessagesToDeliver

java.util.List<Message> getNextMessagesToDeliver()
                                                 throws java.lang.InterruptedException
returns an ordered list with the messages to be deliver. This method blocks if no messages are ready to be deliver

Returns:
a list of messages to deliver
Throws:
java.lang.InterruptedException - if it is interrupted


Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.