Package akka.event

Class LoggerMailbox

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cleanUp​(ActorRef owner, MessageQueue deadLetters)
      Called when the mailbox this queue belongs to is disposed of.
      • 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.util.AbstractQueue

        element, remove
      • Methods inherited from class java.util.AbstractCollection

        containsAll
      • 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 java.util.Queue

        element, remove
    • Method Detail

      • cleanUp

        public void cleanUp​(ActorRef owner,
                            MessageQueue deadLetters)
        Description copied from interface: MessageQueue
        Called when the mailbox this queue belongs to is disposed of. Normally it is expected to transfer all remaining messages into the dead letter queue which is passed in. The owner of this MessageQueue is passed in if available (e.g. for creating DeadLetters()), “/deadletters” otherwise.
        Specified by:
        cleanUp in interface MessageQueue
        Specified by:
        cleanUp in interface QueueBasedMessageQueue
        Parameters:
        owner - (undocumented)
        deadLetters - (undocumented)