|
|
@ -89,8 +89,8 @@ public class MessageDispatcher implements Runnable { |
|
|
|
|
|
|
|
|
|
|
|
public static void send(Dispatch messageDispatch, DispatchChannel dispatchChannel) { |
|
|
|
public static void send(Dispatch messageDispatch, DispatchChannel dispatchChannel) { |
|
|
|
|
|
|
|
|
|
|
|
// A Dispatch should be borrowed from the local cache.
|
|
|
|
// Use Dispatch.borrow() for a new dispatch.
|
|
|
|
// They will automatically be released back to the queue
|
|
|
|
// The Dispatch will be released by the system
|
|
|
|
// once delivered.
|
|
|
|
// once delivered.
|
|
|
|
|
|
|
|
|
|
|
|
// Don't queue up empty dispatches!
|
|
|
|
// Don't queue up empty dispatches!
|
|
|
|