public class org.apache.cassandra.cache.InstrumentingCache<K, V>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.cache.InstrumentingCache
super_class: java.lang.Object
{
private final org.apache.cassandra.cache.ICache<K, V> map;
descriptor: Lorg/apache/cassandra/cache/ICache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/apache/cassandra/cache/ICache<TK;TV;>;
private final java.lang.String type;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.apache.cassandra.metrics.CacheMetrics metrics;
descriptor: Lorg/apache/cassandra/metrics/CacheMetrics;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String, org.apache.cassandra.cache.ICache<K, V>);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/cache/ICache;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield org.apache.cassandra.cache.InstrumentingCache.map:Lorg/apache/cassandra/cache/ICache;
2: aload 0
aload 1
putfield org.apache.cassandra.cache.InstrumentingCache.type:Ljava/lang/String;
3: aload 0
new org.apache.cassandra.metrics.CacheMetrics
dup
aload 1
aload 2
invokespecial org.apache.cassandra.metrics.CacheMetrics.<init>:(Ljava/lang/String;Lorg/apache/cassandra/cache/ICache;)V
putfield org.apache.cassandra.cache.InstrumentingCache.metrics:Lorg/apache/cassandra/metrics/CacheMetrics;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/cache/InstrumentingCache<TK;TV;>;
0 5 1 type Ljava/lang/String;
0 5 2 map Lorg/apache/cassandra/cache/ICache<TK;TV;>;
Signature: (Ljava/lang/String;Lorg/apache/cassandra/cache/ICache<TK;TV;>;)V
MethodParameters:
Name Flags
type
map
public void put(K, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)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.InstrumentingCache.map:Lorg/apache/cassandra/cache/ICache;
aload 1
aload 2
invokeinterface org.apache.cassandra.cache.ICache.put:(Ljava/lang/Object;Ljava/lang/Object;)V
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/InstrumentingCache<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: (Ljava/lang/Object;Ljava/lang/Object;)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.InstrumentingCache.map:Lorg/apache/cassandra/cache/ICache;
aload 1
aload 2
invokeinterface org.apache.cassandra.cache.ICache.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/InstrumentingCache<TK;TV;>;
0 1 1 key TK;
0 1 2 value TV;
Signature: (TK;TV;)Z
MethodParameters:
Name Flags
key
value
public boolean replace(K, V, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)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.InstrumentingCache.map:Lorg/apache/cassandra/cache/ICache;
aload 1
aload 2
aload 3
invokeinterface org.apache.cassandra.cache.ICache.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/InstrumentingCache<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 V get();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.cache.InstrumentingCache.map:Lorg/apache/cassandra/cache/ICache;
aload 1
invokeinterface org.apache.cassandra.cache.ICache.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 0
getfield org.apache.cassandra.cache.InstrumentingCache.metrics:Lorg/apache/cassandra/metrics/CacheMetrics;
getfield org.apache.cassandra.metrics.CacheMetrics.requests:Lcom/codahale/metrics/Meter;
invokevirtual com.codahale.metrics.Meter.mark:()V
2: aload 2
ifnull 4
3: aload 0
getfield org.apache.cassandra.cache.InstrumentingCache.metrics:Lorg/apache/cassandra/metrics/CacheMetrics;
getfield org.apache.cassandra.metrics.CacheMetrics.hits:Lcom/codahale/metrics/Meter;
invokevirtual com.codahale.metrics.Meter.mark:()V
4: StackMap locals: java.lang.Object
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/cache/InstrumentingCache<TK;TV;>;
0 5 1 key TK;
1 5 2 v TV;
Signature: (TK;)TV;
MethodParameters:
Name Flags
key
public V getInternal();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
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.InstrumentingCache.map:Lorg/apache/cassandra/cache/ICache;
aload 1
invokeinterface org.apache.cassandra.cache.ICache.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/InstrumentingCache<TK;TV;>;
0 1 1 key TK;
Signature: (TK;)TV;
MethodParameters:
Name Flags
key
public void remove();
descriptor: (Ljava/lang/Object;)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.InstrumentingCache.map:Lorg/apache/cassandra/cache/ICache;
aload 1
invokeinterface org.apache.cassandra.cache.ICache.remove:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/cache/InstrumentingCache<TK;TV;>;
0 2 1 key TK;
Signature: (TK;)V
MethodParameters:
Name Flags
key
public long getCapacity();
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.InstrumentingCache.map:Lorg/apache/cassandra/cache/ICache;
invokeinterface org.apache.cassandra.cache.ICache.capacity:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/InstrumentingCache<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.InstrumentingCache.map:Lorg/apache/cassandra/cache/ICache;
lload 1
invokeinterface org.apache.cassandra.cache.ICache.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/InstrumentingCache<TK;TV;>;
0 2 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.InstrumentingCache.map:Lorg/apache/cassandra/cache/ICache;
invokeinterface org.apache.cassandra.cache.ICache.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/InstrumentingCache<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.InstrumentingCache.map:Lorg/apache/cassandra/cache/ICache;
invokeinterface org.apache.cassandra.cache.ICache.weightedSize:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/InstrumentingCache<TK;TV;>;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cache.InstrumentingCache.map:Lorg/apache/cassandra/cache/ICache;
invokeinterface org.apache.cassandra.cache.ICache.clear:()V
1: aload 0
new org.apache.cassandra.metrics.CacheMetrics
dup
aload 0
getfield org.apache.cassandra.cache.InstrumentingCache.type:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.cache.InstrumentingCache.map:Lorg/apache/cassandra/cache/ICache;
invokespecial org.apache.cassandra.metrics.CacheMetrics.<init>:(Ljava/lang/String;Lorg/apache/cassandra/cache/ICache;)V
putfield org.apache.cassandra.cache.InstrumentingCache.metrics:Lorg/apache/cassandra/metrics/CacheMetrics;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/cache/InstrumentingCache<TK;TV;>;
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.InstrumentingCache.map:Lorg/apache/cassandra/cache/ICache;
invokeinterface org.apache.cassandra.cache.ICache.keyIterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/InstrumentingCache<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.InstrumentingCache.map:Lorg/apache/cassandra/cache/ICache;
iload 1
invokeinterface org.apache.cassandra.cache.ICache.hotKeyIterator:(I)Ljava/util/Iterator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/InstrumentingCache<TK;TV;>;
0 1 1 n I
Signature: (I)Ljava/util/Iterator<TK;>;
MethodParameters:
Name Flags
n
public boolean containsKey();
descriptor: (Ljava/lang/Object;)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.InstrumentingCache.map:Lorg/apache/cassandra/cache/ICache;
aload 1
invokeinterface org.apache.cassandra.cache.ICache.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/InstrumentingCache<TK;TV;>;
0 1 1 key TK;
Signature: (TK;)Z
MethodParameters:
Name Flags
key
public org.apache.cassandra.metrics.CacheMetrics getMetrics();
descriptor: ()Lorg/apache/cassandra/metrics/CacheMetrics;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.cache.InstrumentingCache.metrics:Lorg/apache/cassandra/metrics/CacheMetrics;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cache/InstrumentingCache<TK;TV;>;
}
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "InstrumentingCache.java"