public final class io.reactivex.internal.operators.flowable.FlowableFromFuture<T> extends io.reactivex.Flowable<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.flowable.FlowableFromFuture
super_class: io.reactivex.Flowable
{
final java.util.concurrent.Future<? extends T> future;
descriptor: Ljava/util/concurrent/Future;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/Future<+TT;>;
final long timeout;
descriptor: J
flags: (0x0010) ACC_FINAL
final java.util.concurrent.TimeUnit unit;
descriptor: Ljava/util/concurrent/TimeUnit;
flags: (0x0010) ACC_FINAL
public void <init>(java.util.concurrent.Future<? extends T>, long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/concurrent/Future;JLjava/util/concurrent/TimeUnit;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
invokespecial io.reactivex.Flowable.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableFromFuture.future:Ljava/util/concurrent/Future;
2: aload 0
lload 2
putfield io.reactivex.internal.operators.flowable.FlowableFromFuture.timeout:J
3: aload 0
aload 4
putfield io.reactivex.internal.operators.flowable.FlowableFromFuture.unit:Ljava/util/concurrent/TimeUnit;
4: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/flowable/FlowableFromFuture<TT;>;
0 5 1 future Ljava/util/concurrent/Future<+TT;>;
0 5 2 timeout J
0 5 4 unit Ljava/util/concurrent/TimeUnit;
Signature: (Ljava/util/concurrent/Future<+TT;>;JLjava/util/concurrent/TimeUnit;)V
MethodParameters:
Name Flags
future
timeout
unit
public void subscribeActual(org.reactivestreams.Subscriber<? super T>);
descriptor: (Lorg/reactivestreams/Subscriber;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new io.reactivex.internal.subscriptions.DeferredScalarSubscription
dup
aload 1
invokespecial io.reactivex.internal.subscriptions.DeferredScalarSubscription.<init>:(Lorg/reactivestreams/Subscriber;)V
astore 2
start local 2 1: aload 1
aload 2
invokeinterface org.reactivestreams.Subscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)V
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFromFuture.unit:Ljava/util/concurrent/TimeUnit;
ifnull 3
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFromFuture.future:Ljava/util/concurrent/Future;
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFromFuture.timeout:J
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFromFuture.unit:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.Future.get:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
goto 4
StackMap locals: io.reactivex.internal.subscriptions.DeferredScalarSubscription
StackMap stack:
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableFromFuture.future:Ljava/util/concurrent/Future;
invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
4: astore 3
start local 3 5: goto 11
end local 3 StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 4
start local 4 7: aload 4
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
8: aload 2
invokevirtual io.reactivex.internal.subscriptions.DeferredScalarSubscription.isCancelled:()Z
ifne 10
9: aload 1
aload 4
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
10: StackMap locals: io.reactivex.internal.operators.flowable.FlowableFromFuture org.reactivestreams.Subscriber io.reactivex.internal.subscriptions.DeferredScalarSubscription top java.lang.Throwable
StackMap stack:
return
end local 4 start local 3 11: StackMap locals: io.reactivex.internal.operators.flowable.FlowableFromFuture org.reactivestreams.Subscriber io.reactivex.internal.subscriptions.DeferredScalarSubscription java.lang.Object
StackMap stack:
aload 3
ifnonnull 14
12: aload 1
new java.lang.NullPointerException
dup
ldc "The future returned null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
13: goto 15
14: StackMap locals:
StackMap stack:
aload 2
aload 3
invokevirtual io.reactivex.internal.subscriptions.DeferredScalarSubscription.complete:(Ljava/lang/Object;)V
15: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/reactivex/internal/operators/flowable/FlowableFromFuture<TT;>;
0 16 1 s Lorg/reactivestreams/Subscriber<-TT;>;
1 16 2 deferred Lio/reactivex/internal/subscriptions/DeferredScalarSubscription<TT;>;
5 6 3 v TT;
11 16 3 v TT;
7 11 4 ex Ljava/lang/Throwable;
Exception table:
from to target type
2 5 6 Class java.lang.Throwable
Signature: (Lorg/reactivestreams/Subscriber<-TT;>;)V
MethodParameters:
Name Flags
s
}
Signature: <T:Ljava/lang/Object;>Lio/reactivex/Flowable<TT;>;
SourceFile: "FlowableFromFuture.java"