org.jgroups.protocols
public class SHUFFLE extends Protocol implements Runnable
| Constructor Summary | |
|---|---|
| SHUFFLE() | |
| Method Summary | |
|---|---|
| String | getName() |
| void | run()
Removes a random chosen message from the messages List<\code> if there
are less than 10 messages in the List it waits some time to ensure to chose from
a set of messages > 1. |
| boolean | setProperties(Properties props) |
| void | start()
Starts the messagesHandler<\code> |
| void | stop()
Stops the messagesHandler |
| void | up(Event evt)
Adds upcoming messages to the messages List<\code> where the |
messages List<\code> if there
are less than 10 messages in the List it waits some time to ensure to chose from
a set of messages > 1.messagesHandler<\code>messages List<\code> where the messagesHandler<\code>
retrieves them.