public final class org.apache.cassandra.cache.CounterCacheKey extends org.apache.cassandra.cache.CacheKey
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.cache.CounterCacheKey
super_class: org.apache.cassandra.cache.CacheKey
{
private static final long EMPTY_SIZE;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public final byte[] partitionKey;
descriptor: [B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final byte[] cellName;
descriptor: [B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new org.apache.cassandra.cache.CounterCacheKey
dup
aconst_null
getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
iconst_1
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
invokespecial org.apache.cassandra.cache.CounterCacheKey.<init>:(Lorg/apache/cassandra/utils/Pair;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)V
invokestatic org.apache.cassandra.utils.ObjectSizes.measure:(Ljava/lang/Object;)J
putstatic org.apache.cassandra.cache.CounterCacheKey.EMPTY_SIZE:J
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.utils.Pair<java.lang.String, java.lang.String>, java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Lorg/apache/cassandra/utils/Pair;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial org.apache.cassandra.cache.CacheKey.<init>:(Lorg/apache/cassandra/utils/Pair;)V
1: aload 0
aload 2
invokestatic org.apache.cassandra.utils.ByteBufferUtil.getArray:(Ljava/nio/ByteBuffer;)[B
putfield org.apache.cassandra.cache.CounterCacheKey.partitionKey:[B
2: aload 0
aload 3
invokestatic org.apache.cassandra.utils.ByteBufferUtil.getArray:(Ljava/nio/ByteBuffer;)[B
putfield org.apache.cassandra.cache.CounterCacheKey.cellName:[B
3: return
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/cache/CounterCacheKey;
0 4 1 ksAndCFName Lorg/apache/cassandra/utils/Pair<Ljava/lang/String;Ljava/lang/String;>;
0 4 2 partitionKey Ljava/nio/ByteBuffer;
0 4 3 cellName Ljava/nio/ByteBuffer;
Signature: (Lorg/apache/cassandra/utils/Pair<Ljava/lang/String;Ljava/lang/String;>;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)V
MethodParameters:
Name Flags
ksAndCFName
partitionKey
cellName
public static org.apache.cassandra.cache.CounterCacheKey create(org.apache.cassandra.utils.Pair<java.lang.String, java.lang.String>, java.nio.ByteBuffer, org.apache.cassandra.db.Clustering, org.apache.cassandra.config.ColumnDefinition, org.apache.cassandra.db.rows.CellPath);
descriptor: (Lorg/apache/cassandra/utils/Pair;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/cache/CounterCacheKey;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new org.apache.cassandra.cache.CounterCacheKey
dup
aload 0
aload 1
aload 2
aload 3
aload 4
invokestatic org.apache.cassandra.cache.CounterCacheKey.makeCellName:(Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/rows/CellPath;)Ljava/nio/ByteBuffer;
invokespecial org.apache.cassandra.cache.CounterCacheKey.<init>:(Lorg/apache/cassandra/utils/Pair;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ksAndCFName Lorg/apache/cassandra/utils/Pair<Ljava/lang/String;Ljava/lang/String;>;
0 1 1 partitionKey Ljava/nio/ByteBuffer;
0 1 2 clustering Lorg/apache/cassandra/db/Clustering;
0 1 3 c Lorg/apache/cassandra/config/ColumnDefinition;
0 1 4 path Lorg/apache/cassandra/db/rows/CellPath;
Signature: (Lorg/apache/cassandra/utils/Pair<Ljava/lang/String;Ljava/lang/String;>;Ljava/nio/ByteBuffer;Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/rows/CellPath;)Lorg/apache/cassandra/cache/CounterCacheKey;
MethodParameters:
Name Flags
ksAndCFName
partitionKey
clustering
c
path
private static java.nio.ByteBuffer makeCellName(org.apache.cassandra.db.Clustering, org.apache.cassandra.config.ColumnDefinition, org.apache.cassandra.db.rows.CellPath);
descriptor: (Lorg/apache/cassandra/db/Clustering;Lorg/apache/cassandra/config/ColumnDefinition;Lorg/apache/cassandra/db/rows/CellPath;)Ljava/nio/ByteBuffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface org.apache.cassandra.db.Clustering.size:()I
istore 3
start local 3 1: iload 3
iconst_1
iadd
aload 2
ifnonnull 2
iconst_0
goto 3
StackMap locals: org.apache.cassandra.db.Clustering org.apache.cassandra.config.ColumnDefinition org.apache.cassandra.db.rows.CellPath int
StackMap stack: int
2: aload 2
invokevirtual org.apache.cassandra.db.rows.CellPath.size:()I
StackMap locals: org.apache.cassandra.db.Clustering org.apache.cassandra.config.ColumnDefinition org.apache.cassandra.db.rows.CellPath int
StackMap stack: int int
3: iadd
anewarray java.nio.ByteBuffer
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 8
6: StackMap locals: java.nio.ByteBuffer[] int
StackMap stack:
aload 4
iload 5
aload 0
iload 5
invokeinterface org.apache.cassandra.db.Clustering.get:(I)Ljava/nio/ByteBuffer;
aastore
7: iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 3
if_icmplt 6
end local 5 9: aload 4
iload 3
aload 1
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
getfield org.apache.cassandra.cql3.ColumnIdentifier.bytes:Ljava/nio/ByteBuffer;
aastore
10: aload 2
ifnull 16
11: iconst_0
istore 5
start local 5 12: goto 15
13: StackMap locals:
StackMap stack:
aload 4
iload 3
iconst_1
iadd
iload 5
iadd
aload 2
iload 5
invokevirtual org.apache.cassandra.db.rows.CellPath.get:(I)Ljava/nio/ByteBuffer;
aastore
14: iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
aload 2
invokevirtual org.apache.cassandra.db.rows.CellPath.size:()I
if_icmplt 13
end local 5 16: StackMap locals:
StackMap stack:
aload 4
invokestatic org.apache.cassandra.db.marshal.CompositeType.build:([Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 clustering Lorg/apache/cassandra/db/Clustering;
0 17 1 c Lorg/apache/cassandra/config/ColumnDefinition;
0 17 2 path Lorg/apache/cassandra/db/rows/CellPath;
1 17 3 cs I
4 17 4 values [Ljava/nio/ByteBuffer;
5 9 5 i I
12 16 5 i I
MethodParameters:
Name Flags
clustering
c
path
public long unsharedHeapSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.cache.CounterCacheKey.EMPTY_SIZE:J
1: aload 0
getfield org.apache.cassandra.cache.CounterCacheKey.partitionKey:[B
invokestatic org.apache.cassandra.utils.ObjectSizes.sizeOfArray:([B)J
2: ladd
3: aload 0
getfield org.apache.cassandra.cache.CounterCacheKey.cellName:[B
invokestatic org.apache.cassandra.utils.ObjectSizes.sizeOfArray:([B)J
4: ladd
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/cache/CounterCacheKey;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "CounterCacheKey(%s, %s, %s)"
iconst_3
anewarray java.lang.Object
dup
iconst_0
1: aload 0
getfield org.apache.cassandra.cache.CounterCacheKey.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
aastore
dup
iconst_1
2: aload 0
getfield org.apache.cassandra.cache.CounterCacheKey.partitionKey:[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
aastore
dup
iconst_2
3: aload 0
getfield org.apache.cassandra.cache.CounterCacheKey.cellName:[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
aastore
4: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/cache/CounterCacheKey;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.cache.CounterCacheKey.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.cache.CounterCacheKey.partitionKey:[B
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.cache.CounterCacheKey.cellName:[B
aastore
invokestatic java.util.Arrays.deepHashCode:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/CounterCacheKey;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.cassandra.cache.CounterCacheKey
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.cache.CounterCacheKey
astore 2
start local 2 5: aload 0
getfield org.apache.cassandra.cache.CounterCacheKey.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
aload 2
getfield org.apache.cassandra.cache.CounterCacheKey.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
invokevirtual org.apache.cassandra.utils.Pair.equals:(Ljava/lang/Object;)Z
ifeq 9
6: aload 0
getfield org.apache.cassandra.cache.CounterCacheKey.partitionKey:[B
aload 2
getfield org.apache.cassandra.cache.CounterCacheKey.partitionKey:[B
invokestatic java.util.Arrays.equals:([B[B)Z
ifeq 9
7: aload 0
getfield org.apache.cassandra.cache.CounterCacheKey.cellName:[B
aload 2
getfield org.apache.cassandra.cache.CounterCacheKey.cellName:[B
invokestatic java.util.Arrays.equals:([B[B)Z
ifeq 9
8: iconst_1
ireturn
StackMap locals: org.apache.cassandra.cache.CounterCacheKey
StackMap stack:
9: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/cache/CounterCacheKey;
0 10 1 o Ljava/lang/Object;
5 10 2 cck Lorg/apache/cassandra/cache/CounterCacheKey;
MethodParameters:
Name Flags
o
}
SourceFile: "CounterCacheKey.java"