| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private volatile boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | SubscriptionList(final Subscription...
the array of subscriptions to start with subscriptions)Constructs a SubscriptionList with the given initial child subscriptions. |
| public | SubscriptionList(Subscription
the initial subscription instance s)Constructs a SubscriptionList with the given initial child subscription. |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(final Subscription
the s)Subscription to addAdds a new |
| public void | |
| public boolean | Returns: true if this composite is not unsubscribed and contains subscriptions.Returns true if this composite is not unsubscribed and contains subscriptions. |
| public boolean | isUnsubscribed()
Implements rx. Subscription is currently unsubscribed.
|
| public void | |
| public void | unsubscribe()
Implements rx. Subscriber.
|
| private static void |
| subscriptions | back to summary |
|---|---|
| private List<Subscription> subscriptions | |
| unsubscribed | back to summary |
|---|---|
| private volatile boolean unsubscribed | |
| SubscriptionList | back to summary |
|---|---|
| public SubscriptionList() Constructs an empty SubscriptionList. | |
| SubscriptionList | back to summary |
|---|---|
| public SubscriptionList(final Subscription... subscriptions) Constructs a SubscriptionList with the given initial child subscriptions.
| |
| SubscriptionList | back to summary |
|---|---|
| public SubscriptionList(Subscription s) Constructs a SubscriptionList with the given initial child subscription.
| |
| add | back to summary |
|---|---|
| public void add(final Subscription s) Adds a new
| |
| clear | back to summary |
|---|---|
| public void clear() | |
| hasSubscriptions | back to summary |
|---|---|
| public boolean hasSubscriptions() Returns true if this composite is not unsubscribed and contains subscriptions.
| |
| isUnsubscribed | back to summary |
|---|---|
| public boolean isUnsubscribed() Implements rx. Doc from rx. Indicates whether this
| |
| remove | back to summary |
|---|---|
| public void remove(final Subscription s) | |
| unsubscribe | back to summary |
|---|---|
| public void unsubscribe() Implements rx. Unsubscribe from all of the subscriptions in the list, which stops the receipt of notifications on
the associated
| |
| unsubscribeFromAll | back to summary |
|---|---|
| private static void unsubscribeFromAll(Collection<Subscription> subscriptions) | |