public class org.xnio.FutureResult<T> implements org.xnio.Result<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.xnio.FutureResult
super_class: java.lang.Object
{
private final org.xnio.AbstractIoFuture<T> ioFuture;
descriptor: Lorg/xnio/AbstractIoFuture;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/xnio/AbstractIoFuture<TT;>;
public void <init>(java.util.concurrent.Executor);
descriptor: (Ljava/util/concurrent/Executor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.xnio.FutureResult$1
dup
aload 0
aload 1
invokespecial org.xnio.FutureResult$1.<init>:(Lorg/xnio/FutureResult;Ljava/util/concurrent/Executor;)V
putfield org.xnio.FutureResult.ioFuture:Lorg/xnio/AbstractIoFuture;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/xnio/FutureResult<TT;>;
0 3 1 executor Ljava/util/concurrent/Executor;
MethodParameters:
Name Flags
executor final
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.xnio.IoUtils.directExecutor:()Ljava/util/concurrent/Executor;
invokespecial org.xnio.FutureResult.<init>:(Ljava/util/concurrent/Executor;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/xnio/FutureResult<TT;>;
public org.xnio.IoFuture<T> getIoFuture();
descriptor: ()Lorg/xnio/IoFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.xnio.FutureResult.ioFuture:Lorg/xnio/AbstractIoFuture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/FutureResult<TT;>;
Signature: ()Lorg/xnio/IoFuture<TT;>;
public void addCancelHandler(org.xnio.Cancellable);
descriptor: (Lorg/xnio/Cancellable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.xnio.FutureResult.ioFuture:Lorg/xnio/AbstractIoFuture;
aload 1
invokevirtual org.xnio.AbstractIoFuture.addCancelHandler:(Lorg/xnio/Cancellable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/xnio/FutureResult<TT;>;
0 2 1 cancellable Lorg/xnio/Cancellable;
MethodParameters:
Name Flags
cancellable final
public boolean setResult();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.xnio.FutureResult.ioFuture:Lorg/xnio/AbstractIoFuture;
aload 1
invokevirtual org.xnio.AbstractIoFuture.setResult:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/FutureResult<TT;>;
0 1 1 result TT;
Signature: (TT;)Z
MethodParameters:
Name Flags
result final
public boolean setException(java.io.IOException);
descriptor: (Ljava/io/IOException;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.xnio.FutureResult.ioFuture:Lorg/xnio/AbstractIoFuture;
aload 1
invokevirtual org.xnio.AbstractIoFuture.setException:(Ljava/io/IOException;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/FutureResult<TT;>;
0 1 1 exception Ljava/io/IOException;
MethodParameters:
Name Flags
exception final
public boolean setCancelled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.xnio.FutureResult.ioFuture:Lorg/xnio/AbstractIoFuture;
invokevirtual org.xnio.AbstractIoFuture.setCancelled:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/FutureResult<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lorg/xnio/Result<TT;>;
SourceFile: "FutureResult.java"
NestMembers:
org.xnio.FutureResult$1
InnerClasses:
org.xnio.FutureResult$1