Subscription objects
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | Subscriptions.FutureSubscription
Naming classes helps with debugging. |
| pack-priv static class | Subscriptions.Unsubscribed
Naming classes helps with debugging. |
| Modifier and Type | Field and Description |
|---|---|
| private static final Subscriptions. | UNSUBSCRIBED
A |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Subscription | Returns: SubscriptionAction to invoke on unsubscribe. unsubscribe)Creates and returns a |
| public static Subscription | empty()
Returns a |
| public static Subscription | from(final Future<?>
the f)Future to convertConverts a |
| public static CompositeSubscription | from(Subscription...
the Subscriptions to group together subscriptions)Converts a set of |
| public static Subscription | unsubscribed()
Returns a |
| UNSUBSCRIBED | back to summary |
|---|---|
| private static final Subscriptions. A | |
| Subscriptions | back to summary |
|---|---|
| private Subscriptions() | |
| create | back to summary |
|---|---|
| public static Subscription create(final Action0 unsubscribe) Creates and returns a
| |
| empty | back to summary |
|---|---|
| public static Subscription empty() Returns a
| |
| from | back to summary |
|---|---|
| public static Subscription from(final Future<?> f) Converts a
| |
| from | back to summary |
|---|---|
| public static CompositeSubscription from(Subscription... subscriptions) Converts a set of
| |
| unsubscribed | back to summary |
|---|---|
| public static Subscription unsubscribed() Returns a
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isUnsubscribed()
Implements rx. Subscription is currently unsubscribed.
|
| public void | unsubscribe()
Implements rx. Subscriber that was registered when this Subscription
was received.
|
| f | back to summary |
|---|---|
| pack-priv final Future<?> f | |
| FutureSubscription | back to summary |
|---|---|
| public FutureSubscription(Future<?> f) | |
| isUnsubscribed | back to summary |
|---|---|
| public boolean isUnsubscribed() Implements rx. Doc from rx. Indicates whether this
| |
| unsubscribe | back to summary |
|---|---|
| public void unsubscribe() Implements rx. Doc from rx. Stops the receipt of notifications on the
This allows deregistering an
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isUnsubscribed()
Implements rx. Subscription is currently unsubscribed.
|
| public void | unsubscribe()
Implements rx. Subscriber that was registered when this Subscription
was received.
|
| Unsubscribed | back to summary |
|---|---|
| pack-priv Unsubscribed() | |
| isUnsubscribed | back to summary |
|---|---|
| public boolean isUnsubscribed() Implements rx. Doc from rx. Indicates whether this
| |
| unsubscribe | back to summary |
|---|---|
| public void unsubscribe() Implements rx. Doc from rx. Stops the receipt of notifications on the
This allows deregistering an
| |