- All Implemented Interfaces:
- java.io.Serializable, Message
- Enclosing class:
public static class MultiringRegrTest.MultiringTestMessage
- extends java.lang.Object
- implements Message
- See Also:
- Serialized Form
Method which should return the priority level of this message.
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Id source
public MultiringRegrTest.MultiringTestMessage(Id source)
public int getPriority()
- Description copied from interface:
- Method which should return the priority level of this message. The messages
can range in priority from 0 (highest priority) to Integer.MAX_VALUE (lowest) -
when sending messages across the wire, the queue is sorted by message priority.
If the queue reaches its limit, the lowest priority messages are discarded. Thus,
applications which are very verbose should have LOW_PRIORITY or lower, and
applications which are somewhat quiet are allowed to have MEDIUM_PRIORITY or
possibly even HIGH_PRIORITY.
- Specified by:
getPriority in interface
- This message's priority
Copyright © 2001-2005 - Rice Pastry.