class org.apache.cassandra.repair.RepairRunnable$4 extends org.apache.cassandra.utils.WrappedRunnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.repair.RepairRunnable$4
super_class: org.apache.cassandra.utils.WrappedRunnable
{
final org.apache.cassandra.repair.RepairRunnable this$0;
descriptor: Lorg/apache/cassandra/repair/RepairRunnable;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.util.UUID val$sessionId;
descriptor: Ljava/util/UUID;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final int val$cmd;
descriptor: I
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.cassandra.repair.RepairRunnable, java.util.UUID, int);
descriptor: (Lorg/apache/cassandra/repair/RepairRunnable;Ljava/util/UUID;I)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.repair.RepairRunnable$4.this$0:Lorg/apache/cassandra/repair/RepairRunnable;
aload 0
aload 2
putfield org.apache.cassandra.repair.RepairRunnable$4.val$sessionId:Ljava/util/UUID;
aload 0
iload 3
putfield org.apache.cassandra.repair.RepairRunnable$4.val$cmd:I
aload 0
invokespecial org.apache.cassandra.utils.WrappedRunnable.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/repair/RepairRunnable$4;
MethodParameters:
Name Flags
this$0 final
val$sessionId final
val$cmd final
public void runMayThrow();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=30, args_size=1
start local 0 0: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
aload 0
getfield org.apache.cassandra.repair.RepairRunnable$4.val$sessionId:Ljava/util/UUID;
invokevirtual org.apache.cassandra.tracing.Tracing.get:(Ljava/util/UUID;)Lorg/apache/cassandra/tracing/TraceState;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new java.lang.Exception
dup
ldc "no tracestate"
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.cassandra.tracing.TraceState
StackMap stack:
ldc "select event_id, source, activity from %s.%s where session_id = ? and event_id > ? and event_id < ?;"
astore 2
start local 2 4: aload 2
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "system_traces"
aastore
dup
iconst_1
ldc "events"
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 3
start local 3 5: aload 3
invokestatic org.apache.cassandra.cql3.QueryProcessor.parseStatement:(Ljava/lang/String;)Lorg/apache/cassandra/cql3/statements/ParsedStatement;
invokestatic org.apache.cassandra.service.ClientState.forInternalCalls:()Lorg/apache/cassandra/service/ClientState;
invokevirtual org.apache.cassandra.cql3.statements.ParsedStatement.prepare:(Lorg/apache/cassandra/service/ClientState;)Lorg/apache/cassandra/cql3/statements/ParsedStatement$Prepared;
getfield org.apache.cassandra.cql3.statements.ParsedStatement$Prepared.statement:Lorg/apache/cassandra/cql3/CQLStatement;
checkcast org.apache.cassandra.cql3.statements.SelectStatement
astore 4
start local 4 6: aload 0
getfield org.apache.cassandra.repair.RepairRunnable$4.val$sessionId:Ljava/util/UUID;
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytes:(Ljava/util/UUID;)Ljava/nio/ByteBuffer;
astore 5
start local 5 7: invokestatic org.apache.cassandra.utils.FBUtilities.getBroadcastAddress:()Ljava/net/InetAddress;
astore 6
start local 6 8: iconst_2
anewarray java.util.HashSet
dup
iconst_0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
aastore
dup
iconst_1
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
aastore
astore 7
start local 7 9: iconst_0
istore 8
start local 8 10: invokestatic java.lang.System.currentTimeMillis:()J
lstore 10
start local 10 11: ldc 125
lstore 15
start local 15 12: ldc 1024000
lstore 17
start local 17 13: lload 15
lstore 19
start local 19 14: iconst_0
istore 21
start local 21 15: goto 56
start local 14 16: StackMap locals: org.apache.cassandra.repair.RepairRunnable$4 org.apache.cassandra.tracing.TraceState java.lang.String java.lang.String org.apache.cassandra.cql3.statements.SelectStatement java.nio.ByteBuffer java.net.InetAddress java.util.HashSet[] int top long top top org.apache.cassandra.tracing.TraceState$Status long long long int
StackMap stack:
aload 14
getstatic org.apache.cassandra.tracing.TraceState$Status.IDLE:Lorg/apache/cassandra/tracing/TraceState$Status;
if_acmpne 24
17: iload 21
ifeq 18
lload 19
ldc 2
lmul
lload 17
invokestatic java.lang.Math.min:(JJ)J
goto 19
StackMap locals:
StackMap stack:
18: lload 19
StackMap locals:
StackMap stack: long
19: lstore 19
20: iload 21
ifeq 21
iconst_0
goto 22
StackMap locals:
StackMap stack:
21: iconst_1
StackMap locals:
StackMap stack: int
22: istore 21
23: goto 26
24: StackMap locals:
StackMap stack:
lload 15
lstore 19
25: iconst_0
istore 21
26: StackMap locals:
StackMap stack:
lload 10
ldc 1000
lsub
invokestatic org.apache.cassandra.utils.UUIDGen.minTimeUUID:(J)Ljava/util/UUID;
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytes:(Ljava/util/UUID;)Ljava/nio/ByteBuffer;
astore 22
start local 22 27: invokestatic java.lang.System.currentTimeMillis:()J
dup2
lstore 12
start local 12 28: invokestatic org.apache.cassandra.utils.UUIDGen.maxTimeUUID:(J)Ljava/util/UUID;
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytes:(Ljava/util/UUID;)Ljava/nio/ByteBuffer;
astore 23
start local 23 29: getstatic org.apache.cassandra.db.ConsistencyLevel.ONE:Lorg/apache/cassandra/db/ConsistencyLevel;
iconst_3
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 5
aastore
dup
iconst_1
30: aload 22
aastore
dup
iconst_2
31: aload 23
aastore
32: invokestatic com.google.common.collect.Lists.newArrayList:([Ljava/lang/Object;)Ljava/util/ArrayList;
invokestatic org.apache.cassandra.cql3.QueryOptions.forInternalCalls:(Lorg/apache/cassandra/db/ConsistencyLevel;Ljava/util/List;)Lorg/apache/cassandra/cql3/QueryOptions;
astore 24
start local 24 33: aload 4
invokestatic org.apache.cassandra.service.QueryState.forInternalCalls:()Lorg/apache/cassandra/service/QueryState;
aload 24
invokestatic java.lang.System.nanoTime:()J
invokevirtual org.apache.cassandra.cql3.statements.SelectStatement.execute:(Lorg/apache/cassandra/service/QueryState;Lorg/apache/cassandra/cql3/QueryOptions;J)Lorg/apache/cassandra/transport/messages/ResultMessage$Rows;
astore 25
start local 25 34: aload 25
getfield org.apache.cassandra.transport.messages.ResultMessage$Rows.result:Lorg/apache/cassandra/cql3/ResultSet;
invokestatic org.apache.cassandra.cql3.UntypedResultSet.create:(Lorg/apache/cassandra/cql3/ResultSet;)Lorg/apache/cassandra/cql3/UntypedResultSet;
astore 26
start local 26 35: aload 26
invokevirtual org.apache.cassandra.cql3.UntypedResultSet.iterator:()Ljava/util/Iterator;
astore 28
goto 50
StackMap locals: org.apache.cassandra.repair.RepairRunnable$4 org.apache.cassandra.tracing.TraceState java.lang.String java.lang.String org.apache.cassandra.cql3.statements.SelectStatement java.nio.ByteBuffer java.net.InetAddress java.util.HashSet[] int top long long org.apache.cassandra.tracing.TraceState$Status long long long int java.nio.ByteBuffer java.nio.ByteBuffer org.apache.cassandra.cql3.QueryOptions org.apache.cassandra.transport.messages.ResultMessage$Rows org.apache.cassandra.cql3.UntypedResultSet top java.util.Iterator
StackMap stack:
36: aload 28
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.cql3.UntypedResultSet$Row
astore 27
start local 27 37: aload 6
aload 27
ldc "source"
invokevirtual org.apache.cassandra.cql3.UntypedResultSet$Row.getInetAddress:(Ljava/lang/String;)Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.equals:(Ljava/lang/Object;)Z
ifeq 39
38: goto 50
39: StackMap locals: org.apache.cassandra.repair.RepairRunnable$4 org.apache.cassandra.tracing.TraceState java.lang.String java.lang.String org.apache.cassandra.cql3.statements.SelectStatement java.nio.ByteBuffer java.net.InetAddress java.util.HashSet[] int top long long org.apache.cassandra.tracing.TraceState$Status long long long int java.nio.ByteBuffer java.nio.ByteBuffer org.apache.cassandra.cql3.QueryOptions org.apache.cassandra.transport.messages.ResultMessage$Rows org.apache.cassandra.cql3.UntypedResultSet org.apache.cassandra.cql3.UntypedResultSet$Row java.util.Iterator
StackMap stack:
aload 27
ldc "event_id"
invokevirtual org.apache.cassandra.cql3.UntypedResultSet$Row.getUUID:(Ljava/lang/String;)Ljava/util/UUID;
dup
astore 9
start local 9 40: invokevirtual java.util.UUID.timestamp:()J
lload 12
ldc 1000
lsub
ldc 10000
lmul
lcmp
ifle 42
41: aload 7
iload 8
aaload
aload 9
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
42: StackMap locals: org.apache.cassandra.repair.RepairRunnable$4 org.apache.cassandra.tracing.TraceState java.lang.String java.lang.String org.apache.cassandra.cql3.statements.SelectStatement java.nio.ByteBuffer java.net.InetAddress java.util.HashSet[] int java.util.UUID long long org.apache.cassandra.tracing.TraceState$Status long long long int java.nio.ByteBuffer java.nio.ByteBuffer org.apache.cassandra.cql3.QueryOptions org.apache.cassandra.transport.messages.ResultMessage$Rows org.apache.cassandra.cql3.UntypedResultSet org.apache.cassandra.cql3.UntypedResultSet$Row java.util.Iterator
StackMap stack:
aload 7
iload 8
ifne 43
iconst_1
goto 44
StackMap locals:
StackMap stack: java.util.HashSet[]
43: iconst_0
StackMap locals: org.apache.cassandra.repair.RepairRunnable$4 org.apache.cassandra.tracing.TraceState java.lang.String java.lang.String org.apache.cassandra.cql3.statements.SelectStatement java.nio.ByteBuffer java.net.InetAddress java.util.HashSet[] int java.util.UUID long long org.apache.cassandra.tracing.TraceState$Status long long long int java.nio.ByteBuffer java.nio.ByteBuffer org.apache.cassandra.cql3.QueryOptions org.apache.cassandra.transport.messages.ResultMessage$Rows org.apache.cassandra.cql3.UntypedResultSet org.apache.cassandra.cql3.UntypedResultSet$Row java.util.Iterator
StackMap stack: java.util.HashSet[] int
44: aaload
aload 9
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
ifeq 46
45: goto 50
46: StackMap locals:
StackMap stack:
ldc "%s: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 27
ldc "source"
invokevirtual org.apache.cassandra.cql3.UntypedResultSet$Row.getInetAddress:(Ljava/lang/String;)Ljava/net/InetAddress;
aastore
dup
iconst_1
aload 27
ldc "activity"
invokevirtual org.apache.cassandra.cql3.UntypedResultSet$Row.getString:(Ljava/lang/String;)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 29
start local 29 47: aload 0
getfield org.apache.cassandra.repair.RepairRunnable$4.this$0:Lorg/apache/cassandra/repair/RepairRunnable;
new java.lang.StringBuilder
dup
ldc "repair:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.cassandra.repair.RepairRunnable$4.val$cmd:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
48: new org.apache.cassandra.utils.progress.ProgressEvent
dup
getstatic org.apache.cassandra.utils.progress.ProgressEventType.NOTIFICATION:Lorg/apache/cassandra/utils/progress/ProgressEventType;
iconst_0
iconst_0
aload 29
invokespecial org.apache.cassandra.utils.progress.ProgressEvent.<init>:(Lorg/apache/cassandra/utils/progress/ProgressEventType;IILjava/lang/String;)V
49: invokevirtual org.apache.cassandra.repair.RepairRunnable.fireProgressEvent:(Ljava/lang/String;Lorg/apache/cassandra/utils/progress/ProgressEvent;)V
end local 29 end local 27 end local 9 50: StackMap locals: org.apache.cassandra.repair.RepairRunnable$4 org.apache.cassandra.tracing.TraceState java.lang.String java.lang.String org.apache.cassandra.cql3.statements.SelectStatement java.nio.ByteBuffer java.net.InetAddress java.util.HashSet[] int top long long org.apache.cassandra.tracing.TraceState$Status long long long int java.nio.ByteBuffer java.nio.ByteBuffer org.apache.cassandra.cql3.QueryOptions org.apache.cassandra.transport.messages.ResultMessage$Rows org.apache.cassandra.cql3.UntypedResultSet top java.util.Iterator
StackMap stack:
aload 28
invokeinterface java.util.Iterator.hasNext:()Z
ifne 36
51: lload 12
lstore 10
52: iload 8
ifne 53
iconst_1
goto 54
StackMap locals: org.apache.cassandra.repair.RepairRunnable$4 org.apache.cassandra.tracing.TraceState java.lang.String java.lang.String org.apache.cassandra.cql3.statements.SelectStatement java.nio.ByteBuffer java.net.InetAddress java.util.HashSet[] int top long long org.apache.cassandra.tracing.TraceState$Status long long long int java.nio.ByteBuffer java.nio.ByteBuffer org.apache.cassandra.cql3.QueryOptions org.apache.cassandra.transport.messages.ResultMessage$Rows org.apache.cassandra.cql3.UntypedResultSet
StackMap stack:
53: iconst_0
StackMap locals:
StackMap stack: int
54: istore 8
55: aload 7
iload 8
aaload
invokevirtual java.util.HashSet.clear:()V
end local 26 end local 25 end local 24 end local 23 end local 22 end local 14 end local 12 56: StackMap locals: org.apache.cassandra.repair.RepairRunnable$4 org.apache.cassandra.tracing.TraceState java.lang.String java.lang.String org.apache.cassandra.cql3.statements.SelectStatement java.nio.ByteBuffer java.net.InetAddress java.util.HashSet[] int top long top top top long long long int
StackMap stack:
aload 1
lload 19
invokevirtual org.apache.cassandra.tracing.TraceState.waitActivity:(J)Lorg/apache/cassandra/tracing/TraceState$Status;
dup
astore 14
start local 14 57: getstatic org.apache.cassandra.tracing.TraceState$Status.STOPPED:Lorg/apache/cassandra/tracing/TraceState$Status;
if_acmpne 16
58: return
end local 21 end local 19 end local 17 end local 15 end local 14 end local 10 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 59 0 this Lorg/apache/cassandra/repair/RepairRunnable$4;
1 59 1 state Lorg/apache/cassandra/tracing/TraceState;
4 59 2 format Ljava/lang/String;
5 59 3 query Ljava/lang/String;
6 59 4 statement Lorg/apache/cassandra/cql3/statements/SelectStatement;
7 59 5 sessionIdBytes Ljava/nio/ByteBuffer;
8 59 6 source Ljava/net/InetAddress;
9 59 7 seen [Ljava/util/HashSet;
10 59 8 si I
40 50 9 uuid Ljava/util/UUID;
11 59 10 tlast J
28 56 12 tcur J
16 56 14 status Lorg/apache/cassandra/tracing/TraceState$Status;
57 59 14 status Lorg/apache/cassandra/tracing/TraceState$Status;
12 59 15 minWaitMillis J
13 59 17 maxWaitMillis J
14 59 19 timeout J
15 59 21 shouldDouble Z
27 56 22 tminBytes Ljava/nio/ByteBuffer;
29 56 23 tmaxBytes Ljava/nio/ByteBuffer;
33 56 24 options Lorg/apache/cassandra/cql3/QueryOptions;
34 56 25 rows Lorg/apache/cassandra/transport/messages/ResultMessage$Rows;
35 56 26 result Lorg/apache/cassandra/cql3/UntypedResultSet;
37 50 27 r Lorg/apache/cassandra/cql3/UntypedResultSet$Row;
47 50 29 message Ljava/lang/String;
Exceptions:
throws java.lang.Exception
}
SourceFile: "RepairRunnable.java"
EnclosingMethod: org.apache.cassandra.repair.RepairRunnable.createQueryThread:(ILjava/util/UUID;)Ljava/lang/Thread;
NestHost: org.apache.cassandra.repair.RepairRunnable
InnerClasses:
public Row = org.apache.cassandra.cql3.UntypedResultSet$Row of org.apache.cassandra.cql3.UntypedResultSet
public Prepared = org.apache.cassandra.cql3.statements.ParsedStatement$Prepared of org.apache.cassandra.cql3.statements.ParsedStatement
org.apache.cassandra.repair.RepairRunnable$4
public final Status = org.apache.cassandra.tracing.TraceState$Status of org.apache.cassandra.tracing.TraceState
public Rows = org.apache.cassandra.transport.messages.ResultMessage$Rows of org.apache.cassandra.transport.messages.ResultMessage