public final class org.apache.cassandra.tracing.TraceKeyspace
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.tracing.TraceKeyspace
super_class: java.lang.Object
{
public static final java.lang.String SESSIONS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "sessions"
public static final java.lang.String EVENTS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "events"
private static final org.apache.cassandra.config.CFMetaData Sessions;
descriptor: Lorg/apache/cassandra/config/CFMetaData;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.apache.cassandra.config.CFMetaData Events;
descriptor: Lorg/apache/cassandra/config/CFMetaData;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc "sessions"
1: ldc "tracing sessions"
2: ldc "CREATE TABLE %s (session_id uuid,command text,client inet,coordinator inet,duration int,parameters map<text, text>,request text,started_at timestamp,PRIMARY KEY ((session_id)))"
3: invokestatic org.apache.cassandra.tracing.TraceKeyspace.compile:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
4: putstatic org.apache.cassandra.tracing.TraceKeyspace.Sessions:Lorg/apache/cassandra/config/CFMetaData;
5: ldc "events"
6: ldc "tracing events"
7: ldc "CREATE TABLE %s (session_id uuid,event_id timeuuid,activity text,source inet,source_elapsed int,thread text,PRIMARY KEY ((session_id), event_id))"
8: invokestatic org.apache.cassandra.tracing.TraceKeyspace.compile:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
9: putstatic org.apache.cassandra.tracing.TraceKeyspace.Events:Lorg/apache/cassandra/config/CFMetaData;
10: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/tracing/TraceKeyspace;
private static org.apache.cassandra.config.CFMetaData compile(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
ldc "system_traces"
invokestatic org.apache.cassandra.config.CFMetaData.compile:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
1: aload 1
invokevirtual org.apache.cassandra.config.CFMetaData.comment:(Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
2: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 name Ljava/lang/String;
0 3 1 description Ljava/lang/String;
0 3 2 schema Ljava/lang/String;
MethodParameters:
Name Flags
name
description
schema
public static org.apache.cassandra.schema.KeyspaceMetadata metadata();
descriptor: ()Lorg/apache/cassandra/schema/KeyspaceMetadata;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: ldc "system_traces"
iconst_2
invokestatic org.apache.cassandra.schema.KeyspaceParams.simple:(I)Lorg/apache/cassandra/schema/KeyspaceParams;
iconst_2
anewarray org.apache.cassandra.config.CFMetaData
dup
iconst_0
getstatic org.apache.cassandra.tracing.TraceKeyspace.Sessions:Lorg/apache/cassandra/config/CFMetaData;
aastore
dup
iconst_1
getstatic org.apache.cassandra.tracing.TraceKeyspace.Events:Lorg/apache/cassandra/config/CFMetaData;
aastore
invokestatic org.apache.cassandra.schema.Tables.of:([Lorg/apache/cassandra/config/CFMetaData;)Lorg/apache/cassandra/schema/Tables;
invokestatic org.apache.cassandra.schema.KeyspaceMetadata.create:(Ljava/lang/String;Lorg/apache/cassandra/schema/KeyspaceParams;Lorg/apache/cassandra/schema/Tables;)Lorg/apache/cassandra/schema/KeyspaceMetadata;
areturn
LocalVariableTable:
Start End Slot Name Signature
static org.apache.cassandra.db.Mutation makeStartSessionMutation(java.nio.ByteBuffer, java.net.InetAddress, java.util.Map<java.lang.String, java.lang.String>, java.lang.String, long, java.lang.String, int);
descriptor: (Ljava/nio/ByteBuffer;Ljava/net/InetAddress;Ljava/util/Map;Ljava/lang/String;JLjava/lang/String;I)Lorg/apache/cassandra/db/Mutation;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 start local 7 0: getstatic org.apache.cassandra.tracing.TraceKeyspace.Sessions:Lorg/apache/cassandra/config/CFMetaData;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic org.apache.cassandra.db.partitions.PartitionUpdate.simpleBuilder:(Lorg/apache/cassandra/config/CFMetaData;[Ljava/lang/Object;)Lorg/apache/cassandra/db/partitions/PartitionUpdate$SimpleBuilder;
astore 8
start local 8 1: aload 8
iconst_0
anewarray java.lang.Object
invokeinterface org.apache.cassandra.db.partitions.PartitionUpdate$SimpleBuilder.row:([Ljava/lang/Object;)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
2: iload 7
invokeinterface org.apache.cassandra.db.rows.Row$SimpleBuilder.ttl:(I)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
3: ldc "client"
aload 1
invokeinterface org.apache.cassandra.db.rows.Row$SimpleBuilder.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
4: ldc "coordinator"
invokestatic org.apache.cassandra.utils.FBUtilities.getBroadcastAddress:()Ljava/net/InetAddress;
invokeinterface org.apache.cassandra.db.rows.Row$SimpleBuilder.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
5: ldc "request"
aload 3
invokeinterface org.apache.cassandra.db.rows.Row$SimpleBuilder.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
6: ldc "started_at"
new java.util.Date
dup
lload 4
invokespecial java.util.Date.<init>:(J)V
invokeinterface org.apache.cassandra.db.rows.Row$SimpleBuilder.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
7: ldc "command"
aload 6
invokeinterface org.apache.cassandra.db.rows.Row$SimpleBuilder.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
8: ldc "parameters"
aload 2
invokeinterface org.apache.cassandra.db.rows.Row$SimpleBuilder.appendAll:(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
pop
9: aload 8
invokeinterface org.apache.cassandra.db.partitions.PartitionUpdate$SimpleBuilder.buildAsMutation:()Lorg/apache/cassandra/db/Mutation;
areturn
end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 sessionId Ljava/nio/ByteBuffer;
0 10 1 client Ljava/net/InetAddress;
0 10 2 parameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 10 3 request Ljava/lang/String;
0 10 4 startedAt J
0 10 6 command Ljava/lang/String;
0 10 7 ttl I
1 10 8 builder Lorg/apache/cassandra/db/partitions/PartitionUpdate$SimpleBuilder;
Signature: (Ljava/nio/ByteBuffer;Ljava/net/InetAddress;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Ljava/lang/String;JLjava/lang/String;I)Lorg/apache/cassandra/db/Mutation;
MethodParameters:
Name Flags
sessionId
client
parameters
request
startedAt
command
ttl
static org.apache.cassandra.db.Mutation makeStopSessionMutation(java.nio.ByteBuffer, int, int);
descriptor: (Ljava/nio/ByteBuffer;II)Lorg/apache/cassandra/db/Mutation;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.tracing.TraceKeyspace.Sessions:Lorg/apache/cassandra/config/CFMetaData;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic org.apache.cassandra.db.partitions.PartitionUpdate.simpleBuilder:(Lorg/apache/cassandra/config/CFMetaData;[Ljava/lang/Object;)Lorg/apache/cassandra/db/partitions/PartitionUpdate$SimpleBuilder;
astore 3
start local 3 1: aload 3
iconst_0
anewarray java.lang.Object
invokeinterface org.apache.cassandra.db.partitions.PartitionUpdate$SimpleBuilder.row:([Ljava/lang/Object;)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
2: iload 2
invokeinterface org.apache.cassandra.db.rows.Row$SimpleBuilder.ttl:(I)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
3: ldc "duration"
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface org.apache.cassandra.db.rows.Row$SimpleBuilder.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
pop
4: aload 3
invokeinterface org.apache.cassandra.db.partitions.PartitionUpdate$SimpleBuilder.buildAsMutation:()Lorg/apache/cassandra/db/Mutation;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 sessionId Ljava/nio/ByteBuffer;
0 5 1 elapsed I
0 5 2 ttl I
1 5 3 builder Lorg/apache/cassandra/db/partitions/PartitionUpdate$SimpleBuilder;
MethodParameters:
Name Flags
sessionId
elapsed
ttl
static org.apache.cassandra.db.Mutation makeEventMutation(java.nio.ByteBuffer, java.lang.String, int, java.lang.String, int);
descriptor: (Ljava/nio/ByteBuffer;Ljava/lang/String;ILjava/lang/String;I)Lorg/apache/cassandra/db/Mutation;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic org.apache.cassandra.tracing.TraceKeyspace.Events:Lorg/apache/cassandra/config/CFMetaData;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic org.apache.cassandra.db.partitions.PartitionUpdate.simpleBuilder:(Lorg/apache/cassandra/config/CFMetaData;[Ljava/lang/Object;)Lorg/apache/cassandra/db/partitions/PartitionUpdate$SimpleBuilder;
astore 5
start local 5 1: aload 5
iconst_1
anewarray java.lang.Object
dup
iconst_0
invokestatic org.apache.cassandra.utils.UUIDGen.getTimeUUID:()Ljava/util/UUID;
aastore
invokeinterface org.apache.cassandra.db.partitions.PartitionUpdate$SimpleBuilder.row:([Ljava/lang/Object;)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
2: iload 4
invokeinterface org.apache.cassandra.db.rows.Row$SimpleBuilder.ttl:(I)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
3: astore 6
start local 6 4: aload 6
ldc "activity"
aload 1
invokeinterface org.apache.cassandra.db.rows.Row$SimpleBuilder.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
5: ldc "source"
invokestatic org.apache.cassandra.utils.FBUtilities.getBroadcastAddress:()Ljava/net/InetAddress;
invokeinterface org.apache.cassandra.db.rows.Row$SimpleBuilder.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
6: ldc "thread"
aload 3
invokeinterface org.apache.cassandra.db.rows.Row$SimpleBuilder.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
pop
7: iload 2
iflt 9
8: aload 6
ldc "source_elapsed"
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface org.apache.cassandra.db.rows.Row$SimpleBuilder.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
pop
9: StackMap locals: org.apache.cassandra.db.partitions.PartitionUpdate$SimpleBuilder org.apache.cassandra.db.rows.Row$SimpleBuilder
StackMap stack:
aload 5
invokeinterface org.apache.cassandra.db.partitions.PartitionUpdate$SimpleBuilder.buildAsMutation:()Lorg/apache/cassandra/db/Mutation;
areturn
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 10 0 sessionId Ljava/nio/ByteBuffer;
0 10 1 message Ljava/lang/String;
0 10 2 elapsed I
0 10 3 threadName Ljava/lang/String;
0 10 4 ttl I
1 10 5 builder Lorg/apache/cassandra/db/partitions/PartitionUpdate$SimpleBuilder;
4 10 6 rowBuilder Lorg/apache/cassandra/db/rows/Row$SimpleBuilder;
MethodParameters:
Name Flags
sessionId
message
elapsed
threadName
ttl
}
SourceFile: "TraceKeyspace.java"
InnerClasses:
public abstract SimpleBuilder = org.apache.cassandra.db.partitions.PartitionUpdate$SimpleBuilder of org.apache.cassandra.db.partitions.PartitionUpdate
public abstract SimpleBuilder = org.apache.cassandra.db.rows.Row$SimpleBuilder of org.apache.cassandra.db.rows.Row