next up previous contents
Next: Property: delay Up: Message Properties Previous: Message Properties

Property: priority

The priority property is used to send a message with high priority. This is achieved by placing the message at the beginning of the actor's message box when it is received. For instance, the following statement will result in sending the message migrate to the actor, book, with the highest property.
 
book<-migrate("rmsp://europa.wcl.cs.rpi.edu:4040/"):priority;
 
   
For example, Let us assume that the local host is overloaded, the message box of Actor book is full, and the remote host to migrate has extra computing power. Using the priority property by attaching it to the migrate message may improve the performance.



Wei-Jen Wang
2007-11-28