class org.apache.cassandra.cache.ChunkCache$CachingRebufferer implements org.apache.cassandra.io.util.Rebufferer, org.apache.cassandra.io.util.RebuffererFactory
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.cache.ChunkCache$CachingRebufferer
super_class: java.lang.Object
{
private final org.apache.cassandra.io.util.ChunkReader source;
descriptor: Lorg/apache/cassandra/io/util/ChunkReader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final long alignmentMask;
descriptor: J
flags: (0x0010) ACC_FINAL
final org.apache.cassandra.cache.ChunkCache this$0;
descriptor: Lorg/apache/cassandra/cache/ChunkCache;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
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=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/cache/ChunkCache;
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.ChunkCache$CachingRebufferer.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.cache.ChunkCache, org.apache.cassandra.io.util.ChunkReader);
descriptor: (Lorg/apache/cassandra/cache/ChunkCache;Lorg/apache/cassandra/io/util/ChunkReader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.apache.cassandra.cache.ChunkCache$CachingRebufferer.this$0:Lorg/apache/cassandra/cache/ChunkCache;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
aload 2
putfield org.apache.cassandra.cache.ChunkCache$CachingRebufferer.source:Lorg/apache/cassandra/io/util/ChunkReader;
3: aload 2
invokeinterface org.apache.cassandra.io.util.ChunkReader.chunkSize:()I
istore 3
start local 3 4: getstatic org.apache.cassandra.cache.ChunkCache$CachingRebufferer.$assertionsDisabled:Z
ifne 5
iload 3
invokestatic java.lang.Integer.bitCount:(I)I
iconst_1
if_icmpeq 5
new java.lang.AssertionError
dup
ldc "%d must be a power of two"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals: org.apache.cassandra.cache.ChunkCache$CachingRebufferer org.apache.cassandra.cache.ChunkCache org.apache.cassandra.io.util.ChunkReader int
StackMap stack:
aload 0
iload 3
ineg
i2l
putfield org.apache.cassandra.cache.ChunkCache$CachingRebufferer.alignmentMask:J
6: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/cache/ChunkCache$CachingRebufferer;
0 7 2 file Lorg/apache/cassandra/io/util/ChunkReader;
4 7 3 chunkSize I
MethodParameters:
Name Flags
this$0 final
file
public org.apache.cassandra.cache.ChunkCache$Buffer rebuffer(long);
descriptor: (J)Lorg/apache/cassandra/cache/ChunkCache$Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cache.ChunkCache$CachingRebufferer.this$0:Lorg/apache/cassandra/cache/ChunkCache;
getfield org.apache.cassandra.cache.ChunkCache.metrics:Lorg/apache/cassandra/metrics/CacheMissMetrics;
getfield org.apache.cassandra.metrics.CacheMissMetrics.requests:Lcom/codahale/metrics/Meter;
invokevirtual com.codahale.metrics.Meter.mark:()V
1: lload 1
aload 0
getfield org.apache.cassandra.cache.ChunkCache$CachingRebufferer.alignmentMask:J
land
lstore 3
start local 3 2: StackMap locals: long
StackMap stack:
aload 0
getfield org.apache.cassandra.cache.ChunkCache$CachingRebufferer.this$0:Lorg/apache/cassandra/cache/ChunkCache;
getfield org.apache.cassandra.cache.ChunkCache.cache:Lcom/github/benmanes/caffeine/cache/LoadingCache;
new org.apache.cassandra.cache.ChunkCache$Key
dup
aload 0
getfield org.apache.cassandra.cache.ChunkCache$CachingRebufferer.source:Lorg/apache/cassandra/io/util/ChunkReader;
lload 3
invokespecial org.apache.cassandra.cache.ChunkCache$Key.<init>:(Lorg/apache/cassandra/io/util/ChunkReader;J)V
invokeinterface com.github.benmanes.caffeine.cache.LoadingCache.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.cache.ChunkCache$Buffer
invokevirtual org.apache.cassandra.cache.ChunkCache$Buffer.reference:()Lorg/apache/cassandra/cache/ChunkCache$Buffer;
astore 5
start local 5 3: aload 5
ifnull 2
4: aload 5
5: areturn
end local 5 end local 3 6: StackMap locals: org.apache.cassandra.cache.ChunkCache$CachingRebufferer long
StackMap stack: java.lang.Throwable
astore 3
start local 3 7: aload 3
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
ldc Lorg/apache/cassandra/io/sstable/CorruptSSTableException;
invokestatic com.google.common.base.Throwables.propagateIfInstanceOf:(Ljava/lang/Throwable;Ljava/lang/Class;)V
8: aload 3
invokestatic com.google.common.base.Throwables.propagate:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/cache/ChunkCache$CachingRebufferer;
0 9 1 position J
2 6 3 pageAlignedPos J
3 6 5 buf Lorg/apache/cassandra/cache/ChunkCache$Buffer;
7 9 3 t Ljava/lang/Throwable;
Exception table:
from to target type
0 5 6 Class java.lang.Throwable
MethodParameters:
Name Flags
position
public void invalidate(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: lload 1
aload 0
getfield org.apache.cassandra.cache.ChunkCache$CachingRebufferer.alignmentMask:J
land
lstore 3
start local 3 1: aload 0
getfield org.apache.cassandra.cache.ChunkCache$CachingRebufferer.this$0:Lorg/apache/cassandra/cache/ChunkCache;
getfield org.apache.cassandra.cache.ChunkCache.cache:Lcom/github/benmanes/caffeine/cache/LoadingCache;
new org.apache.cassandra.cache.ChunkCache$Key
dup
aload 0
getfield org.apache.cassandra.cache.ChunkCache$CachingRebufferer.source:Lorg/apache/cassandra/io/util/ChunkReader;
lload 3
invokespecial org.apache.cassandra.cache.ChunkCache$Key.<init>:(Lorg/apache/cassandra/io/util/ChunkReader;J)V
invokeinterface com.github.benmanes.caffeine.cache.LoadingCache.invalidate:(Ljava/lang/Object;)V
2: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cache/ChunkCache$CachingRebufferer;
0 3 1 position J
1 3 3 pageAlignedPos J
MethodParameters:
Name Flags
position
public org.apache.cassandra.io.util.Rebufferer instantiateRebufferer();
descriptor: ()Lorg/apache/cassandra/io/util/Rebufferer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ChunkCache$CachingRebufferer;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cache.ChunkCache$CachingRebufferer.source:Lorg/apache/cassandra/io/util/ChunkReader;
invokeinterface org.apache.cassandra.io.util.ChunkReader.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cache/ChunkCache$CachingRebufferer;
public void closeReader();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ChunkCache$CachingRebufferer;
public org.apache.cassandra.io.util.ChannelProxy channel();
descriptor: ()Lorg/apache/cassandra/io/util/ChannelProxy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cache.ChunkCache$CachingRebufferer.source:Lorg/apache/cassandra/io/util/ChunkReader;
invokeinterface org.apache.cassandra.io.util.ChunkReader.channel:()Lorg/apache/cassandra/io/util/ChannelProxy;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ChunkCache$CachingRebufferer;
public long fileLength();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cache.ChunkCache$CachingRebufferer.source:Lorg/apache/cassandra/io/util/ChunkReader;
invokeinterface org.apache.cassandra.io.util.ChunkReader.fileLength:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ChunkCache$CachingRebufferer;
public double getCrcCheckChance();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cache.ChunkCache$CachingRebufferer.source:Lorg/apache/cassandra/io/util/ChunkReader;
invokeinterface org.apache.cassandra.io.util.ChunkReader.getCrcCheckChance:()D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ChunkCache$CachingRebufferer;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "CachingRebufferer:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.cassandra.cache.ChunkCache$CachingRebufferer.source:Lorg/apache/cassandra/io/util/ChunkReader;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ChunkCache$CachingRebufferer;
public org.apache.cassandra.io.util.Rebufferer$BufferHolder rebuffer(long);
descriptor: (J)Lorg/apache/cassandra/io/util/Rebufferer$BufferHolder;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
0: aload 0
lload 1
invokevirtual org.apache.cassandra.cache.ChunkCache$CachingRebufferer.rebuffer:(J)Lorg/apache/cassandra/cache/ChunkCache$Buffer;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ChunkCache.java"
NestHost: org.apache.cassandra.cache.ChunkCache
InnerClasses:
Buffer = org.apache.cassandra.cache.ChunkCache$Buffer of org.apache.cassandra.cache.ChunkCache
CachingRebufferer = org.apache.cassandra.cache.ChunkCache$CachingRebufferer of org.apache.cassandra.cache.ChunkCache
Key = org.apache.cassandra.cache.ChunkCache$Key of org.apache.cassandra.cache.ChunkCache
public abstract BufferHolder = org.apache.cassandra.io.util.Rebufferer$BufferHolder of org.apache.cassandra.io.util.Rebufferer