class org.apache.cassandra.gms.EndpointStateSerializer implements org.apache.cassandra.io.IVersionedSerializer<org.apache.cassandra.gms.EndpointState>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.gms.EndpointStateSerializer
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/gms/EndpointStateSerializer;
public void serialize(org.apache.cassandra.gms.EndpointState, org.apache.cassandra.io.util.DataOutputPlus, int);
descriptor: (Lorg/apache/cassandra/gms/EndpointState;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.apache.cassandra.gms.EndpointState.getHeartBeatState:()Lorg/apache/cassandra/gms/HeartBeatState;
astore 4
start local 4 1: getstatic org.apache.cassandra.gms.HeartBeatState.serializer:Lorg/apache/cassandra/io/IVersionedSerializer;
aload 4
aload 2
iload 3
invokeinterface org.apache.cassandra.io.IVersionedSerializer.serialize:(Ljava/lang/Object;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
2: aload 1
invokevirtual org.apache.cassandra.gms.EndpointState.states:()Ljava/util/Set;
astore 5
start local 5 3: aload 2
aload 5
invokeinterface java.util.Set.size:()I
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeInt:(I)V
4: aload 5
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 9
StackMap locals: org.apache.cassandra.gms.EndpointStateSerializer org.apache.cassandra.gms.EndpointState org.apache.cassandra.io.util.DataOutputPlus int org.apache.cassandra.gms.HeartBeatState java.util.Set top java.util.Iterator
StackMap stack:
5: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 6
start local 6 6: aload 6
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.apache.cassandra.gms.VersionedValue
astore 8
start local 8 7: aload 2
aload 6
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast org.apache.cassandra.gms.ApplicationState
invokevirtual org.apache.cassandra.gms.ApplicationState.ordinal:()I
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeInt:(I)V
8: getstatic org.apache.cassandra.gms.VersionedValue.serializer:Lorg/apache/cassandra/io/IVersionedSerializer;
aload 8
aload 2
iload 3
invokeinterface org.apache.cassandra.io.IVersionedSerializer.serialize:(Ljava/lang/Object;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
end local 8 end local 6 9: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
10: return
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 11 0 this Lorg/apache/cassandra/gms/EndpointStateSerializer;
0 11 1 epState Lorg/apache/cassandra/gms/EndpointState;
0 11 2 out Lorg/apache/cassandra/io/util/DataOutputPlus;
0 11 3 version I
1 11 4 hbState Lorg/apache/cassandra/gms/HeartBeatState;
3 11 5 states Ljava/util/Set<Ljava/util/Map$Entry<Lorg/apache/cassandra/gms/ApplicationState;Lorg/apache/cassandra/gms/VersionedValue;>;>;
6 9 6 state Ljava/util/Map$Entry<Lorg/apache/cassandra/gms/ApplicationState;Lorg/apache/cassandra/gms/VersionedValue;>;
7 9 8 value Lorg/apache/cassandra/gms/VersionedValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
epState
out
version
public org.apache.cassandra.gms.EndpointState deserialize(org.apache.cassandra.io.util.DataInputPlus, int);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;I)Lorg/apache/cassandra/gms/EndpointState;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.gms.HeartBeatState.serializer:Lorg/apache/cassandra/io/IVersionedSerializer;
aload 1
iload 2
invokeinterface org.apache.cassandra.io.IVersionedSerializer.deserialize:(Lorg/apache/cassandra/io/util/DataInputPlus;I)Ljava/lang/Object;
checkcast org.apache.cassandra.gms.HeartBeatState
astore 3
start local 3 1: aload 1
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readInt:()I
istore 4
start local 4 2: new java.util.EnumMap
dup
ldc Lorg/apache/cassandra/gms/ApplicationState;
invokespecial java.util.EnumMap.<init>:(Ljava/lang/Class;)V
astore 5
start local 5 3: iconst_0
istore 6
start local 6 4: goto 9
5: StackMap locals: org.apache.cassandra.gms.EndpointStateSerializer org.apache.cassandra.io.util.DataInputPlus int org.apache.cassandra.gms.HeartBeatState int java.util.Map int
StackMap stack:
aload 1
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readInt:()I
istore 7
start local 7 6: getstatic org.apache.cassandra.gms.VersionedValue.serializer:Lorg/apache/cassandra/io/IVersionedSerializer;
aload 1
iload 2
invokeinterface org.apache.cassandra.io.IVersionedSerializer.deserialize:(Lorg/apache/cassandra/io/util/DataInputPlus;I)Ljava/lang/Object;
checkcast org.apache.cassandra.gms.VersionedValue
astore 8
start local 8 7: aload 5
getstatic org.apache.cassandra.gms.Gossiper.STATES:[Lorg/apache/cassandra/gms/ApplicationState;
iload 7
aaload
aload 8
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 end local 7 8: iinc 6 1
StackMap locals:
StackMap stack:
9: iload 6
iload 4
if_icmplt 5
end local 6 10: new org.apache.cassandra.gms.EndpointState
dup
aload 3
aload 5
invokespecial org.apache.cassandra.gms.EndpointState.<init>:(Lorg/apache/cassandra/gms/HeartBeatState;Ljava/util/Map;)V
areturn
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 11 0 this Lorg/apache/cassandra/gms/EndpointStateSerializer;
0 11 1 in Lorg/apache/cassandra/io/util/DataInputPlus;
0 11 2 version I
1 11 3 hbState Lorg/apache/cassandra/gms/HeartBeatState;
2 11 4 appStateSize I
3 11 5 states Ljava/util/Map<Lorg/apache/cassandra/gms/ApplicationState;Lorg/apache/cassandra/gms/VersionedValue;>;
4 10 6 i I
6 8 7 key I
7 8 8 value Lorg/apache/cassandra/gms/VersionedValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
version
public long serializedSize(org.apache.cassandra.gms.EndpointState, int);
descriptor: (Lorg/apache/cassandra/gms/EndpointState;I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.gms.HeartBeatState.serializer:Lorg/apache/cassandra/io/IVersionedSerializer;
aload 1
invokevirtual org.apache.cassandra.gms.EndpointState.getHeartBeatState:()Lorg/apache/cassandra/gms/HeartBeatState;
iload 2
invokeinterface org.apache.cassandra.io.IVersionedSerializer.serializedSize:(Ljava/lang/Object;I)J
lstore 3
start local 3 1: aload 1
invokevirtual org.apache.cassandra.gms.EndpointState.states:()Ljava/util/Set;
astore 5
start local 5 2: lload 3
aload 5
invokeinterface java.util.Set.size:()I
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(I)I
i2l
ladd
lstore 3
3: aload 5
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 8
StackMap locals: org.apache.cassandra.gms.EndpointStateSerializer org.apache.cassandra.gms.EndpointState int long java.util.Set top java.util.Iterator
StackMap stack:
4: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 6
start local 6 5: aload 6
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.apache.cassandra.gms.VersionedValue
astore 8
start local 8 6: lload 3
aload 6
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast org.apache.cassandra.gms.ApplicationState
invokevirtual org.apache.cassandra.gms.ApplicationState.ordinal:()I
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(I)I
i2l
ladd
lstore 3
7: lload 3
getstatic org.apache.cassandra.gms.VersionedValue.serializer:Lorg/apache/cassandra/io/IVersionedSerializer;
aload 8
iload 2
invokeinterface org.apache.cassandra.io.IVersionedSerializer.serializedSize:(Ljava/lang/Object;I)J
ladd
lstore 3
end local 8 end local 6 8: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: lload 3
lreturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/gms/EndpointStateSerializer;
0 10 1 epState Lorg/apache/cassandra/gms/EndpointState;
0 10 2 version I
1 10 3 size J
2 10 5 states Ljava/util/Set<Ljava/util/Map$Entry<Lorg/apache/cassandra/gms/ApplicationState;Lorg/apache/cassandra/gms/VersionedValue;>;>;
5 8 6 state Ljava/util/Map$Entry<Lorg/apache/cassandra/gms/ApplicationState;Lorg/apache/cassandra/gms/VersionedValue;>;
6 8 8 value Lorg/apache/cassandra/gms/VersionedValue;
MethodParameters:
Name Flags
epState
version
public void serialize(java.lang.Object, org.apache.cassandra.io.util.DataOutputPlus, int);
descriptor: (Ljava/lang/Object;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
checkcast org.apache.cassandra.gms.EndpointState
aload 2
iload 3
invokevirtual org.apache.cassandra.gms.EndpointStateSerializer.serialize:(Lorg/apache/cassandra/gms/EndpointState;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public long serializedSize(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)J
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast org.apache.cassandra.gms.EndpointState
iload 2
invokevirtual org.apache.cassandra.gms.EndpointStateSerializer.serializedSize:(Lorg/apache/cassandra/gms/EndpointState;I)J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object deserialize(org.apache.cassandra.io.util.DataInputPlus, int);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;I)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
iload 2
invokevirtual org.apache.cassandra.gms.EndpointStateSerializer.deserialize:(Lorg/apache/cassandra/io/util/DataInputPlus;I)Lorg/apache/cassandra/gms/EndpointState;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
Signature: Ljava/lang/Object;Lorg/apache/cassandra/io/IVersionedSerializer<Lorg/apache/cassandra/gms/EndpointState;>;
SourceFile: "EndpointState.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map