All methods of this class are thread-safe.
| Modifier and Type | Field and Description |
|---|---|
| private Set | |
| private volatile boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(final Subscription
the s)Subscription to addAdds a new |
| public void | addAll(final Subscription...
the collection of subscriptions)Subscription to addAdds collection of |
| public void | clear()
Unsubscribes any subscriptions that are currently part of this |
| 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 | remove(final Subscription
the s)Subscription to removeRemoves a |
| public void | unsubscribe()
Implements rx. |
| private static void |
| subscriptions | back to summary |
|---|---|
| private Set<Subscription> subscriptions | |
| unsubscribed | back to summary |
|---|---|
| private volatile boolean unsubscribed | |
| CompositeSubscription | back to summary |
|---|---|
| public CompositeSubscription() Constructs an empty Composite subscription. | |
| CompositeSubscription | back to summary |
|---|---|
| public CompositeSubscription(final Subscription... subscriptions) | |
| add | back to summary |
|---|---|
| public void add(final Subscription s) Adds a new
| |
| addAll | back to summary |
|---|---|
| public void addAll(final Subscription... subscriptions) Adds collection of
| |
| clear | back to summary |
|---|---|
| public void clear() Unsubscribes any subscriptions that are currently part of this | |
| 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) Removes a
| |
| unsubscribe | back to summary |
|---|---|
| public void unsubscribe() Implements rx. Unsubscribes itself and all inner subscriptions. After call of this method, new
| |
| unsubscribeFromAll | back to summary |
|---|---|
| private static void unsubscribeFromAll(Collection<Subscription> subscriptions) | |