final class io.reactivex.disposables.FutureDisposable extends java.util.concurrent.atomic.AtomicReference<java.util.concurrent.Future<?>> implements io.reactivex.disposables.Disposable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.disposables.FutureDisposable
super_class: java.util.concurrent.atomic.AtomicReference
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 6545242830671168775
private final boolean allowInterrupt;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.util.concurrent.Future<?>, );
descriptor: (Ljava/util/concurrent/Future;Z)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
1: aload 0
iload 2
putfield io.reactivex.disposables.FutureDisposable.allowInterrupt:Z
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/disposables/FutureDisposable;
0 3 1 run Ljava/util/concurrent/Future<*>;
0 3 2 allowInterrupt Z
Signature: (Ljava/util/concurrent/Future<*>;Z)V
MethodParameters:
Name Flags
run
allowInterrupt
public boolean isDisposed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.disposables.FutureDisposable.get:()Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokeinterface java.util.concurrent.Future.isDone:()Z
ifne 2
iconst_0
ireturn
StackMap locals: java.util.concurrent.Future
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/disposables/FutureDisposable;
1 3 1 f Ljava/util/concurrent/Future<*>;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual io.reactivex.disposables.FutureDisposable.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
aload 0
getfield io.reactivex.disposables.FutureDisposable.allowInterrupt:Z
invokeinterface java.util.concurrent.Future.cancel:(Z)Z
pop
3: StackMap locals: java.util.concurrent.Future
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/disposables/FutureDisposable;
1 4 1 f Ljava/util/concurrent/Future<*>;
}
Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljava/util/concurrent/Future<*>;>;Lio/reactivex/disposables/Disposable;
SourceFile: "FutureDisposable.java"