public class javax.cache.integration.CompletionListenerFuture implements javax.cache.integration.CompletionListener, java.util.concurrent.Future<java.lang.Void>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.cache.integration.CompletionListenerFuture
super_class: java.lang.Object
{
private final java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean isCompleted;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.Exception exception;
descriptor: Ljava/lang/Exception;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljavax/cache/integration/CompletionListenerFuture;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic javax.cache.integration.CompletionListenerFuture.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield javax.cache.integration.CompletionListenerFuture.lock:Ljava/lang/Object;
2: aload 0
iconst_0
putfield javax.cache.integration.CompletionListenerFuture.isCompleted:Z
3: aload 0
aconst_null
putfield javax.cache.integration.CompletionListenerFuture.exception:Ljava/lang/Exception;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/cache/integration/CompletionListenerFuture;
public void onCompletion();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.cache.integration.CompletionListenerFuture.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield javax.cache.integration.CompletionListenerFuture.isCompleted:Z
ifeq 3
2: new java.lang.IllegalStateException
dup
ldc "Attempted to use a CompletionListenerFuture instance more than once"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokevirtual javax.cache.integration.CompletionListenerFuture.markAsCompleted:()V
4: aload 1
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/cache/integration/CompletionListenerFuture;
Exception table:
from to target type
1 5 6 any
6 7 6 any
Exceptions:
throws java.lang.IllegalStateException
public void onException(java.lang.Exception);
descriptor: (Ljava/lang/Exception;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.cache.integration.CompletionListenerFuture.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
getfield javax.cache.integration.CompletionListenerFuture.isCompleted:Z
ifeq 3
2: new java.lang.IllegalStateException
dup
ldc "Attempted to use a CompletionListenerFuture instance more than once"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 1
putfield javax.cache.integration.CompletionListenerFuture.exception:Ljava/lang/Exception;
4: aload 0
invokevirtual javax.cache.integration.CompletionListenerFuture.markAsCompleted:()V
5: aload 2
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/cache/integration/CompletionListenerFuture;
0 10 1 e Ljava/lang/Exception;
Exception table:
from to target type
1 6 7 any
7 8 7 any
Exceptions:
throws java.lang.IllegalStateException
MethodParameters:
Name Flags
e
private void markAsCompleted();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic javax.cache.integration.CompletionListenerFuture.$assertionsDisabled:Z
ifne 1
aload 0
getfield javax.cache.integration.CompletionListenerFuture.lock:Ljava/lang/Object;
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield javax.cache.integration.CompletionListenerFuture.isCompleted:Z
2: aload 0
getfield javax.cache.integration.CompletionListenerFuture.lock:Ljava/lang/Object;
invokevirtual java.lang.Object.notifyAll:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/cache/integration/CompletionListenerFuture;
public boolean cancel(boolean);
descriptor: (Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
ldc "CompletionListenerFutures can't be cancelled"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/cache/integration/CompletionListenerFuture;
0 1 1 b Z
MethodParameters:
Name Flags
b
public boolean isCancelled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/cache/integration/CompletionListenerFuture;
public boolean isDone();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.cache.integration.CompletionListenerFuture.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield javax.cache.integration.CompletionListenerFuture.isCompleted:Z
aload 1
monitorexit
2: ireturn
3: StackMap locals: javax.cache.integration.CompletionListenerFuture java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/cache/integration/CompletionListenerFuture;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public java.lang.Void get();
descriptor: ()Ljava/lang/Void;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.cache.integration.CompletionListenerFuture.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: goto 3
2: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield javax.cache.integration.CompletionListenerFuture.lock:Ljava/lang/Object;
invokevirtual java.lang.Object.wait:()V
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.cache.integration.CompletionListenerFuture.isCompleted:Z
ifeq 2
4: aload 0
getfield javax.cache.integration.CompletionListenerFuture.exception:Ljava/lang/Exception;
ifnull 6
5: new java.util.concurrent.ExecutionException
dup
aload 0
getfield javax.cache.integration.CompletionListenerFuture.exception:Ljava/lang/Exception;
invokespecial java.util.concurrent.ExecutionException.<init>:(Ljava/lang/Throwable;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 1
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/cache/integration/CompletionListenerFuture;
Exception table:
from to target type
1 7 8 any
8 9 8 any
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
public java.lang.Void get(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Ljava/lang/Void;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 3 0: invokestatic java.lang.System.currentTimeMillis:()J
aload 3
lload 1
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
ladd
lstore 4
start local 4 1: aload 0
getfield javax.cache.integration.CompletionListenerFuture.lock:Ljava/lang/Object;
dup
astore 6
monitorenter
2: goto 7
3: StackMap locals: long java.lang.Object
StackMap stack:
lload 4
invokestatic java.lang.System.currentTimeMillis:()J
lsub
lstore 7
start local 7 4: lload 7
lconst_0
lcmp
ifgt 6
5: new java.util.concurrent.TimeoutException
dup
invokespecial java.util.concurrent.TimeoutException.<init>:()V
athrow
6: StackMap locals: long
StackMap stack:
aload 0
getfield javax.cache.integration.CompletionListenerFuture.lock:Ljava/lang/Object;
lload 7
invokevirtual java.lang.Object.wait:(J)V
end local 7 7: StackMap locals:
StackMap stack:
aload 0
getfield javax.cache.integration.CompletionListenerFuture.isCompleted:Z
ifeq 3
8: aload 0
getfield javax.cache.integration.CompletionListenerFuture.exception:Ljava/lang/Exception;
ifnull 10
9: new java.util.concurrent.ExecutionException
dup
aload 0
getfield javax.cache.integration.CompletionListenerFuture.exception:Ljava/lang/Exception;
invokespecial java.util.concurrent.ExecutionException.<init>:(Ljava/lang/Throwable;)V
athrow
10: StackMap locals:
StackMap stack:
aload 6
monitorexit
11: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: aload 6
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/cache/integration/CompletionListenerFuture;
0 15 1 timeout J
0 15 3 unit Ljava/util/concurrent/TimeUnit;
1 15 4 endTime J
4 7 7 waitTime J
Exception table:
from to target type
2 11 12 any
12 13 12 any
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
MethodParameters:
Name Flags
timeout
unit
public java.lang.Object get(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=3
0: aload 0
lload 1
aload 3
invokevirtual javax.cache.integration.CompletionListenerFuture.get:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Void;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
public java.lang.Object get();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual javax.cache.integration.CompletionListenerFuture.get:()Ljava/lang/Void;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
}
Signature: Ljava/lang/Object;Ljavax/cache/integration/CompletionListener;Ljava/util/concurrent/Future<Ljava/lang/Void;>;
SourceFile: "CompletionListenerFuture.java"