class org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask<T> extends org.apache.cassandra.utils.concurrent.SimpleCondition implements java.util.concurrent.Future<T>, java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask
super_class: org.apache.cassandra.utils.concurrent.SimpleCondition
{
private boolean failure;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.Object result;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private final java.util.concurrent.Callable<T> callable;
descriptor: Ljava/util/concurrent/Callable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/Callable<TT;>;
final org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService this$0;
descriptor: Lorg/apache/cassandra/concurrent/AbstractLocalAwareExecutorService;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(java.util.concurrent.Callable<T>);
descriptor: (Lorg/apache/cassandra/concurrent/AbstractLocalAwareExecutorService;Ljava/util/concurrent/Callable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.this$0:Lorg/apache/cassandra/concurrent/AbstractLocalAwareExecutorService;
1: aload 0
invokespecial org.apache.cassandra.utils.concurrent.SimpleCondition.<init>:()V
2: aload 0
aload 0
putfield org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.result:Ljava/lang/Object;
3: aload 0
aload 2
putfield org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.callable:Ljava/util/concurrent/Callable;
4: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/concurrent/AbstractLocalAwareExecutorService$FutureTask<TT;>;
0 5 2 callable Ljava/util/concurrent/Callable<TT;>;
Signature: (Ljava/util/concurrent/Callable<TT;>;)V
MethodParameters:
Name Flags
this$0 final
callable
public void <init>(java.lang.Runnable, );
descriptor: (Lorg/apache/cassandra/concurrent/AbstractLocalAwareExecutorService;Ljava/lang/Runnable;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokestatic java.util.concurrent.Executors.callable:(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Callable;
invokespecial org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.<init>:(Lorg/apache/cassandra/concurrent/AbstractLocalAwareExecutorService;Ljava/util/concurrent/Callable;)V
1: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/concurrent/AbstractLocalAwareExecutorService$FutureTask<TT;>;
0 2 2 runnable Ljava/lang/Runnable;
0 2 3 result TT;
Signature: (Ljava/lang/Runnable;TT;)V
MethodParameters:
Name Flags
this$0 final
runnable
result
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.callable:Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
putfield org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.result:Ljava/lang/Object;
1: goto 17
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 3: getstatic org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService.logger:Lorg/slf4j/Logger;
ldc "Uncaught exception on thread {}"
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 1
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
4: aload 0
aload 1
putfield org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.result:Ljava/lang/Object;
5: aload 0
iconst_1
putfield org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.failure:Z
6: aload 1
instanceof org.apache.cassandra.io.sstable.CorruptSSTableException
ifeq 8
7: aload 1
checkcast org.apache.cassandra.io.sstable.CorruptSSTableException
invokestatic org.apache.cassandra.io.util.FileUtils.handleCorruptSSTable:(Lorg/apache/cassandra/io/sstable/CorruptSSTableException;)V
goto 11
8: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
instanceof org.apache.cassandra.io.FSError
ifeq 10
9: aload 1
checkcast org.apache.cassandra.io.FSError
invokestatic org.apache.cassandra.io.util.FileUtils.handleFSError:(Lorg/apache/cassandra/io/FSError;)V
goto 11
10: StackMap locals:
StackMap stack:
aload 1
invokestatic org.apache.cassandra.utils.JVMStabilityInspector.inspectThrowable:(Ljava/lang/Throwable;)V
end local 1 11: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.signalAll:()V
12: aload 0
getfield org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.this$0:Lorg/apache/cassandra/concurrent/AbstractLocalAwareExecutorService;
invokevirtual org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService.onCompletion:()V
goto 19
13: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
14: aload 0
invokevirtual org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.signalAll:()V
15: aload 0
getfield org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.this$0:Lorg/apache/cassandra/concurrent/AbstractLocalAwareExecutorService;
invokevirtual org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService.onCompletion:()V
16: aload 2
athrow
17: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.signalAll:()V
18: aload 0
getfield org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.this$0:Lorg/apache/cassandra/concurrent/AbstractLocalAwareExecutorService;
invokevirtual org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService.onCompletion:()V
19: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/cassandra/concurrent/AbstractLocalAwareExecutorService$FutureTask<TT;>;
3 11 1 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
0 11 13 any
public boolean cancel(boolean);
descriptor: (Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/concurrent/AbstractLocalAwareExecutorService$FutureTask<TT;>;
0 1 1 mayInterruptIfRunning Z
MethodParameters:
Name Flags
mayInterruptIfRunning
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 Lorg/apache/cassandra/concurrent/AbstractLocalAwareExecutorService$FutureTask<TT;>;
public boolean isDone();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.isSignaled:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/concurrent/AbstractLocalAwareExecutorService$FutureTask<TT;>;
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
invokevirtual org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.await:()V
1: aload 0
getfield org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.result:Ljava/lang/Object;
astore 1
start local 1 2: aload 0
getfield org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.failure:Z
ifeq 4
3: new java.util.concurrent.ExecutionException
dup
aload 1
checkcast java.lang.Throwable
invokespecial java.util.concurrent.ExecutionException.<init>:(Ljava/lang/Throwable;)V
athrow
4: StackMap locals: java.lang.Object
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/concurrent/AbstractLocalAwareExecutorService$FutureTask<TT;>;
2 5 1 result Ljava/lang/Object;
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
lload 1
aload 3
invokevirtual org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.await:(JLjava/util/concurrent/TimeUnit;)Z
ifne 2
1: new java.util.concurrent.TimeoutException
dup
invokespecial java.util.concurrent.TimeoutException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.result:Ljava/lang/Object;
astore 4
start local 4 3: aload 0
getfield org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.failure:Z
ifeq 5
4: new java.util.concurrent.ExecutionException
dup
aload 4
checkcast java.lang.Throwable
invokespecial java.util.concurrent.ExecutionException.<init>:(Ljava/lang/Throwable;)V
athrow
5: StackMap locals: java.lang.Object
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/concurrent/AbstractLocalAwareExecutorService$FutureTask<TT;>;
0 6 1 timeout J
0 6 3 unit Ljava/util/concurrent/TimeUnit;
3 6 4 result Ljava/lang/Object;
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
Signature: (JLjava/util/concurrent/TimeUnit;)TT;
MethodParameters:
Name Flags
timeout
unit
}
Signature: <T:Ljava/lang/Object;>Lorg/apache/cassandra/utils/concurrent/SimpleCondition;Ljava/util/concurrent/Future<TT;>;Ljava/lang/Runnable;
SourceFile: "AbstractLocalAwareExecutorService.java"
NestHost: org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService
InnerClasses:
FutureTask = org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask of org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService