public class org.apache.cassandra.cache.ConcurrentLinkedHashCache<K extends org.apache.cassandra.cache.IMeasurableMemory, V extends org.apache.cassandra.cache.IMeasurableMemory> implements org.apache.cassandra.cache.ICache<K, V>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cache.ConcurrentLinkedHashCache
super_class: java.lang.Object
{
public static final int DEFAULT_CONCURENCY_LEVEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 64
private final com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap<K, V> map;
descriptor: Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap<TK;TV;>;
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/ConcurrentLinkedHashCache;
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.ConcurrentLinkedHashCache.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap<K, V>);
descriptor: (Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.cache.ConcurrentLinkedHashCache.map:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache<TK;TV;>;
0 3 1 map Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap<TK;TV;>;
Signature: (Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap<TK;TV;>;)V
MethodParameters:
Name Flags
map
public static <K extends org.apache.cassandra.cache.IMeasurableMemory, V extends org.apache.cassandra.cache.IMeasurableMemory> org.apache.cassandra.cache.ConcurrentLinkedHashCache<K, V> create(long, com.googlecode.concurrentlinkedhashmap.EntryWeigher<K, V>);
descriptor: (JLcom/googlecode/concurrentlinkedhashmap/EntryWeigher;)Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 2 0: new com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder
dup
invokespecial com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder.<init>:()V
1: aload 2
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder.weigher:(Lcom/googlecode/concurrentlinkedhashmap/EntryWeigher;)Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap$Builder;
2: lload 0
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder.maximumWeightedCapacity:(J)Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap$Builder;
3: bipush 64
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder.concurrencyLevel:(I)Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap$Builder;
4: invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder.build:()Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
5: astore 3
start local 3 6: new org.apache.cassandra.cache.ConcurrentLinkedHashCache
dup
aload 3
invokespecial org.apache.cassandra.cache.ConcurrentLinkedHashCache.<init>:(Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;)V
areturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 weightedCapacity J
0 7 2 entryWeiger Lcom/googlecode/concurrentlinkedhashmap/EntryWeigher<TK;TV;>;
6 7 3 map Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap<TK;TV;>;
Signature: <K::Lorg/apache/cassandra/cache/IMeasurableMemory;V::Lorg/apache/cassandra/cache/IMeasurableMemory;>(JLcom/googlecode/concurrentlinkedhashmap/EntryWeigher<TK;TV;>;)Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache<TK;TV;>;
MethodParameters:
Name Flags
weightedCapacity
entryWeiger
public static <K extends org.apache.cassandra.cache.IMeasurableMemory, V extends org.apache.cassandra.cache.IMeasurableMemory> org.apache.cassandra.cache.ConcurrentLinkedHashCache<K, V> create(long);
descriptor: (J)Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
new org.apache.cassandra.cache.ConcurrentLinkedHashCache$1
dup
invokespecial org.apache.cassandra.cache.ConcurrentLinkedHashCache$1.<init>:()V
invokestatic org.apache.cassandra.cache.ConcurrentLinkedHashCache.create:(JLcom/googlecode/concurrentlinkedhashmap/EntryWeigher;)Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 weightedCapacity J
Signature: <K::Lorg/apache/cassandra/cache/IMeasurableMemory;V::Lorg/apache/cassandra/cache/IMeasurableMemory;>(J)Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache<TK;TV;>;
MethodParameters:
Name Flags
weightedCapacity
public long capacity();
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.ConcurrentLinkedHashCache.map:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.capacity:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache<TK;TV;>;
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: aload 0
getfield org.apache.cassandra.cache.ConcurrentLinkedHashCache.map:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
lload 1
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.setCapacity:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache<TK;TV;>;
0 2 1 capacity J
MethodParameters:
Name Flags
capacity
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cache.ConcurrentLinkedHashCache.map:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache<TK;TV;>;
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.ConcurrentLinkedHashCache.map:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache<TK;TV;>;
public long weightedSize();
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.ConcurrentLinkedHashCache.map:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.weightedSize:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache<TK;TV;>;
public void clear();
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.ConcurrentLinkedHashCache.map:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache<TK;TV;>;
public V get();
descriptor: (Lorg/apache/cassandra/cache/IMeasurableMemory;)Lorg/apache/cassandra/cache/IMeasurableMemory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cache.ConcurrentLinkedHashCache.map:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
aload 1
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.cache.IMeasurableMemory
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache<TK;TV;>;
0 1 1 key TK;
Signature: (TK;)TV;
MethodParameters:
Name Flags
key
public void put(K, );
descriptor: (Lorg/apache/cassandra/cache/IMeasurableMemory;Lorg/apache/cassandra/cache/IMeasurableMemory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.cache.ConcurrentLinkedHashCache.map:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
aload 1
aload 2
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache<TK;TV;>;
0 2 1 key TK;
0 2 2 value TV;
Signature: (TK;TV;)V
MethodParameters:
Name Flags
key
value
public boolean putIfAbsent(K, );
descriptor: (Lorg/apache/cassandra/cache/IMeasurableMemory;Lorg/apache/cassandra/cache/IMeasurableMemory;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.cache.ConcurrentLinkedHashCache.map:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
aload 1
aload 2
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache<TK;TV;>;
0 2 1 key TK;
0 2 2 value TV;
Signature: (TK;TV;)Z
MethodParameters:
Name Flags
key
value
public boolean replace(K, V, );
descriptor: (Lorg/apache/cassandra/cache/IMeasurableMemory;Lorg/apache/cassandra/cache/IMeasurableMemory;Lorg/apache/cassandra/cache/IMeasurableMemory;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.cassandra.cache.ConcurrentLinkedHashCache.map:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
aload 1
aload 2
aload 3
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.replace:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache<TK;TV;>;
0 1 1 key TK;
0 1 2 old TV;
0 1 3 value TV;
Signature: (TK;TV;TV;)Z
MethodParameters:
Name Flags
key
old
value
public void remove();
descriptor: (Lorg/apache/cassandra/cache/IMeasurableMemory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cache.ConcurrentLinkedHashCache.map:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
aload 1
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache<TK;TV;>;
0 2 1 key TK;
Signature: (TK;)V
MethodParameters:
Name Flags
key
public java.util.Iterator<K> keyIterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cache.ConcurrentLinkedHashCache.map:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache<TK;TV;>;
Signature: ()Ljava/util/Iterator<TK;>;
public java.util.Iterator<K> hotKeyIterator(int);
descriptor: (I)Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cache.ConcurrentLinkedHashCache.map:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
iload 1
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.descendingKeySetWithLimit:(I)Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache<TK;TV;>;
0 1 1 n I
Signature: (I)Ljava/util/Iterator<TK;>;
MethodParameters:
Name Flags
n
public boolean containsKey();
descriptor: (Lorg/apache/cassandra/cache/IMeasurableMemory;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cache.ConcurrentLinkedHashCache.map:Lcom/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap;
aload 1
invokevirtual com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.containsKey:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/ConcurrentLinkedHashCache<TK;TV;>;
0 1 1 key TK;
Signature: (TK;)Z
MethodParameters:
Name Flags
key
public java.lang.Object get(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.IMeasurableMemory
invokevirtual org.apache.cassandra.cache.ConcurrentLinkedHashCache.get:(Lorg/apache/cassandra/cache/IMeasurableMemory;)Lorg/apache/cassandra/cache/IMeasurableMemory;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean replace(java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
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.IMeasurableMemory
aload 2
checkcast org.apache.cassandra.cache.IMeasurableMemory
aload 3
checkcast org.apache.cassandra.cache.IMeasurableMemory
invokevirtual org.apache.cassandra.cache.ConcurrentLinkedHashCache.replace:(Lorg/apache/cassandra/cache/IMeasurableMemory;Lorg/apache/cassandra/cache/IMeasurableMemory;Lorg/apache/cassandra/cache/IMeasurableMemory;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public boolean containsKey(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
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.IMeasurableMemory
invokevirtual org.apache.cassandra.cache.ConcurrentLinkedHashCache.containsKey:(Lorg/apache/cassandra/cache/IMeasurableMemory;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public boolean putIfAbsent(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
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.cache.IMeasurableMemory
aload 2
checkcast org.apache.cassandra.cache.IMeasurableMemory
invokevirtual org.apache.cassandra.cache.ConcurrentLinkedHashCache.putIfAbsent:(Lorg/apache/cassandra/cache/IMeasurableMemory;Lorg/apache/cassandra/cache/IMeasurableMemory;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void put(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)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.cache.IMeasurableMemory
aload 2
checkcast org.apache.cassandra.cache.IMeasurableMemory
invokevirtual org.apache.cassandra.cache.ConcurrentLinkedHashCache.put:(Lorg/apache/cassandra/cache/IMeasurableMemory;Lorg/apache/cassandra/cache/IMeasurableMemory;)V
return
LocalVariableTable:
Start End Slot Name Signature
public void remove(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
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.IMeasurableMemory
invokevirtual org.apache.cassandra.cache.ConcurrentLinkedHashCache.remove:(Lorg/apache/cassandra/cache/IMeasurableMemory;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <K::Lorg/apache/cassandra/cache/IMeasurableMemory;V::Lorg/apache/cassandra/cache/IMeasurableMemory;>Ljava/lang/Object;Lorg/apache/cassandra/cache/ICache<TK;TV;>;
SourceFile: "ConcurrentLinkedHashCache.java"
NestMembers:
org.apache.cassandra.cache.ConcurrentLinkedHashCache$1
InnerClasses:
public final Builder = com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder of com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap
org.apache.cassandra.cache.ConcurrentLinkedHashCache$1