public abstract class org.apache.cassandra.transport.Event
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.transport.Event
super_class: java.lang.Object
{
public final org.apache.cassandra.transport.Event$Type type;
descriptor: Lorg/apache/cassandra/transport/Event$Type;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$org$apache$cassandra$transport$Event$Type;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private void <init>(org.apache.cassandra.transport.Event$Type);
descriptor: (Lorg/apache/cassandra/transport/Event$Type;)V
flags: (0x0002) ACC_PRIVATE
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.transport.Event.type:Lorg/apache/cassandra/transport/Event$Type;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/transport/Event;
0 3 1 type Lorg/apache/cassandra/transport/Event$Type;
MethodParameters:
Name Flags
type
public static org.apache.cassandra.transport.Event deserialize(io.netty.buffer.ByteBuf, org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Lio/netty/buffer/ByteBuf;Lorg/apache/cassandra/transport/ProtocolVersion;)Lorg/apache/cassandra/transport/Event;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: ldc Lorg/apache/cassandra/transport/Event$Type;
aload 0
invokestatic org.apache.cassandra.transport.CBUtil.readEnumValue:(Ljava/lang/Class;Lio/netty/buffer/ByteBuf;)Ljava/lang/Enum;
checkcast org.apache.cassandra.transport.Event$Type
astore 2
start local 2 1: aload 2
getfield org.apache.cassandra.transport.Event$Type.minimumVersion:Lorg/apache/cassandra/transport/ProtocolVersion;
aload 1
invokevirtual org.apache.cassandra.transport.ProtocolVersion.isGreaterThan:(Lorg/apache/cassandra/transport/ProtocolVersion;)Z
ifeq 3
2: new org.apache.cassandra.transport.ProtocolException
dup
new java.lang.StringBuilder
dup
ldc "Event "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual org.apache.cassandra.transport.Event$Type.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " not valid for protocol version "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.transport.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.cassandra.transport.Event$Type
StackMap stack:
invokestatic org.apache.cassandra.transport.Event.$SWITCH_TABLE$org$apache$cassandra$transport$Event$Type:()[I
aload 2
invokevirtual org.apache.cassandra.transport.Event$Type.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 4
2: 5
3: 6
default: 7
}
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.apache.cassandra.transport.Event$TopologyChange.deserializeEvent:(Lio/netty/buffer/ByteBuf;Lorg/apache/cassandra/transport/ProtocolVersion;)Lorg/apache/cassandra/transport/Event$TopologyChange;
areturn
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.apache.cassandra.transport.Event$StatusChange.deserializeEvent:(Lio/netty/buffer/ByteBuf;Lorg/apache/cassandra/transport/ProtocolVersion;)Lorg/apache/cassandra/transport/Event$StatusChange;
areturn
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.apache.cassandra.transport.Event$SchemaChange.deserializeEvent:(Lio/netty/buffer/ByteBuf;Lorg/apache/cassandra/transport/ProtocolVersion;)Lorg/apache/cassandra/transport/Event$SchemaChange;
areturn
7: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 cb Lio/netty/buffer/ByteBuf;
0 8 1 version Lorg/apache/cassandra/transport/ProtocolVersion;
1 8 2 eventType Lorg/apache/cassandra/transport/Event$Type;
MethodParameters:
Name Flags
cb
version
public void serialize(io.netty.buffer.ByteBuf, org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Lio/netty/buffer/ByteBuf;Lorg/apache/cassandra/transport/ProtocolVersion;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.transport.Event.type:Lorg/apache/cassandra/transport/Event$Type;
getfield org.apache.cassandra.transport.Event$Type.minimumVersion:Lorg/apache/cassandra/transport/ProtocolVersion;
aload 2
invokevirtual org.apache.cassandra.transport.ProtocolVersion.isGreaterThan:(Lorg/apache/cassandra/transport/ProtocolVersion;)Z
ifeq 2
1: new org.apache.cassandra.transport.ProtocolException
dup
new java.lang.StringBuilder
dup
ldc "Event "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.cassandra.transport.Event.type:Lorg/apache/cassandra/transport/Event$Type;
invokevirtual org.apache.cassandra.transport.Event$Type.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " not valid for protocol version "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.transport.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.transport.Event.type:Lorg/apache/cassandra/transport/Event$Type;
aload 1
invokestatic org.apache.cassandra.transport.CBUtil.writeEnumValue:(Ljava/lang/Enum;Lio/netty/buffer/ByteBuf;)V
3: aload 0
aload 1
aload 2
invokevirtual org.apache.cassandra.transport.Event.serializeEvent:(Lio/netty/buffer/ByteBuf;Lorg/apache/cassandra/transport/ProtocolVersion;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/transport/Event;
0 5 1 dest Lio/netty/buffer/ByteBuf;
0 5 2 version Lorg/apache/cassandra/transport/ProtocolVersion;
MethodParameters:
Name Flags
dest
version
public int serializedSize(org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Lorg/apache/cassandra/transport/ProtocolVersion;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.transport.Event.type:Lorg/apache/cassandra/transport/Event$Type;
invokestatic org.apache.cassandra.transport.CBUtil.sizeOfEnumValue:(Ljava/lang/Enum;)I
aload 0
aload 1
invokevirtual org.apache.cassandra.transport.Event.eventSerializedSize:(Lorg/apache/cassandra/transport/ProtocolVersion;)I
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/transport/Event;
0 1 1 version Lorg/apache/cassandra/transport/ProtocolVersion;
MethodParameters:
Name Flags
version
protected abstract void serializeEvent(io.netty.buffer.ByteBuf, org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Lio/netty/buffer/ByteBuf;Lorg/apache/cassandra/transport/ProtocolVersion;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
dest
version
protected abstract int eventSerializedSize(org.apache.cassandra.transport.ProtocolVersion);
descriptor: (Lorg/apache/cassandra/transport/ProtocolVersion;)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
version
static int[] $SWITCH_TABLE$org$apache$cassandra$transport$Event$Type();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.cassandra.transport.Event.$SWITCH_TABLE$org$apache$cassandra$transport$Event$Type:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.cassandra.transport.Event$Type.values:()[Lorg/apache/cassandra/transport/Event$Type;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.cassandra.transport.Event$Type.SCHEMA_CHANGE:Lorg/apache/cassandra/transport/Event$Type;
invokevirtual org.apache.cassandra.transport.Event$Type.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.apache.cassandra.transport.Event$Type.STATUS_CHANGE:Lorg/apache/cassandra/transport/Event$Type;
invokevirtual org.apache.cassandra.transport.Event$Type.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.apache.cassandra.transport.Event$Type.TOPOLOGY_CHANGE:Lorg/apache/cassandra/transport/Event$Type;
invokevirtual org.apache.cassandra.transport.Event$Type.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.apache.cassandra.transport.Event$Type.TRACE_COMPLETE:Lorg/apache/cassandra/transport/Event$Type;
invokevirtual org.apache.cassandra.transport.Event$Type.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic org.apache.cassandra.transport.Event.$SWITCH_TABLE$org$apache$cassandra$transport$Event$Type:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
SourceFile: "Event.java"
NestMembers:
org.apache.cassandra.transport.Event$NodeEvent org.apache.cassandra.transport.Event$SchemaChange org.apache.cassandra.transport.Event$SchemaChange$Change org.apache.cassandra.transport.Event$SchemaChange$Target org.apache.cassandra.transport.Event$StatusChange org.apache.cassandra.transport.Event$StatusChange$Status org.apache.cassandra.transport.Event$TopologyChange org.apache.cassandra.transport.Event$TopologyChange$Change org.apache.cassandra.transport.Event$Type
InnerClasses:
public abstract NodeEvent = org.apache.cassandra.transport.Event$NodeEvent of org.apache.cassandra.transport.Event
public SchemaChange = org.apache.cassandra.transport.Event$SchemaChange of org.apache.cassandra.transport.Event
public StatusChange = org.apache.cassandra.transport.Event$StatusChange of org.apache.cassandra.transport.Event
public TopologyChange = org.apache.cassandra.transport.Event$TopologyChange of org.apache.cassandra.transport.Event
public final Type = org.apache.cassandra.transport.Event$Type of org.apache.cassandra.transport.Event