Package 

Enum StreamSubscriptionManager.Options.Retention

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      KEEP_UNTIL_CANCELLED

      The manager retains a strong reference to the listener until cancel() is called on the returned subscription or clear is invoked.

      AUTO_REMOVE

      The manager keeps only an ephemeral reference. If caller code drops all references to the listener (and does not call cancel()), the listener is automatically removed and stops receiving events.

    • Method Summary

      Modifier and Type Method Description
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait