class org.xnio.IoUtils$10 implements java.util.concurrent.Future<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.xnio.IoUtils$10
super_class: java.lang.Object
{
private final org.xnio.IoFuture val$ioFuture;
descriptor: Lorg/xnio/IoFuture;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.xnio.IoFuture);
descriptor: (Lorg/xnio/IoFuture;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.xnio.IoUtils$10.val$ioFuture:Lorg/xnio/IoFuture;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/IoUtils$10;
MethodParameters:
Name Flags
val$ioFuture final
public boolean cancel(boolean);
descriptor: (Z)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.IoUtils$10.val$ioFuture:Lorg/xnio/IoFuture;
invokeinterface org.xnio.IoFuture.cancel:()Lorg/xnio/IoFuture;
pop
1: aload 0
getfield org.xnio.IoUtils$10.val$ioFuture:Lorg/xnio/IoFuture;
invokeinterface org.xnio.IoFuture.await:()Lorg/xnio/IoFuture$Status;
getstatic org.xnio.IoFuture$Status.CANCELLED:Lorg/xnio/IoFuture$Status;
if_acmpne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/xnio/IoUtils$10;
0 3 1 mayInterruptIfRunning Z
MethodParameters:
Name Flags
mayInterruptIfRunning final
public boolean isCancelled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.xnio.IoUtils$10.val$ioFuture:Lorg/xnio/IoFuture;
invokeinterface org.xnio.IoFuture.getStatus:()Lorg/xnio/IoFuture$Status;
getstatic org.xnio.IoFuture$Status.CANCELLED:Lorg/xnio/IoFuture$Status;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/xnio/IoUtils$10;
public boolean isDone();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.xnio.IoUtils$10.val$ioFuture:Lorg/xnio/IoFuture;
invokeinterface org.xnio.IoFuture.getStatus:()Lorg/xnio/IoFuture$Status;
getstatic org.xnio.IoFuture$Status.DONE:Lorg/xnio/IoFuture$Status;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/xnio/IoUtils$10;
public T get();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.xnio.IoUtils$10.val$ioFuture:Lorg/xnio/IoFuture;
invokeinterface org.xnio.IoFuture.getInterruptibly:()Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 3: new java.util.concurrent.ExecutionException
dup
aload 1
invokespecial java.util.concurrent.ExecutionException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/xnio/IoUtils$10;
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
Signature: ()TT;
public T get(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield org.xnio.IoUtils$10.val$ioFuture:Lorg/xnio/IoFuture;
lload 1
aload 3
invokeinterface org.xnio.IoFuture.awaitInterruptibly:(JLjava/util/concurrent/TimeUnit;)Lorg/xnio/IoFuture$Status;
getstatic org.xnio.IoFuture$Status.WAITING:Lorg/xnio/IoFuture$Status;
if_acmpne 2
1: getstatic org.xnio._private.Messages.msg:Lorg/xnio/_private/Messages;
invokeinterface org.xnio._private.Messages.opTimedOut:()Ljava/util/concurrent/TimeoutException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.xnio.IoUtils$10.val$ioFuture:Lorg/xnio/IoFuture;
invokeinterface org.xnio.IoFuture.getInterruptibly:()Ljava/lang/Object;
3: areturn
4: StackMap locals:
StackMap stack: java.io.IOException
astore 4
start local 4 5: new java.util.concurrent.ExecutionException
dup
aload 4
invokespecial java.util.concurrent.ExecutionException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/xnio/IoUtils$10;
0 6 1 timeout J
0 6 3 unit Ljava/util/concurrent/TimeUnit;
5 6 4 e Ljava/io/IOException;
Exception table:
from to target type
0 3 4 Class java.io.IOException
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
Signature: (JLjava/util/concurrent/TimeUnit;)TT;
MethodParameters:
Name Flags
timeout final
unit final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "java.util.concurrent.Future wrapper <%s> for %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.xnio.IoUtils$10.val$ioFuture:Lorg/xnio/IoFuture;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/IoUtils$10;
}
Signature: Ljava/lang/Object;Ljava/util/concurrent/Future<TT;>;
SourceFile: "IoUtils.java"
EnclosingMethod: org.xnio.IoUtils.getFuture:(Lorg/xnio/IoFuture;)Ljava/util/concurrent/Future;
NestHost: org.xnio.IoUtils
InnerClasses:
public final Status = org.xnio.IoFuture$Status of org.xnio.IoFuture
org.xnio.IoUtils$10