| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | SequentialSubscription(Subscription
the initial Subscription, may be null initial)Create a SequentialSubscription with the given initial Subscription. |
| Modifier and Type | Method and Description |
|---|---|
| public Subscription | Returns: the current contained Subscription (may be null)Returns the current contained Subscription (may be null). |
| public boolean | isUnsubscribed()
Implements rx. Subscription is currently unsubscribed.
|
| public boolean | Returns: true if the update succeeded, false if the container was unsubscribedthe next Subscription to contain, may be null next)Atomically replaces the contained Subscription to the provided next value but does not unsubscribe the previous value or unsubscribes the next value if this container is unsubscribed. |
| public boolean | Returns: true if the update succeeded, false if the container was unsubscribedthe next Subscription to contain, may be null next)Atomically tries to replace the contained Subscription to the provided next value but does not unsubscribe the previous value or unsubscribes the next value if this container is unsubscribed. |
| public void | unsubscribe()
Implements rx. Subscriber that was registered when this Subscription
was received.
|
| public boolean | Returns: true if the update succeeded, false if the container was unsubscribedthe next Subscription to contain, may be null next)Atomically sets the contained Subscription to the provided next value and unsubscribes the previous value or unsubscribes the next value if this container is unsubscribed. |
| public boolean | Returns: true if the update succeeded, false if the container was unsubscribedthe next Subscription to contain, may be null next)Atomically tries to set the contained Subscription to the provided next value and unsubscribes the previous value or unsubscribes the next value if this container is unsubscribed. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| SequentialSubscription | back to summary |
|---|---|
| public SequentialSubscription() Create an empty SequentialSubscription. | |
| SequentialSubscription | back to summary |
|---|---|
| public SequentialSubscription(Subscription initial) Create a SequentialSubscription with the given initial Subscription.
| |
| current | back to summary |
|---|---|
| public Subscription current() Returns the current contained Subscription (may be null). (Remark: named as such because get() is final).
| |
| isUnsubscribed | back to summary |
|---|---|
| public boolean isUnsubscribed() Implements rx. Doc from rx. Indicates whether this
| |
| replace | back to summary |
|---|---|
| public boolean replace(Subscription next) Atomically replaces the contained Subscription to the provided next value but does not unsubscribe the previous value or unsubscribes the next value if this container is unsubscribed.
| |
| replaceWeak | back to summary |
|---|---|
| public boolean replaceWeak(Subscription next) Atomically tries to replace the contained Subscription to the provided next value but does not unsubscribe the previous value or unsubscribes the next value if this container is unsubscribed.
Unlike
| |
| unsubscribe | back to summary |
|---|---|
| public void unsubscribe() Implements rx. Doc from rx. Stops the receipt of notifications on the
This allows deregistering an
| |
| update | back to summary |
|---|---|
| public boolean update(Subscription next) Atomically sets the contained Subscription to the provided next value and unsubscribes the previous value or unsubscribes the next value if this container is unsubscribed. (Remark: named as such because set() is final).
| |
| updateWeak | back to summary |
|---|---|
| public boolean updateWeak(Subscription next) Atomically tries to set the contained Subscription to the provided next value and unsubscribes the previous value or unsubscribes the next value if this container is unsubscribed.
Unlike
| |