public class org.apache.cassandra.dht.Token$TokenSerializer implements org.apache.cassandra.dht.IPartitionerDependentSerializer<org.apache.cassandra.dht.Token>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.dht.Token$TokenSerializer
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/dht/Token$TokenSerializer;
public void serialize(org.apache.cassandra.dht.Token, org.apache.cassandra.io.util.DataOutputPlus, int);
descriptor: (Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/io/util/DataOutputPlus;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.apache.cassandra.dht.Token.getPartitioner:()Lorg/apache/cassandra/dht/IPartitioner;
astore 4
start local 4 1: aload 4
invokeinterface org.apache.cassandra.dht.IPartitioner.getTokenFactory:()Lorg/apache/cassandra/dht/Token$TokenFactory;
aload 1
invokevirtual org.apache.cassandra.dht.Token$TokenFactory.toByteArray:(Lorg/apache/cassandra/dht/Token;)Ljava/nio/ByteBuffer;
astore 5
start local 5 2: aload 5
aload 2
invokestatic org.apache.cassandra.utils.ByteBufferUtil.writeWithLength:(Ljava/nio/ByteBuffer;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
3: 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 4 0 this Lorg/apache/cassandra/dht/Token$TokenSerializer;
0 4 1 token Lorg/apache/cassandra/dht/Token;
0 4 2 out Lorg/apache/cassandra/io/util/DataOutputPlus;
0 4 3 version I
1 4 4 p Lorg/apache/cassandra/dht/IPartitioner;
2 4 5 b Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
token
out
version
public org.apache.cassandra.dht.Token deserialize(java.io.DataInput, org.apache.cassandra.dht.IPartitioner, int);
descriptor: (Ljava/io/DataInput;Lorg/apache/cassandra/dht/IPartitioner;I)Lorg/apache/cassandra/dht/Token;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface java.io.DataInput.readInt:()I
istore 4
start local 4 1: iload 4
newarray 8
astore 5
start local 5 2: aload 1
aload 5
invokeinterface java.io.DataInput.readFully:([B)V
3: aload 2
invokeinterface org.apache.cassandra.dht.IPartitioner.getTokenFactory:()Lorg/apache/cassandra/dht/Token$TokenFactory;
aload 5
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.dht.Token$TokenFactory.fromByteArray:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/dht/Token;
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 4 0 this Lorg/apache/cassandra/dht/Token$TokenSerializer;
0 4 1 in Ljava/io/DataInput;
0 4 2 p Lorg/apache/cassandra/dht/IPartitioner;
0 4 3 version I
1 4 4 size I
2 4 5 bytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
p
version
public long serializedSize(org.apache.cassandra.dht.Token, int);
descriptor: (Lorg/apache/cassandra/dht/Token;I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.apache.cassandra.dht.Token.getPartitioner:()Lorg/apache/cassandra/dht/IPartitioner;
astore 3
start local 3 1: aload 3
invokeinterface org.apache.cassandra.dht.IPartitioner.getTokenFactory:()Lorg/apache/cassandra/dht/Token$TokenFactory;
aload 1
invokevirtual org.apache.cassandra.dht.Token$TokenFactory.toByteArray:(Lorg/apache/cassandra/dht/Token;)Ljava/nio/ByteBuffer;
astore 4
start local 4 2: aload 4
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(I)I
aload 4
invokevirtual java.nio.ByteBuffer.remaining:()I
iadd
i2l
lreturn
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/dht/Token$TokenSerializer;
0 3 1 object Lorg/apache/cassandra/dht/Token;
0 3 2 version I
1 3 3 p Lorg/apache/cassandra/dht/IPartitioner;
2 3 4 b Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
object
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.dht.Token
aload 2
iload 3
invokevirtual org.apache.cassandra.dht.Token$TokenSerializer.serialize:(Lorg/apache/cassandra/dht/Token;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.dht.Token
iload 2
invokevirtual org.apache.cassandra.dht.Token$TokenSerializer.serializedSize:(Lorg/apache/cassandra/dht/Token;I)J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object deserialize(java.io.DataInput, org.apache.cassandra.dht.IPartitioner, int);
descriptor: (Ljava/io/DataInput;Lorg/apache/cassandra/dht/IPartitioner;I)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
iload 3
invokevirtual org.apache.cassandra.dht.Token$TokenSerializer.deserialize:(Ljava/io/DataInput;Lorg/apache/cassandra/dht/IPartitioner;I)Lorg/apache/cassandra/dht/Token;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
Signature: Ljava/lang/Object;Lorg/apache/cassandra/dht/IPartitionerDependentSerializer<Lorg/apache/cassandra/dht/Token;>;
SourceFile: "Token.java"
NestHost: org.apache.cassandra.dht.Token
InnerClasses:
public abstract TokenFactory = org.apache.cassandra.dht.Token$TokenFactory of org.apache.cassandra.dht.Token
public TokenSerializer = org.apache.cassandra.dht.Token$TokenSerializer of org.apache.cassandra.dht.Token