public final class io.reactivex.internal.operators.observable.ObservableFromFuture<T> extends io.reactivex.Observable<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableFromFuture
super_class: io.reactivex.Observable
{
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.Observable.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableFromFuture.future:Ljava/util/concurrent/Future;
2: aload 0
lload 2
putfield io.reactivex.internal.operators.observable.ObservableFromFuture.timeout:J
3: aload 0
aload 4
putfield io.reactivex.internal.operators.observable.ObservableFromFuture.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/observable/ObservableFromFuture<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(io.reactivex.Observer<? super T>);
descriptor: (Lio/reactivex/Observer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new io.reactivex.internal.observers.DeferredScalarDisposable
dup
aload 1
invokespecial io.reactivex.internal.observers.DeferredScalarDisposable.<init>:(Lio/reactivex/Observer;)V
astore 2
start local 2 1: aload 1
aload 2
invokeinterface io.reactivex.Observer.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
2: aload 2
invokevirtual io.reactivex.internal.observers.DeferredScalarDisposable.isDisposed:()Z
ifne 13
3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFromFuture.unit:Ljava/util/concurrent/TimeUnit;
ifnull 4
aload 0
getfield io.reactivex.internal.operators.observable.ObservableFromFuture.future:Ljava/util/concurrent/Future;
aload 0
getfield io.reactivex.internal.operators.observable.ObservableFromFuture.timeout:J
aload 0
getfield io.reactivex.internal.operators.observable.ObservableFromFuture.unit:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.Future.get:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
goto 5
StackMap locals: io.reactivex.internal.observers.DeferredScalarDisposable
StackMap stack:
4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFromFuture.future:Ljava/util/concurrent/Future;
invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
5: ldc "Future returned null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
astore 3
start local 3 6: goto 12
end local 3 StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 4
start local 4 8: aload 4
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
9: aload 2
invokevirtual io.reactivex.internal.observers.DeferredScalarDisposable.isDisposed:()Z
ifne 11
10: aload 1
aload 4
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
11: StackMap locals: io.reactivex.internal.operators.observable.ObservableFromFuture io.reactivex.Observer io.reactivex.internal.observers.DeferredScalarDisposable top java.lang.Throwable
StackMap stack:
return
end local 4 start local 3 12: StackMap locals: io.reactivex.internal.operators.observable.ObservableFromFuture io.reactivex.Observer io.reactivex.internal.observers.DeferredScalarDisposable java.lang.Object
StackMap stack:
aload 2
aload 3
invokevirtual io.reactivex.internal.observers.DeferredScalarDisposable.complete:(Ljava/lang/Object;)V
end local 3 13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/reactivex/internal/operators/observable/ObservableFromFuture<TT;>;
0 14 1 observer Lio/reactivex/Observer<-TT;>;
1 14 2 d Lio/reactivex/internal/observers/DeferredScalarDisposable<TT;>;
6 7 3 v TT;
12 13 3 v TT;
8 12 4 ex Ljava/lang/Throwable;
Exception table:
from to target type
3 6 7 Class java.lang.Throwable
Signature: (Lio/reactivex/Observer<-TT;>;)V
MethodParameters:
Name Flags
observer
}
Signature: <T:Ljava/lang/Object;>Lio/reactivex/Observable<TT;>;
SourceFile: "ObservableFromFuture.java"