@Deprecated public class StatisticsIndex<K,V> extends Object implements LookupIndexIF<K,V>
Modifier and Type | Field and Description |
---|---|
protected int |
hits
Deprecated.
|
protected LookupIndexIF<K,Reference<V>> |
index
Deprecated.
|
protected int |
misses
Deprecated.
|
protected int |
misses_deref
Deprecated.
|
protected String |
name
Deprecated.
|
protected int |
total
Deprecated.
|
Constructor and Description |
---|
StatisticsIndex(String name,
LookupIndexIF<K,Reference<V>> index)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
dump()
Deprecated.
|
V |
get(K key)
Deprecated.
|
protected int |
percent(int c,
int total)
Deprecated.
|
V |
put(K key,
V value)
Deprecated.
|
V |
remove(K key)
Deprecated.
|
protected int total
protected int hits
protected int misses
protected int misses_deref
protected String name
protected LookupIndexIF<K,Reference<V>> index
public StatisticsIndex(String name, LookupIndexIF<K,Reference<V>> index)