public class org.apache.cassandra.cache.ChunkCache implements com.github.benmanes.caffeine.cache.CacheLoader<org.apache.cassandra.cache.ChunkCache$Key, org.apache.cassandra.cache.ChunkCache$Buffer>, com.github.benmanes.caffeine.cache.RemovalListener<org.apache.cassandra.cache.ChunkCache$Key, org.apache.cassandra.cache.ChunkCache$Buffer>, org.apache.cassandra.cache.CacheSize
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cache.ChunkCache
super_class: java.lang.Object
{
public static final int RESERVED_POOL_SPACE_IN_MB;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 32
public static final long cacheSize;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean roundUp;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static boolean enabled;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
public static final org.apache.cassandra.cache.ChunkCache instance;
descriptor: Lorg/apache/cassandra/cache/ChunkCache;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final com.github.benmanes.caffeine.cache.LoadingCache<org.apache.cassandra.cache.ChunkCache$Key, org.apache.cassandra.cache.ChunkCache$Buffer> cache;
descriptor: Lcom/github/benmanes/caffeine/cache/LoadingCache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/github/benmanes/caffeine/cache/LoadingCache<Lorg/apache/cassandra/cache/ChunkCache$Key;Lorg/apache/cassandra/cache/ChunkCache$Buffer;>;
public final org.apache.cassandra.metrics.CacheMissMetrics metrics;
descriptor: Lorg/apache/cassandra/metrics/CacheMissMetrics;
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/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.$assertionsDisabled:Z
3: ldc 1048576
iconst_0
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getFileCacheSizeInMB:()I
bipush 32
isub
invokestatic java.lang.Math.max:(II)I
i2l
lmul
putstatic org.apache.cassandra.cache.ChunkCache.cacheSize:J
4: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getFileCacheRoundUp:()Z
putstatic org.apache.cassandra.cache.ChunkCache.roundUp:Z
5: getstatic org.apache.cassandra.cache.ChunkCache.cacheSize:J
lconst_0
lcmp
ifle 6
iconst_1
goto 7
StackMap locals:
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: putstatic org.apache.cassandra.cache.ChunkCache.enabled:Z
8: getstatic org.apache.cassandra.cache.ChunkCache.enabled:Z
ifeq 9
new org.apache.cassandra.cache.ChunkCache
dup
invokespecial org.apache.cassandra.cache.ChunkCache.<init>:()V
goto 10
StackMap locals:
StackMap stack:
9: aconst_null
StackMap locals:
StackMap stack: org.apache.cassandra.cache.ChunkCache
10: putstatic org.apache.cassandra.cache.ChunkCache.instance:Lorg/apache/cassandra/cache/ChunkCache;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic com.github.benmanes.caffeine.cache.Caffeine.newBuilder:()Lcom/github/benmanes/caffeine/cache/Caffeine;
2: getstatic org.apache.cassandra.cache.ChunkCache.cacheSize:J
invokevirtual com.github.benmanes.caffeine.cache.Caffeine.maximumWeight:(J)Lcom/github/benmanes/caffeine/cache/Caffeine;
3: invokestatic com.google.common.util.concurrent.MoreExecutors.directExecutor:()Ljava/util/concurrent/Executor;
invokevirtual com.github.benmanes.caffeine.cache.Caffeine.executor:(Ljava/util/concurrent/Executor;)Lcom/github/benmanes/caffeine/cache/Caffeine;
4: invokedynamic weigh()Lcom/github/benmanes/caffeine/cache/Weigher;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)I
org/apache/cassandra/cache/ChunkCache.lambda$0(Ljava/lang/Object;Ljava/lang/Object;)I (6)
(Ljava/lang/Object;Ljava/lang/Object;)I
invokevirtual com.github.benmanes.caffeine.cache.Caffeine.weigher:(Lcom/github/benmanes/caffeine/cache/Weigher;)Lcom/github/benmanes/caffeine/cache/Caffeine;
5: aload 0
invokevirtual com.github.benmanes.caffeine.cache.Caffeine.removalListener:(Lcom/github/benmanes/caffeine/cache/RemovalListener;)Lcom/github/benmanes/caffeine/cache/Caffeine;
6: aload 0
invokevirtual com.github.benmanes.caffeine.cache.Caffeine.build:(Lcom/github/benmanes/caffeine/cache/CacheLoader;)Lcom/github/benmanes/caffeine/cache/LoadingCache;
7: putfield org.apache.cassandra.cache.ChunkCache.cache:Lcom/github/benmanes/caffeine/cache/LoadingCache;
8: aload 0
new org.apache.cassandra.metrics.CacheMissMetrics
dup
ldc "ChunkCache"
aload 0
invokespecial org.apache.cassandra.metrics.CacheMissMetrics.<init>:(Ljava/lang/String;Lorg/apache/cassandra/cache/CacheSize;)V
putfield org.apache.cassandra.cache.ChunkCache.metrics:Lorg/apache/cassandra/metrics/CacheMissMetrics;
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/cache/ChunkCache;
public org.apache.cassandra.cache.ChunkCache$Buffer load(org.apache.cassandra.cache.ChunkCache$Key);
descriptor: (Lorg/apache/cassandra/cache/ChunkCache$Key;)Lorg/apache/cassandra/cache/ChunkCache$Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
getfield org.apache.cassandra.cache.ChunkCache$Key.file:Lorg/apache/cassandra/io/util/ChunkReader;
astore 2
start local 2 1: aload 0
getfield org.apache.cassandra.cache.ChunkCache.metrics:Lorg/apache/cassandra/metrics/CacheMissMetrics;
getfield org.apache.cassandra.metrics.CacheMissMetrics.misses:Lcom/codahale/metrics/Meter;
invokevirtual com.codahale.metrics.Meter.mark:()V
2: aconst_null
astore 3
aconst_null
astore 4
3: aload 0
getfield org.apache.cassandra.cache.ChunkCache.metrics:Lorg/apache/cassandra/metrics/CacheMissMetrics;
getfield org.apache.cassandra.metrics.CacheMissMetrics.missLatency:Lcom/codahale/metrics/Timer;
invokevirtual com.codahale.metrics.Timer.time:()Lcom/codahale/metrics/Timer$Context;
astore 5
start local 5 4: aload 1
getfield org.apache.cassandra.cache.ChunkCache$Key.file:Lorg/apache/cassandra/io/util/ChunkReader;
invokeinterface org.apache.cassandra.io.util.ChunkReader.chunkSize:()I
aload 1
getfield org.apache.cassandra.cache.ChunkCache$Key.file:Lorg/apache/cassandra/io/util/ChunkReader;
invokeinterface org.apache.cassandra.io.util.ChunkReader.preferredBufferType:()Lorg/apache/cassandra/io/compress/BufferType;
invokestatic org.apache.cassandra.utils.memory.BufferPool.get:(ILorg/apache/cassandra/io/compress/BufferType;)Ljava/nio/ByteBuffer;
astore 6
start local 6 5: getstatic org.apache.cassandra.cache.ChunkCache.$assertionsDisabled:Z
ifne 6
aload 6
ifnonnull 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: org.apache.cassandra.cache.ChunkCache org.apache.cassandra.cache.ChunkCache$Key org.apache.cassandra.io.util.ChunkReader java.lang.Throwable java.lang.Throwable com.codahale.metrics.Timer$Context java.nio.ByteBuffer
StackMap stack:
aload 2
aload 1
getfield org.apache.cassandra.cache.ChunkCache$Key.position:J
aload 6
invokeinterface org.apache.cassandra.io.util.ChunkReader.readChunk:(JLjava/nio/ByteBuffer;)V
7: new org.apache.cassandra.cache.ChunkCache$Buffer
dup
aload 6
aload 1
getfield org.apache.cassandra.cache.ChunkCache$Key.position:J
invokespecial org.apache.cassandra.cache.ChunkCache$Buffer.<init>:(Ljava/nio/ByteBuffer;J)V
8: aload 5
ifnull 9
aload 5
invokevirtual com.codahale.metrics.Timer$Context.close:()V
9: StackMap locals:
StackMap stack: org.apache.cassandra.cache.ChunkCache$Buffer
areturn
end local 6 StackMap locals: org.apache.cassandra.cache.ChunkCache org.apache.cassandra.cache.ChunkCache$Key org.apache.cassandra.io.util.ChunkReader java.lang.Throwable java.lang.Throwable com.codahale.metrics.Timer$Context
StackMap stack: java.lang.Throwable
10: astore 3
11: aload 5
ifnull 12
aload 5
invokevirtual com.codahale.metrics.Timer$Context.close:()V
end local 5 StackMap locals:
StackMap stack:
12: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 4
aload 3
ifnonnull 14
aload 4
astore 3
goto 15
StackMap locals:
StackMap stack:
14: aload 3
aload 4
if_acmpeq 15
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
15: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/cassandra/cache/ChunkCache;
0 16 1 key Lorg/apache/cassandra/cache/ChunkCache$Key;
1 16 2 rebufferer Lorg/apache/cassandra/io/util/ChunkReader;
4 12 5 ctx Lcom/codahale/metrics/Timer$Context;
5 10 6 buffer Ljava/nio/ByteBuffer;
Exception table:
from to target type
4 8 10 any
3 9 13 any
10 13 13 any
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
key
public void onRemoval(org.apache.cassandra.cache.ChunkCache$Key, org.apache.cassandra.cache.ChunkCache$Buffer, com.github.benmanes.caffeine.cache.RemovalCause);
descriptor: (Lorg/apache/cassandra/cache/ChunkCache$Key;Lorg/apache/cassandra/cache/ChunkCache$Buffer;Lcom/github/benmanes/caffeine/cache/RemovalCause;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.apache.cassandra.cache.ChunkCache$Buffer.release:()V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cache/ChunkCache;
0 2 1 key Lorg/apache/cassandra/cache/ChunkCache$Key;
0 2 2 buffer Lorg/apache/cassandra/cache/ChunkCache$Buffer;
0 2 3 cause Lcom/github/benmanes/caffeine/cache/RemovalCause;
MethodParameters:
Name Flags
key
buffer
cause
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.cache:Lcom/github/benmanes/caffeine/cache/LoadingCache;
invokeinterface com.github.benmanes.caffeine.cache.LoadingCache.invalidateAll:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cache/ChunkCache;
public org.apache.cassandra.io.util.RebuffererFactory wrap(org.apache.cassandra.io.util.ChunkReader);
descriptor: (Lorg/apache/cassandra/io/util/ChunkReader;)Lorg/apache/cassandra/io/util/RebuffererFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.cache.ChunkCache$CachingRebufferer
dup
aload 0
aload 1
invokespecial org.apache.cassandra.cache.ChunkCache$CachingRebufferer.<init>:(Lorg/apache/cassandra/cache/ChunkCache;Lorg/apache/cassandra/io/util/ChunkReader;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ChunkCache;
0 1 1 file Lorg/apache/cassandra/io/util/ChunkReader;
MethodParameters:
Name Flags
file
public static org.apache.cassandra.io.util.RebuffererFactory maybeWrap(org.apache.cassandra.io.util.ChunkReader);
descriptor: (Lorg/apache/cassandra/io/util/ChunkReader;)Lorg/apache/cassandra/io/util/RebuffererFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.cache.ChunkCache.enabled:Z
ifne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.cache.ChunkCache.instance:Lorg/apache/cassandra/cache/ChunkCache;
aload 0
invokevirtual org.apache.cassandra.cache.ChunkCache.wrap:(Lorg/apache/cassandra/io/util/ChunkReader;)Lorg/apache/cassandra/io/util/RebuffererFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 file Lorg/apache/cassandra/io/util/ChunkReader;
MethodParameters:
Name Flags
file
public void invalidatePosition(org.apache.cassandra.io.util.FileHandle, long);
descriptor: (Lorg/apache/cassandra/io/util/FileHandle;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.apache.cassandra.io.util.FileHandle.rebuffererFactory:()Lorg/apache/cassandra/io/util/RebuffererFactory;
instanceof org.apache.cassandra.cache.ChunkCache$CachingRebufferer
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.cassandra.io.util.FileHandle.rebuffererFactory:()Lorg/apache/cassandra/io/util/RebuffererFactory;
checkcast org.apache.cassandra.cache.ChunkCache$CachingRebufferer
lload 2
invokevirtual org.apache.cassandra.cache.ChunkCache$CachingRebufferer.invalidate:(J)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cache/ChunkCache;
0 4 1 dfile Lorg/apache/cassandra/io/util/FileHandle;
0 4 2 position J
MethodParameters:
Name Flags
dfile
position
public void invalidateFile(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cache.ChunkCache.cache:Lcom/github/benmanes/caffeine/cache/LoadingCache;
aload 0
getfield org.apache.cassandra.cache.ChunkCache.cache:Lcom/github/benmanes/caffeine/cache/LoadingCache;
invokeinterface com.github.benmanes.caffeine.cache.LoadingCache.asMap:()Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.keySet:()Ljava/util/Set;
aload 1
invokedynamic apply(Ljava/lang/String;)Lcom/google/common/base/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
org/apache/cassandra/cache/ChunkCache.lambda$1(Ljava/lang/String;Lorg/apache/cassandra/cache/ChunkCache$Key;)Z (6)
(Lorg/apache/cassandra/cache/ChunkCache$Key;)Z
invokestatic com.google.common.collect.Iterables.filter:(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Ljava/lang/Iterable;
invokeinterface com.github.benmanes.caffeine.cache.LoadingCache.invalidateAll:(Ljava/lang/Iterable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cache/ChunkCache;
0 2 1 fileName Ljava/lang/String;
MethodParameters:
Name Flags
fileName
public void enable(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
putstatic org.apache.cassandra.cache.ChunkCache.enabled:Z
1: aload 0
getfield org.apache.cassandra.cache.ChunkCache.cache:Lcom/github/benmanes/caffeine/cache/LoadingCache;
invokeinterface com.github.benmanes.caffeine.cache.LoadingCache.invalidateAll:()V
2: aload 0
getfield org.apache.cassandra.cache.ChunkCache.metrics:Lorg/apache/cassandra/metrics/CacheMissMetrics;
invokevirtual org.apache.cassandra.metrics.CacheMissMetrics.reset:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cache/ChunkCache;
0 4 1 enabled Z
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
enabled
public long capacity();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.cassandra.cache.ChunkCache.cacheSize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ChunkCache;
public void setCapacity(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
ldc "Chunk cache size cannot be changed."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ChunkCache;
0 1 1 capacity J
MethodParameters:
Name Flags
capacity
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cache.ChunkCache.cache:Lcom/github/benmanes/caffeine/cache/LoadingCache;
invokeinterface com.github.benmanes.caffeine.cache.LoadingCache.asMap:()Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ChunkCache;
public long weightedSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cache.ChunkCache.cache:Lcom/github/benmanes/caffeine/cache/LoadingCache;
invokeinterface com.github.benmanes.caffeine.cache.LoadingCache.policy:()Lcom/github/benmanes/caffeine/cache/Policy;
invokeinterface com.github.benmanes.caffeine.cache.Policy.eviction:()Ljava/util/Optional;
1: aload 0
invokedynamic apply(Lorg/apache/cassandra/cache/ChunkCache;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/apache/cassandra/cache/ChunkCache.lambda$2(Lcom/github/benmanes/caffeine/cache/Policy$Eviction;)Ljava/lang/Long; (7)
(Lcom/github/benmanes/caffeine/cache/Policy$Eviction;)Ljava/lang/Long;
invokevirtual java.util.Optional.map:(Ljava/util/function/Function;)Ljava/util/Optional;
2: aload 0
getfield org.apache.cassandra.cache.ChunkCache.cache:Lcom/github/benmanes/caffeine/cache/LoadingCache;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic get(Lcom/github/benmanes/caffeine/cache/LoadingCache;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/github/benmanes/caffeine/cache/Cache.estimatedSize()J (9 itf)
()Ljava/lang/Long;
invokevirtual java.util.Optional.orElseGet:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
3: lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/cache/ChunkCache;
public java.lang.Object load(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
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.cache.ChunkCache$Key
invokevirtual org.apache.cassandra.cache.ChunkCache.load:(Lorg/apache/cassandra/cache/ChunkCache$Key;)Lorg/apache/cassandra/cache/ChunkCache$Buffer;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
public void onRemoval(java.lang.Object, java.lang.Object, com.github.benmanes.caffeine.cache.RemovalCause);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Lcom/github/benmanes/caffeine/cache/RemovalCause;)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.cache.ChunkCache$Key
aload 2
checkcast org.apache.cassandra.cache.ChunkCache$Buffer
aload 3
invokevirtual org.apache.cassandra.cache.ChunkCache.onRemoval:(Lorg/apache/cassandra/cache/ChunkCache$Key;Lorg/apache/cassandra/cache/ChunkCache$Buffer;Lcom/github/benmanes/caffeine/cache/RemovalCause;)V
return
LocalVariableTable:
Start End Slot Name Signature
private static int lambda$0(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
checkcast org.apache.cassandra.cache.ChunkCache$Buffer
getfield org.apache.cassandra.cache.ChunkCache$Buffer.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/Object;
0 1 1 buffer Ljava/lang/Object;
private static boolean lambda$1(java.lang.String, org.apache.cassandra.cache.ChunkCache$Key);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/cache/ChunkCache$Key;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
getfield org.apache.cassandra.cache.ChunkCache$Key.path:Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 x Lorg/apache/cassandra/cache/ChunkCache$Key;
private java.lang.Long lambda$2(com.github.benmanes.caffeine.cache.Policy$Eviction);
descriptor: (Lcom/github/benmanes/caffeine/cache/Policy$Eviction;)Ljava/lang/Long;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.github.benmanes.caffeine.cache.Policy$Eviction.weightedSize:()Ljava/util/OptionalLong;
aload 0
getfield org.apache.cassandra.cache.ChunkCache.cache:Lcom/github/benmanes/caffeine/cache/LoadingCache;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic getAsLong(Lcom/github/benmanes/caffeine/cache/LoadingCache;)Ljava/util/function/LongSupplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()J
com/github/benmanes/caffeine/cache/Cache.estimatedSize()J (9 itf)
()J
invokevirtual java.util.OptionalLong.orElseGet:(Ljava/util/function/LongSupplier;)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ChunkCache;
0 1 1 policy Lcom/github/benmanes/caffeine/cache/Policy$Eviction<Lorg/apache/cassandra/cache/ChunkCache$Key;Lorg/apache/cassandra/cache/ChunkCache$Buffer;>;
}
Signature: Ljava/lang/Object;Lcom/github/benmanes/caffeine/cache/CacheLoader<Lorg/apache/cassandra/cache/ChunkCache$Key;Lorg/apache/cassandra/cache/ChunkCache$Buffer;>;Lcom/github/benmanes/caffeine/cache/RemovalListener<Lorg/apache/cassandra/cache/ChunkCache$Key;Lorg/apache/cassandra/cache/ChunkCache$Buffer;>;Lorg/apache/cassandra/cache/CacheSize;
SourceFile: "ChunkCache.java"
NestMembers:
org.apache.cassandra.cache.ChunkCache$Buffer org.apache.cassandra.cache.ChunkCache$CachingRebufferer org.apache.cassandra.cache.ChunkCache$Key
InnerClasses:
public Context = com.codahale.metrics.Timer$Context of com.codahale.metrics.Timer
public abstract Eviction = com.github.benmanes.caffeine.cache.Policy$Eviction of com.github.benmanes.caffeine.cache.Policy
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
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