Class MailboxSelector$

  • All Implemented Interfaces:
    java.io.Serializable

    public class MailboxSelector$
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static MailboxSelector$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MailboxSelector bounded​(int capacity)
      A mailbox with a max capacity after which new messages are dropped (passed to deadletters).
      MailboxSelector defaultMailbox()
      Java API: The default mailbox is SingleConsumerOnlyUnboundedMailbox
      MailboxSelector fromConfig​(java.lang.String path)
      Select a mailbox from the config file using an absolute config path.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final MailboxSelector$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • MailboxSelector$

        public MailboxSelector$()
    • Method Detail

      • defaultMailbox

        public MailboxSelector defaultMailbox()
        Java API: The default mailbox is SingleConsumerOnlyUnboundedMailbox
        Returns:
        (undocumented)
      • bounded

        public MailboxSelector bounded​(int capacity)
        A mailbox with a max capacity after which new messages are dropped (passed to deadletters).
        Parameters:
        capacity - The maximum number of messages in the mailbox before new messages are dropped
        Returns:
        (undocumented)
      • fromConfig

        public MailboxSelector fromConfig​(java.lang.String path)
        Select a mailbox from the config file using an absolute config path.

        This is a power user settings default or bounded should be preferred unless you know what you are doing.

        Parameters:
        path - (undocumented)
        Returns:
        (undocumented)