-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum StreamSubscriptionManager.Options.Retention extends Enum<StreamSubscriptionManager.Options.Retention>
Retention policy for a subscribed listener.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KEEP_UNTIL_CANCELLEDThe manager retains a strong reference to the listener until
cancel()is called on the returned subscription or clear is invoked.AUTO_REMOVEThe 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 StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
getOrdinal
final Integer getOrdinal()
-
-
-
-