class org.apache.cassandra.tracing.TracingImpl extends org.apache.cassandra.tracing.Tracing
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.tracing.TracingImpl
super_class: org.apache.cassandra.tracing.Tracing
{
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 Lorg/apache/cassandra/tracing/TracingImpl;
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 org.apache.cassandra.tracing.TracingImpl.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.cassandra.tracing.Tracing.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/tracing/TracingImpl;
public void stopSessionImpl();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.tracing.TracingImpl.getStateImpl:()Lorg/apache/cassandra/tracing/TraceStateImpl;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: return
3: StackMap locals: org.apache.cassandra.tracing.TraceStateImpl
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.tracing.TraceStateImpl.elapsed:()I
istore 2
start local 2 4: aload 1
getfield org.apache.cassandra.tracing.TraceStateImpl.sessionIdBytes:Ljava/nio/ByteBuffer;
astore 3
start local 3 5: aload 1
getfield org.apache.cassandra.tracing.TraceStateImpl.ttl:I
istore 4
start local 4 6: aload 1
aload 3
iload 2
iload 4
invokestatic org.apache.cassandra.tracing.TraceKeyspace.makeStopSessionMutation:(Ljava/nio/ByteBuffer;II)Lorg/apache/cassandra/db/Mutation;
invokevirtual org.apache.cassandra.tracing.TraceStateImpl.executeMutation:(Lorg/apache/cassandra/db/Mutation;)V
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/tracing/TracingImpl;
1 8 1 state Lorg/apache/cassandra/tracing/TraceStateImpl;
4 8 2 elapsed I
5 8 3 sessionId Ljava/nio/ByteBuffer;
6 8 4 ttl I
public org.apache.cassandra.tracing.TraceState begin(java.lang.String, java.net.InetAddress, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/net/InetAddress;Ljava/util/Map;)Lorg/apache/cassandra/tracing/TraceState;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.apache.cassandra.tracing.TracingImpl.$assertionsDisabled:Z
ifne 1
invokestatic org.apache.cassandra.tracing.TracingImpl.isTracing:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.tracing.TracingImpl.getStateImpl:()Lorg/apache/cassandra/tracing/TraceStateImpl;
astore 4
start local 4 2: getstatic org.apache.cassandra.tracing.TracingImpl.$assertionsDisabled:Z
ifne 3
aload 4
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.apache.cassandra.tracing.TraceStateImpl
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
lstore 5
start local 5 4: aload 4
getfield org.apache.cassandra.tracing.TraceStateImpl.sessionIdBytes:Ljava/nio/ByteBuffer;
astore 7
start local 7 5: aload 4
getfield org.apache.cassandra.tracing.TraceStateImpl.traceType:Lorg/apache/cassandra/tracing/Tracing$TraceType;
invokevirtual org.apache.cassandra.tracing.Tracing$TraceType.toString:()Ljava/lang/String;
astore 8
start local 8 6: aload 4
getfield org.apache.cassandra.tracing.TraceStateImpl.ttl:I
istore 9
start local 9 7: aload 4
aload 7
aload 2
aload 3
aload 1
lload 5
aload 8
iload 9
invokestatic org.apache.cassandra.tracing.TraceKeyspace.makeStartSessionMutation:(Ljava/nio/ByteBuffer;Ljava/net/InetAddress;Ljava/util/Map;Ljava/lang/String;JLjava/lang/String;I)Lorg/apache/cassandra/db/Mutation;
invokevirtual org.apache.cassandra.tracing.TraceStateImpl.executeMutation:(Lorg/apache/cassandra/db/Mutation;)V
8: aload 4
areturn
end local 9 end local 8 end local 7 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 9 0 this Lorg/apache/cassandra/tracing/TracingImpl;
0 9 1 request Ljava/lang/String;
0 9 2 client Ljava/net/InetAddress;
0 9 3 parameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 9 4 state Lorg/apache/cassandra/tracing/TraceStateImpl;
4 9 5 startedAt J
5 9 7 sessionId Ljava/nio/ByteBuffer;
6 9 8 command Ljava/lang/String;
7 9 9 ttl I
Signature: (Ljava/lang/String;Ljava/net/InetAddress;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Lorg/apache/cassandra/tracing/TraceState;
MethodParameters:
Name Flags
request final
client final
parameters final
private org.apache.cassandra.tracing.TraceStateImpl getStateImpl();
descriptor: ()Lorg/apache/cassandra/tracing/TraceStateImpl;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.tracing.TracingImpl.get:()Lorg/apache/cassandra/tracing/TraceState;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.apache.cassandra.tracing.TraceState
StackMap stack:
aload 1
instanceof org.apache.cassandra.tracing.ExpiredTraceState
ifeq 6
4: aload 1
checkcast org.apache.cassandra.tracing.ExpiredTraceState
astore 2
start local 2 5: aload 2
invokevirtual org.apache.cassandra.tracing.ExpiredTraceState.getDelegate:()Lorg/apache/cassandra/tracing/TraceState;
astore 1
end local 2 6: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.cassandra.tracing.TraceStateImpl
ifeq 8
7: aload 1
checkcast org.apache.cassandra.tracing.TraceStateImpl
areturn
8: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.tracing.TracingImpl.$assertionsDisabled:Z
ifne 9
new java.lang.AssertionError
dup
ldc "TracingImpl states should be of type TraceStateImpl"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/tracing/TracingImpl;
1 10 1 state Lorg/apache/cassandra/tracing/TraceState;
5 6 2 expiredTraceState Lorg/apache/cassandra/tracing/ExpiredTraceState;
protected org.apache.cassandra.tracing.TraceState newTraceState(java.net.InetAddress, java.util.UUID, org.apache.cassandra.tracing.Tracing$TraceType);
descriptor: (Ljava/net/InetAddress;Ljava/util/UUID;Lorg/apache/cassandra/tracing/Tracing$TraceType;)Lorg/apache/cassandra/tracing/TraceState;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.apache.cassandra.tracing.TraceStateImpl
dup
aload 1
aload 2
aload 3
invokespecial org.apache.cassandra.tracing.TraceStateImpl.<init>:(Ljava/net/InetAddress;Ljava/util/UUID;Lorg/apache/cassandra/tracing/Tracing$TraceType;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/tracing/TracingImpl;
0 1 1 coordinator Ljava/net/InetAddress;
0 1 2 sessionId Ljava/util/UUID;
0 1 3 traceType Lorg/apache/cassandra/tracing/Tracing$TraceType;
MethodParameters:
Name Flags
coordinator
sessionId
traceType
public void trace(java.nio.ByteBuffer, java.lang.String, int);
descriptor: (Ljava/nio/ByteBuffer;Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
astore 4
start local 4 1: getstatic org.apache.cassandra.concurrent.Stage.TRACING:Lorg/apache/cassandra/concurrent/Stage;
invokestatic org.apache.cassandra.concurrent.StageManager.getStage:(Lorg/apache/cassandra/concurrent/Stage;)Lorg/apache/cassandra/concurrent/LocalAwareExecutorService;
new org.apache.cassandra.tracing.TracingImpl$1
dup
aload 0
aload 1
aload 2
aload 4
iload 3
invokespecial org.apache.cassandra.tracing.TracingImpl$1.<init>:(Lorg/apache/cassandra/tracing/TracingImpl;Ljava/nio/ByteBuffer;Ljava/lang/String;Ljava/lang/String;I)V
invokeinterface org.apache.cassandra.concurrent.LocalAwareExecutorService.execute:(Ljava/lang/Runnable;)V
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/tracing/TracingImpl;
0 3 1 sessionId Ljava/nio/ByteBuffer;
0 3 2 message Ljava/lang/String;
0 3 3 ttl I
1 3 4 threadName Ljava/lang/String;
MethodParameters:
Name Flags
sessionId final
message final
ttl final
}
SourceFile: "TracingImpl.java"
NestMembers:
org.apache.cassandra.tracing.TracingImpl$1
InnerClasses:
public final TraceType = org.apache.cassandra.tracing.Tracing$TraceType of org.apache.cassandra.tracing.Tracing
org.apache.cassandra.tracing.TracingImpl$1