public class org.apache.cassandra.cache.KeyCacheKey extends org.apache.cassandra.cache.CacheKey
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cache.KeyCacheKey
super_class: org.apache.cassandra.cache.CacheKey
{
public final org.apache.cassandra.io.sstable.Descriptor desc;
descriptor: Lorg/apache/cassandra/io/sstable/Descriptor;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private static final long EMPTY_SIZE;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public final byte[] key;
descriptor: [B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/cache/KeyCacheKey;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.cache.KeyCacheKey.$assertionsDisabled:Z
3: new org.apache.cassandra.cache.KeyCacheKey
dup
aconst_null
aconst_null
getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
invokespecial org.apache.cassandra.cache.KeyCacheKey.<init>:(Lorg/apache/cassandra/utils/Pair;Lorg/apache/cassandra/io/sstable/Descriptor;Ljava/nio/ByteBuffer;)V
invokestatic org.apache.cassandra.utils.ObjectSizes.measure:(Ljava/lang/Object;)J
putstatic org.apache.cassandra.cache.KeyCacheKey.EMPTY_SIZE:J
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.utils.Pair<java.lang.String, java.lang.String>, org.apache.cassandra.io.sstable.Descriptor, java.nio.ByteBuffer);
descriptor: (Lorg/apache/cassandra/utils/Pair;Lorg/apache/cassandra/io/sstable/Descriptor;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
putfield org.apache.cassandra.cache.KeyCacheKey.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
2: aload 0
aload 3
invokestatic org.apache.cassandra.utils.ByteBufferUtil.getArray:(Ljava/nio/ByteBuffer;)[B
putfield org.apache.cassandra.cache.KeyCacheKey.key:[B
3: getstatic org.apache.cassandra.cache.KeyCacheKey.$assertionsDisabled:Z
ifne 4
aload 0
getfield org.apache.cassandra.cache.KeyCacheKey.key:[B
ifnonnull 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: org.apache.cassandra.cache.KeyCacheKey org.apache.cassandra.utils.Pair org.apache.cassandra.io.sstable.Descriptor java.nio.ByteBuffer
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/cache/KeyCacheKey;
0 5 1 ksAndCFName Lorg/apache/cassandra/utils/Pair<Ljava/lang/String;Ljava/lang/String;>;
0 5 2 desc Lorg/apache/cassandra/io/sstable/Descriptor;
0 5 3 key Ljava/nio/ByteBuffer;
Signature: (Lorg/apache/cassandra/utils/Pair<Ljava/lang/String;Ljava/lang/String;>;Lorg/apache/cassandra/io/sstable/Descriptor;Ljava/nio/ByteBuffer;)V
MethodParameters:
Name Flags
ksAndCFName
desc
key
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 "KeyCacheKey(%s, %s)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.cache.KeyCacheKey.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.cache.KeyCacheKey.key:[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.utils.ByteBufferUtil.bytesToHex:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
aastore
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 1 0 this Lorg/apache/cassandra/cache/KeyCacheKey;
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.KeyCacheKey.EMPTY_SIZE:J
aload 0
getfield org.apache.cassandra.cache.KeyCacheKey.key:[B
invokestatic org.apache.cassandra.utils.ObjectSizes.sizeOfArray:([B)J
ladd
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/KeyCacheKey;
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 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
ifnull 2
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 3
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.cache.KeyCacheKey
astore 2
start local 2 4: aload 0
getfield org.apache.cassandra.cache.KeyCacheKey.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
aload 2
getfield org.apache.cassandra.cache.KeyCacheKey.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
invokevirtual org.apache.cassandra.utils.Pair.equals:(Ljava/lang/Object;)Z
ifeq 5
aload 0
getfield org.apache.cassandra.cache.KeyCacheKey.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
aload 2
getfield org.apache.cassandra.cache.KeyCacheKey.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
invokevirtual org.apache.cassandra.io.sstable.Descriptor.equals:(Ljava/lang/Object;)Z
ifeq 5
aload 0
getfield org.apache.cassandra.cache.KeyCacheKey.key:[B
aload 2
getfield org.apache.cassandra.cache.KeyCacheKey.key:[B
invokestatic java.util.Arrays.equals:([B[B)Z
ifeq 5
iconst_1
ireturn
StackMap locals: org.apache.cassandra.cache.KeyCacheKey
StackMap stack:
5: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/cache/KeyCacheKey;
0 6 1 o Ljava/lang/Object;
4 6 2 that Lorg/apache/cassandra/cache/KeyCacheKey;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cache.KeyCacheKey.ksAndCFName:Lorg/apache/cassandra/utils/Pair;
invokevirtual org.apache.cassandra.utils.Pair.hashCode:()I
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield org.apache.cassandra.cache.KeyCacheKey.desc:Lorg/apache/cassandra/io/sstable/Descriptor;
invokevirtual org.apache.cassandra.io.sstable.Descriptor.hashCode:()I
iadd
istore 1
2: bipush 31
iload 1
imul
aload 0
getfield org.apache.cassandra.cache.KeyCacheKey.key:[B
invokestatic java.util.Arrays.hashCode:([B)I
iadd
istore 1
3: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cache/KeyCacheKey;
1 4 1 result I
}
SourceFile: "KeyCacheKey.java"