rx.internal.operators.OperatorGroupBy$GroupBySubscriber.class Maven / Gradle / Ivy
???? 2?
U ?
^ ? U ? U ? ?
? U ? U ? U ? U ? U ? ?
?
? ?
^ ? U ?
? ?
U ? U ?
? ?
? ? ? ? ? ? ? ? U
U
U
^
^
U
U
U
^
U
U
5
!" U#
$%&
:'
^(
)
*+ U,+-
?.
U/
U0
?1
2
3
4???????
5+6
?7
U8
9
?:
?;+<
?=> v
??
@ } ? ?
?A ?B GroupBySubscriber InnerClasses
GroupState MAX_QUEUE_SIZE I
ConstantValue self 9Lrx/internal/operators/OperatorGroupBy$GroupBySubscriber; Signature DLrx/internal/operators/OperatorGroupBy$GroupBySubscriber; keySelector Lrx/functions/Func1; Lrx/functions/Func1<-TT;+TK;>; elementSelector Lrx/functions/Func1<-TT;+TR;>; child Lrx/Subscriber; ;>; WIP_FOR_UNSUBSCRIBE_UPDATER 7Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater; rLjava/util/concurrent/atomic/AtomicIntegerFieldUpdater; wipForUnsubscribe groups (Ljava/util/concurrent/ConcurrentHashMap; ?Ljava/util/concurrent/ConcurrentHashMap;>; nl (Lrx/internal/operators/NotificationLite; ; completionEmitted UNTERMINATED TERMINATED_WITH_COMPLETED TERMINATED_WITH_ERROR
terminated COMPLETION_EMITTED_UPDATER TERMINATED_UPDATER requested J REQUESTED 4Ljava/util/concurrent/atomic/AtomicLongFieldUpdater; oLjava/util/concurrent/atomic/AtomicLongFieldUpdater;
bufferedCount BUFFERED_COUNT :(Lrx/functions/Func1;Lrx/functions/Func1;Lrx/Subscriber;)V Code LineNumberTable LocalVariableTable this LocalVariableTypeTable {(Lrx/functions/Func1<-TT;+TK;>;Lrx/functions/Func1<-TT;+TR;>;Lrx/Subscriber<-Lrx/observables/GroupedObservable;>;)V onStart ()V onCompleted group DLrx/internal/operators/OperatorGroupBy$GroupBySubscriber$GroupState; i$ Ljava/util/Iterator; LLrx/internal/operators/OperatorGroupBy$GroupBySubscriber$GroupState;
StackMapTableC onError (Ljava/lang/Throwable;)V e Ljava/lang/Throwable; requestFromGroupedObservable H(JLrx/internal/operators/OperatorGroupBy$GroupBySubscriber$GroupState;)V n P(JLrx/internal/operators/OperatorGroupBy$GroupBySubscriber$GroupState;)V
groupedKey &(Ljava/lang/Object;)Ljava/lang/Object; key Ljava/lang/Object; TK;D (TK;)Ljava/lang/Object; getKey (Ljava/lang/Object;)TK; onNext (Ljava/lang/Object;)V t TT; ? (TT;)V createNewGroup X(Ljava/lang/Object;)Lrx/internal/operators/OperatorGroupBy$GroupBySubscriber$GroupState; putIfAbsent wip
groupState go "Lrx/observables/GroupedObservable; *Lrx/observables/GroupedObservable;E `(Ljava/lang/Object;)Lrx/internal/operators/OperatorGroupBy$GroupBySubscriber$GroupState; cleanupGroup removed emitItem Y(Lrx/internal/operators/OperatorGroupBy$GroupBySubscriber$GroupState;Ljava/lang/Object;)V obs
Lrx/Observer; item q Ljava/util/Queue; keyRequested (Ljava/util/concurrent/atomic/AtomicLong; !Lrx/Observer; %Ljava/util/Queue;FG a(Lrx/internal/operators/OperatorGroupBy$GroupBySubscriber$GroupState;Ljava/lang/Object;)V pollQueue G(Lrx/internal/operators/OperatorGroupBy$GroupBySubscriber$GroupState;)V c O(Lrx/internal/operators/OperatorGroupBy$GroupBySubscriber$GroupState;)V requestMoreIfNecessary toRequest drainIfPossibleH
completeInner
access$400 N(Lrx/internal/operators/OperatorGroupBy$GroupBySubscriber;Ljava/lang/Object;)V x0 x1 RLrx/Subscriber;
SourceFile OperatorGroupBy.java ? ? ? ? g h v d &java/util/concurrent/ConcurrentHashMap w x ? d k l n l p q 9rx/internal/operators/OperatorGroupBy$GroupBySubscriber$1 ?IJKLMN ? ?OPQRS ? tTUVWXYZ[C\]^_ Brx/internal/operators/OperatorGroupBy$GroupBySubscriber$GroupState z {`a_ ? ?b] ? t ? ?cd ? ?e ?fghijkgGlm ? ?no_pq ? ? ?r ?s] ? ?^ ? java/lang/Throwabletuv ?x ? ? 9rx/internal/operators/OperatorGroupBy$GroupBySubscriber$2 ?yEK| s t ?} java/lang/IllegalStateException .Group already existed while creating a new one ?~ ? ? ???F ? ????? ? ? ? ???rm?????mM??? ? ?PSr?U??_?? 7rx/internal/operators/OperatorGroupBy$GroupBySubscriber??????
rx/Subscriber java/util/Iterator java/lang/Object rx/observables/GroupedObservable java/util/Queue &java/util/concurrent/atomic/AtomicLong rx/Observer <(Lrx/internal/operators/OperatorGroupBy$GroupBySubscriber;)V rx/subscriptions/Subscriptions create )(Lrx/functions/Action0;)Lrx/Subscription; add (Lrx/Subscription;)V 2java/util/concurrent/atomic/AtomicLongFieldUpdater set (Ljava/lang/Object;J)V request (J)V 5java/util/concurrent/atomic/AtomicIntegerFieldUpdater
compareAndSet (Ljava/lang/Object;II)Z values ()Ljava/util/Collection; java/util/Collection iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; &rx/internal/operators/NotificationLite completed isEmpty error )(Ljava/lang/Throwable;)Ljava/lang/Object; unsubscribe
access$000 n(Lrx/internal/operators/OperatorGroupBy$GroupBySubscriber$GroupState;)Ljava/util/concurrent/atomic/AtomicLong; 'rx/internal/operators/BackpressureUtils getAndAddRequest ,(Ljava/util/concurrent/atomic/AtomicLong;J)J
access$100 getAndIncrement ()J %rx/internal/operators/OperatorGroupBy
access$200 rx/functions/Func1 call get isUnsubscribed rx/exceptions/Exceptions
throwOrReport 7(Ljava/lang/Throwable;Lrx/Observer;Ljava/lang/Object;)V? ,(Lrx/internal/operators/OperatorGroupBy$1;)V ?(Lrx/internal/operators/OperatorGroupBy$GroupBySubscriber;Lrx/internal/operators/OperatorGroupBy$GroupBySubscriber$GroupState;Ljava/lang/Object;)V? OnSubscribe Q(Ljava/lang/Object;Lrx/Observable$OnSubscribe;)Lrx/observables/GroupedObservable; 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; (Ljava/lang/String;)V remove
access$500 W(Lrx/internal/operators/OperatorGroupBy$GroupBySubscriber$GroupState;)Ljava/util/Queue; size ()I addAndGet (Ljava/lang/Object;J)J decrementAndGet (Ljava/lang/Object;)J getObserver ()Lrx/Observer; accept "(Lrx/Observer;Ljava/lang/Object;)Z (Ljava/lang/Object;)Z incrementAndGet (Ljava/lang/Object;JJ)Z poll (Ljava/lang/Object;)I
newUpdater \(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater; instance *()Lrx/internal/operators/NotificationLite; Y(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicLongFieldUpdater; 'rx/internal/operators/OperatorGroupBy$1? rx/Observable$OnSubscribe
rx/Observable 0 U ^ c d e f g h i j k l i m n l i o p q i r s t i u @ v d w x i y z { i | @ } d ~ d e ? d e ? ? d e ? @ ? d ? t i u ? t i u @ ? ? ? ? i ? @ ? ? ? ? i ? ? ? ? ? =*? **? *? *? Y? ? *? *+? *,?
*-? -? Y*?
? ? ? ? *
[ K U { ? \ # ] ( ^ - _ <