final class org.glassfish.grizzly.utils.Futures$FutureToCompletionHandler<E> extends org.glassfish.grizzly.EmptyCompletionHandler<E>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.utils.Futures$FutureToCompletionHandler
super_class: org.glassfish.grizzly.EmptyCompletionHandler
{
private final org.glassfish.grizzly.impl.FutureImpl<E> future;
descriptor: Lorg/glassfish/grizzly/impl/FutureImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/glassfish/grizzly/impl/FutureImpl<TE;>;
public void <init>(org.glassfish.grizzly.impl.FutureImpl<E>);
descriptor: (Lorg/glassfish/grizzly/impl/FutureImpl;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.glassfish.grizzly.EmptyCompletionHandler.<init>:()V
1: aload 0
aload 1
putfield org.glassfish.grizzly.utils.Futures$FutureToCompletionHandler.future:Lorg/glassfish/grizzly/impl/FutureImpl;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/utils/Futures$FutureToCompletionHandler<TE;>;
0 3 1 future Lorg/glassfish/grizzly/impl/FutureImpl<TE;>;
Signature: (Lorg/glassfish/grizzly/impl/FutureImpl<TE;>;)V
MethodParameters:
Name Flags
future
public void cancelled();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.utils.Futures$FutureToCompletionHandler.future:Lorg/glassfish/grizzly/impl/FutureImpl;
iconst_0
invokeinterface org.glassfish.grizzly.impl.FutureImpl.cancel:(Z)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/utils/Futures$FutureToCompletionHandler<TE;>;
public void completed();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.glassfish.grizzly.Copyable
ifeq 2
1: aload 1
checkcast org.glassfish.grizzly.Copyable
invokeinterface org.glassfish.grizzly.Copyable.copy:()Ljava/lang/Object;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.utils.Futures$FutureToCompletionHandler.future:Lorg/glassfish/grizzly/impl/FutureImpl;
aload 1
invokeinterface org.glassfish.grizzly.impl.FutureImpl.result:(Ljava/lang/Object;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/utils/Futures$FutureToCompletionHandler<TE;>;
0 4 1 result TE;
Signature: (TE;)V
MethodParameters:
Name Flags
result
public void failed(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.utils.Futures$FutureToCompletionHandler.future:Lorg/glassfish/grizzly/impl/FutureImpl;
aload 1
invokeinterface org.glassfish.grizzly.impl.FutureImpl.failure:(Ljava/lang/Throwable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/utils/Futures$FutureToCompletionHandler<TE;>;
0 2 1 throwable Ljava/lang/Throwable;
MethodParameters:
Name Flags
throwable final
}
Signature: <E:Ljava/lang/Object;>Lorg/glassfish/grizzly/EmptyCompletionHandler<TE;>;
SourceFile: "Futures.java"
NestHost: org.glassfish.grizzly.utils.Futures
InnerClasses:
private final FutureToCompletionHandler = org.glassfish.grizzly.utils.Futures$FutureToCompletionHandler of org.glassfish.grizzly.utils.Futures