Package org.apache.pekko.dispatch
Interface UnboundedQueueBasedMessageQueue
- All Superinterfaces:
MessageQueue,MultipleConsumerSemantics,QueueBasedMessageQueue,UnboundedMessageQueueSemantics
- All Known Implementing Classes:
UnboundedMailbox.MessageQueue,UnboundedPriorityMailbox.MessageQueue,UnboundedStablePriorityMailbox.MessageQueue
public interface UnboundedQueueBasedMessageQueue
extends QueueBasedMessageQueue, UnboundedMessageQueueSemantics
-
Method Summary
Methods inherited from interface org.apache.pekko.dispatch.QueueBasedMessageQueue
cleanUp, hasMessages, numberOfMessages, queue
-
Method Details
-
dequeue
Envelope dequeue()Description copied from interface:MessageQueueTry to dequeue the next message from this queue, return null failing that.- Specified by:
dequeuein interfaceMessageQueue
-
enqueue
Description copied from interface:MessageQueueTry to enqueue the message to this queue, or throw an exception.- Specified by:
enqueuein interfaceMessageQueue
-