-
public final class UniqueOnly extends DeliveryMode
The subscription will receive the most recent state update when transitioning from locked to unlocked states (stopped -> started), only if the state has changed while locked. This will include the initial state as a state update.
Likewise, when a MavericksView resubscribes after a configuration change the most recent update will only be emitted if the state has changed while locked.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringsubscriptionId
-
Constructor Summary
Constructors Constructor Description UniqueOnly(String subscriptionId)
-
Method Summary
Modifier and Type Method Description StringgetSubscriptionId()-
-
Constructor Detail
-
UniqueOnly
UniqueOnly(String subscriptionId)
- Parameters:
subscriptionId- A uniqueIdentifier for this subscription.
-
-
Method Detail
-
getSubscriptionId
String getSubscriptionId()
-
-
-
-