public class org.apache.cassandra.utils.StreamingHistogram$StreamingHistogramSerializer implements org.apache.cassandra.io.ISerializer<org.apache.cassandra.utils.StreamingHistogram>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.utils.StreamingHistogram$StreamingHistogramSerializer
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/utils/StreamingHistogram$StreamingHistogramSerializer;
public void serialize(org.apache.cassandra.utils.StreamingHistogram, org.apache.cassandra.io.util.DataOutputPlus);
descriptor: (Lorg/apache/cassandra/utils/StreamingHistogram;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
getfield org.apache.cassandra.utils.StreamingHistogram.maxBinSize:I
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeInt:(I)V
1: aload 1
invokevirtual org.apache.cassandra.utils.StreamingHistogram.getAsMap:()Ljava/util/Map;
astore 3
start local 3 2: aload 2
aload 3
invokeinterface java.util.Map.size:()I
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeInt:(I)V
3: aload 3
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: org.apache.cassandra.utils.StreamingHistogram$StreamingHistogramSerializer org.apache.cassandra.utils.StreamingHistogram org.apache.cassandra.io.util.DataOutputPlus java.util.Map top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 5: aload 2
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.Number
invokevirtual java.lang.Number.doubleValue:()D
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeDouble:(D)V
6: aload 2
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast long[]
iconst_0
laload
invokeinterface org.apache.cassandra.io.util.DataOutputPlus.writeLong:(J)V
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: return
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/utils/StreamingHistogram$StreamingHistogramSerializer;
0 9 1 histogram Lorg/apache/cassandra/utils/StreamingHistogram;
0 9 2 out Lorg/apache/cassandra/io/util/DataOutputPlus;
2 9 3 entries Ljava/util/Map<Ljava/lang/Number;[J>;
5 7 4 entry Ljava/util/Map$Entry<Ljava/lang/Number;[J>;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
histogram
out
public org.apache.cassandra.utils.StreamingHistogram deserialize(org.apache.cassandra.io.util.DataInputPlus);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;)Lorg/apache/cassandra/utils/StreamingHistogram;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readInt:()I
istore 2
start local 2 1: aload 1
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readInt:()I
istore 3
start local 3 2: new java.util.HashMap
dup
iload 3
invokespecial java.util.HashMap.<init>:(I)V
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 7
5: StackMap locals: org.apache.cassandra.utils.StreamingHistogram$StreamingHistogramSerializer org.apache.cassandra.io.util.DataInputPlus int int java.util.Map int
StackMap stack:
aload 4
aload 1
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readDouble:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
iconst_1
newarray 11
dup
iconst_0
aload 1
invokeinterface org.apache.cassandra.io.util.DataInputPlus.readLong:()J
lastore
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 3
if_icmplt 5
end local 5 8: new org.apache.cassandra.utils.StreamingHistogram
dup
iload 2
aload 4
invokespecial org.apache.cassandra.utils.StreamingHistogram.<init>:(ILjava/util/Map;)V
areturn
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/utils/StreamingHistogram$StreamingHistogramSerializer;
0 9 1 in Lorg/apache/cassandra/io/util/DataInputPlus;
1 9 2 maxBinSize I
2 9 3 size I
3 9 4 tmp Ljava/util/Map<Ljava/lang/Number;[J>;
4 8 5 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public long serializedSize(org.apache.cassandra.utils.StreamingHistogram);
descriptor: (Lorg/apache/cassandra/utils/StreamingHistogram;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 1
getfield org.apache.cassandra.utils.StreamingHistogram.maxBinSize:I
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(I)I
i2l
lstore 2
start local 2 1: aload 1
invokevirtual org.apache.cassandra.utils.StreamingHistogram.getAsMap:()Ljava/util/Map;
astore 4
start local 4 2: lload 2
aload 4
invokeinterface java.util.Map.size:()I
invokestatic org.apache.cassandra.db.TypeSizes.sizeof:(I)I
i2l
ladd
lstore 2
3: lload 2
aload 4
invokeinterface java.util.Map.size:()I
i2l
ldc 16
lmul
ladd
lstore 2
4: lload 2
lreturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/StreamingHistogram$StreamingHistogramSerializer;
0 5 1 histogram Lorg/apache/cassandra/utils/StreamingHistogram;
1 5 2 size J
2 5 4 entries Ljava/util/Map<Ljava/lang/Number;[J>;
MethodParameters:
Name Flags
histogram
public void serialize(java.lang.Object, org.apache.cassandra.io.util.DataOutputPlus);
descriptor: (Ljava/lang/Object;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
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.utils.StreamingHistogram
aload 2
invokevirtual org.apache.cassandra.utils.StreamingHistogram$StreamingHistogramSerializer.serialize:(Lorg/apache/cassandra/utils/StreamingHistogram;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public long serializedSize(java.lang.Object);
descriptor: (Ljava/lang/Object;)J
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.apache.cassandra.utils.StreamingHistogram
invokevirtual org.apache.cassandra.utils.StreamingHistogram$StreamingHistogramSerializer.serializedSize:(Lorg/apache/cassandra/utils/StreamingHistogram;)J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object deserialize(org.apache.cassandra.io.util.DataInputPlus);
descriptor: (Lorg/apache/cassandra/io/util/DataInputPlus;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.apache.cassandra.utils.StreamingHistogram$StreamingHistogramSerializer.deserialize:(Lorg/apache/cassandra/io/util/DataInputPlus;)Lorg/apache/cassandra/utils/StreamingHistogram;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
Signature: Ljava/lang/Object;Lorg/apache/cassandra/io/ISerializer<Lorg/apache/cassandra/utils/StreamingHistogram;>;
SourceFile: "StreamingHistogram.java"
NestHost: org.apache.cassandra.utils.StreamingHistogram
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public StreamingHistogramSerializer = org.apache.cassandra.utils.StreamingHistogram$StreamingHistogramSerializer of org.apache.cassandra.utils.StreamingHistogram