Package akka.dispatch
Class UnboundedMailbox.MessageQueue
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractQueue<E>
-
- java.util.concurrent.ConcurrentLinkedQueue<Envelope>
-
- akka.dispatch.UnboundedMailbox.MessageQueue
-
- All Implemented Interfaces:
MessageQueue
,MultipleConsumerSemantics
,QueueBasedMessageQueue
,UnboundedMessageQueueSemantics
,UnboundedQueueBasedMessageQueue
,java.io.Serializable
,java.lang.Iterable<Envelope>
,java.util.Collection<Envelope>
,java.util.Queue<Envelope>
- Enclosing class:
- UnboundedMailbox
public static class UnboundedMailbox.MessageQueue extends java.util.concurrent.ConcurrentLinkedQueue<Envelope> implements UnboundedQueueBasedMessageQueue
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MessageQueue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Queue<Envelope>
queue()
-
Methods inherited from class java.util.concurrent.ConcurrentLinkedQueue
add, addAll, clear, contains, forEach, isEmpty, iterator, offer, peek, poll, remove, removeAll, removeIf, retainAll, size, spliterator, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
containsAll, equals, hashCode, parallelStream, stream, toArray
-
Methods inherited from interface akka.dispatch.QueueBasedMessageQueue
cleanUp, hasMessages, numberOfMessages
-
Methods inherited from interface akka.dispatch.UnboundedQueueBasedMessageQueue
dequeue, enqueue
-
-
-
-
Method Detail
-
queue
public final java.util.Queue<Envelope> queue()
- Specified by:
queue
in interfaceQueueBasedMessageQueue
-
-