|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueueBasedMessageQueue
A QueueBasedMessageQueue is a MessageQueue backed by a java.util.Queue.
Method Summary | |
---|---|
void |
cleanUp(ActorRef owner,
MessageQueue deadLetters)
Called when the mailbox this queue belongs to is disposed of. |
boolean |
hasMessages()
Indicates whether this queue is non-empty. |
int |
numberOfMessages()
Should return the current number of messages held in this queue; may always return 0 if no other value is available efficiently. |
java.util.Queue<Envelope> |
queue()
|
Methods inherited from interface akka.dispatch.MessageQueue |
---|
dequeue, enqueue |
Method Detail |
---|
java.util.Queue<Envelope> queue()
int numberOfMessages()
MessageQueue
hasMessages
instead.
numberOfMessages
in interface MessageQueue
boolean hasMessages()
MessageQueue
hasMessages
in interface MessageQueue
void cleanUp(ActorRef owner, MessageQueue deadLetters)
MessageQueue
cleanUp
in interface MessageQueue
owner
- (undocumented)deadLetters
- (undocumented)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |