public class org.apache.cassandra.service.QueryState
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.service.QueryState
super_class: java.lang.Object
{
private final org.apache.cassandra.service.ClientState clientState;
descriptor: Lorg/apache/cassandra/service/ClientState;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile java.util.UUID preparedTracingSession;
descriptor: Ljava/util/UUID;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>(org.apache.cassandra.service.ClientState);
descriptor: (Lorg/apache/cassandra/service/ClientState;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.service.QueryState.clientState:Lorg/apache/cassandra/service/ClientState;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/service/QueryState;
0 3 1 clientState Lorg/apache/cassandra/service/ClientState;
MethodParameters:
Name Flags
clientState
public static org.apache.cassandra.service.QueryState forInternalCalls();
descriptor: ()Lorg/apache/cassandra/service/QueryState;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new org.apache.cassandra.service.QueryState
dup
invokestatic org.apache.cassandra.service.ClientState.forInternalCalls:()Lorg/apache/cassandra/service/ClientState;
invokespecial org.apache.cassandra.service.QueryState.<init>:(Lorg/apache/cassandra/service/ClientState;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.apache.cassandra.service.ClientState getClientState();
descriptor: ()Lorg/apache/cassandra/service/ClientState;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.service.QueryState.clientState:Lorg/apache/cassandra/service/ClientState;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/service/QueryState;
public long getTimestamp();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.service.QueryState.clientState:Lorg/apache/cassandra/service/ClientState;
invokevirtual org.apache.cassandra.service.ClientState.getTimestamp:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/service/QueryState;
public boolean traceNextQuery();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.service.QueryState.preparedTracingSession:Ljava/util/UUID;
ifnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.service.StorageService.instance:Lorg/apache/cassandra/service/StorageService;
invokevirtual org.apache.cassandra.service.StorageService.getTraceProbability:()D
dstore 1
start local 1 3: dload 1
dconst_0
dcmpl
ifeq 4
invokestatic java.util.concurrent.ThreadLocalRandom.current:()Ljava/util/concurrent/ThreadLocalRandom;
invokevirtual java.util.concurrent.ThreadLocalRandom.nextDouble:()D
dload 1
dcmpg
ifge 4
iconst_1
ireturn
StackMap locals: double
StackMap stack:
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/service/QueryState;
3 5 1 traceProbability D
public void prepareTracingSession(java.util.UUID);
descriptor: (Ljava/util/UUID;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.cassandra.service.QueryState.preparedTracingSession:Ljava/util/UUID;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/service/QueryState;
0 2 1 sessionId Ljava/util/UUID;
MethodParameters:
Name Flags
sessionId
public void createTracingSession(java.util.Map<java.lang.String, java.nio.ByteBuffer>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.service.QueryState.preparedTracingSession:Ljava/util/UUID;
astore 2
start local 2 1: aload 2
ifnonnull 4
2: getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
aload 1
invokevirtual org.apache.cassandra.tracing.Tracing.newSession:(Ljava/util/Map;)Ljava/util/UUID;
pop
3: goto 6
4: StackMap locals: java.util.UUID
StackMap stack:
getstatic org.apache.cassandra.tracing.Tracing.instance:Lorg/apache/cassandra/tracing/Tracing;
aload 2
aload 1
invokevirtual org.apache.cassandra.tracing.Tracing.newSession:(Ljava/util/UUID;Ljava/util/Map;)Ljava/util/UUID;
pop
5: aload 0
aconst_null
putfield org.apache.cassandra.service.QueryState.preparedTracingSession:Ljava/util/UUID;
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/service/QueryState;
0 7 1 customPayload Ljava/util/Map<Ljava/lang/String;Ljava/nio/ByteBuffer;>;
1 7 2 session Ljava/util/UUID;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/nio/ByteBuffer;>;)V
MethodParameters:
Name Flags
customPayload
public java.net.InetAddress getClientAddress();
descriptor: ()Ljava/net/InetAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.service.QueryState.clientState:Lorg/apache/cassandra/service/ClientState;
getfield org.apache.cassandra.service.ClientState.isInternal:Z
ifeq 2
1: aconst_null
goto 3
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.service.QueryState.clientState:Lorg/apache/cassandra/service/ClientState;
invokevirtual org.apache.cassandra.service.ClientState.getRemoteAddress:()Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
3: StackMap locals:
StackMap stack: java.net.InetAddress
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/service/QueryState;
}
SourceFile: "QueryState.java"