Package rx.internal.operators
Class OnSubscribeGroupJoin.ResultManager
java.lang.Object
rx.internal.operators.OnSubscribeGroupJoin.ResultManager
- All Implemented Interfaces:
Subscription
Manages sub-observers and subscriptions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) final classObserve left duration and apply termination.(package private) final classObserve the left source.(package private) final classObserve right duration and apply termination.(package private) final classObserve the right source. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final RefCountSubscription(package private) final CompositeSubscription(package private) final Object(package private) booleanGuarded by guard.(package private) intGuarded by guard.Guarded by guard.(package private) booleanGuarded by guard.(package private) intGuarded by guard.Guarded by guard.(package private) final Subscriber<? super R> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) voidNotify everyone and cleanup.(package private) voidNotify only the main subscriber and cleanup.voidinit()booleanIndicates whether thisSubscriptionis currently unsubscribed.voidStops the receipt of notifications on theSubscriberthat was registered when this Subscription was received.
-
Field Details
-
cancel
-
subscriber
-
group
-
guard
-
leftIds
int leftIdsGuarded by guard. -
rightIds
int rightIdsGuarded by guard. -
leftMap
Guarded by guard. -
rightMap
Guarded by guard. -
leftDone
boolean leftDoneGuarded by guard. -
rightDone
boolean rightDoneGuarded by guard.
-
-
Constructor Details
-
ResultManager
-
-
Method Details
-
init
public void init() -
unsubscribe
public void unsubscribe()Description copied from interface:SubscriptionStops the receipt of notifications on theSubscriberthat was registered when this Subscription was received.This allows unregistering an
Subscriberbefore it has finished receiving all events (i.e. before onCompleted is called).- Specified by:
unsubscribein interfaceSubscription
-
isUnsubscribed
public boolean isUnsubscribed()Description copied from interface:SubscriptionIndicates whether thisSubscriptionis currently unsubscribed.- Specified by:
isUnsubscribedin interfaceSubscription- Returns:
trueif thisSubscriptionis currently unsubscribed,falseotherwise
-
errorAll
Notify everyone and cleanup.- Parameters:
e- the exception
-
errorMain
Notify only the main subscriber and cleanup.- Parameters:
e- the exception
-
complete
-