akka.dispatch
Interface UnboundedDequeBasedMessageQueue
- All Superinterfaces:
- DequeBasedMessageQueue, DequeBasedMessageQueueSemantics, MessageQueue, MultipleConsumerSemantics, QueueBasedMessageQueue, UnboundedDequeBasedMessageQueueSemantics, UnboundedMessageQueueSemantics
- All Known Implementing Classes:
- UnboundedDequeBasedMailbox.MessageQueue
public interface UnboundedDequeBasedMessageQueue
- extends DequeBasedMessageQueue, UnboundedDequeBasedMessageQueueSemantics
UnboundedDequeBasedMessageQueueSemantics adds unbounded semantics to a DequeBasedMessageQueue,
i.e. a non-blocking enqueue and dequeue.
enqueue
void enqueue(ActorRef receiver,
Envelope handle)
- Description copied from interface:
MessageQueue
- Try to enqueue the message to this queue, or throw an exception.
- Specified by:
enqueue
in interface MessageQueue
- Parameters:
receiver
- (undocumented)handle
- (undocumented)
enqueueFirst
void enqueueFirst(ActorRef receiver,
Envelope handle)
- Specified by:
enqueueFirst
in interface DequeBasedMessageQueueSemantics
dequeue
Envelope dequeue()
- Description copied from interface:
MessageQueue
- Try to dequeue the next message from this queue, return null failing that.
- Specified by:
dequeue
in interface MessageQueue
- Returns:
- (undocumented)