class org.apache.cassandra.repair.RepairSession$1 implements com.google.common.util.concurrent.FutureCallback<java.util.List<org.apache.cassandra.repair.RepairResult>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.repair.RepairSession$1
super_class: java.lang.Object
{
final org.apache.cassandra.repair.RepairSession this$0;
descriptor: Lorg/apache/cassandra/repair/RepairSession;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.cassandra.repair.RepairSession);
descriptor: (Lorg/apache/cassandra/repair/RepairSession;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.repair.RepairSession$1.this$0:Lorg/apache/cassandra/repair/RepairSession;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/repair/RepairSession$1;
MethodParameters:
Name Flags
this$0 final
public void onSuccess(java.util.List<org.apache.cassandra.repair.RepairResult>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.repair.RepairSession.logger:Lorg/slf4j/Logger;
ldc "[repair #{}] {}"
aload 0
getfield org.apache.cassandra.repair.RepairSession$1.this$0:Lorg/apache/cassandra/repair/RepairSession;
invokevirtual org.apache.cassandra.repair.RepairSession.getId:()Ljava/util/UUID;
ldc "Session completed successfully"
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
1: ldc "Completed sync of range {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.repair.RepairSession$1.this$0:Lorg/apache/cassandra/repair/RepairSession;
getfield org.apache.cassandra.repair.RepairSession.ranges:Ljava/util/Collection;
aastore
invokestatic org.apache.cassandra.tracing.Tracing.traceRepair:(Ljava/lang/String;[Ljava/lang/Object;)V
2: aload 0
getfield org.apache.cassandra.repair.RepairSession$1.this$0:Lorg/apache/cassandra/repair/RepairSession;
new org.apache.cassandra.repair.RepairSessionResult
dup
aload 0
getfield org.apache.cassandra.repair.RepairSession$1.this$0:Lorg/apache/cassandra/repair/RepairSession;
getfield org.apache.cassandra.repair.RepairSession.id:Ljava/util/UUID;
aload 0
getfield org.apache.cassandra.repair.RepairSession$1.this$0:Lorg/apache/cassandra/repair/RepairSession;
getfield org.apache.cassandra.repair.RepairSession.keyspace:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.repair.RepairSession$1.this$0:Lorg/apache/cassandra/repair/RepairSession;
getfield org.apache.cassandra.repair.RepairSession.ranges:Ljava/util/Collection;
aload 1
invokespecial org.apache.cassandra.repair.RepairSessionResult.<init>:(Ljava/util/UUID;Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;)V
invokestatic org.apache.cassandra.repair.RepairSession.access$0:(Lorg/apache/cassandra/repair/RepairSession;Ljava/lang/Object;)Z
pop
3: aload 0
getfield org.apache.cassandra.repair.RepairSession$1.this$0:Lorg/apache/cassandra/repair/RepairSession;
getfield org.apache.cassandra.repair.RepairSession.taskExecutor:Lcom/google/common/util/concurrent/ListeningExecutorService;
invokeinterface com.google.common.util.concurrent.ListeningExecutorService.shutdown:()V
4: aload 0
getfield org.apache.cassandra.repair.RepairSession$1.this$0:Lorg/apache/cassandra/repair/RepairSession;
invokevirtual org.apache.cassandra.repair.RepairSession.terminate:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/repair/RepairSession$1;
0 6 1 results Ljava/util/List<Lorg/apache/cassandra/repair/RepairResult;>;
Signature: (Ljava/util/List<Lorg/apache/cassandra/repair/RepairResult;>;)V
MethodParameters:
Name Flags
results
public void onFailure(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.repair.RepairSession.logger:Lorg/slf4j/Logger;
ldc "[repair #%s] Session completed with the following error"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.repair.RepairSession$1.this$0:Lorg/apache/cassandra/repair/RepairSession;
invokevirtual org.apache.cassandra.repair.RepairSession.getId:()Ljava/util/UUID;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 1
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
1: ldc "Session completed with the following error: {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic org.apache.cassandra.tracing.Tracing.traceRepair:(Ljava/lang/String;[Ljava/lang/Object;)V
2: aload 0
getfield org.apache.cassandra.repair.RepairSession$1.this$0:Lorg/apache/cassandra/repair/RepairSession;
aload 1
invokevirtual org.apache.cassandra.repair.RepairSession.forceShutdown:(Ljava/lang/Throwable;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/repair/RepairSession$1;
0 4 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onSuccess(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.util.List
invokevirtual org.apache.cassandra.repair.RepairSession$1.onSuccess:(Ljava/util/List;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/google/common/util/concurrent/FutureCallback<Ljava/util/List<Lorg/apache/cassandra/repair/RepairResult;>;>;
SourceFile: "RepairSession.java"
EnclosingMethod: org.apache.cassandra.repair.RepairSession.start:(Lcom/google/common/util/concurrent/ListeningExecutorService;)V
NestHost: org.apache.cassandra.repair.RepairSession
InnerClasses:
org.apache.cassandra.repair.RepairSession$1