Constructor and Description |
---|
StandardIsamCache()
Create instance of StandardIsamCache.
|
Modifier and Type | Method and Description |
---|---|
<T,TK> T |
get(java.lang.Class<T> t,
Key<TK> k)
Get object from cache.
|
double |
getHitRate()
Get hit rate.
|
<T,TK> void |
put(Key<TK> k,
T o)
Put object in cache.
|
<T,TK> void |
remove(java.lang.Class<T> clz,
Key<TK> k)
Remove object from cache.
|
public StandardIsamCache()
public <T,TK> T get(java.lang.Class<T> t, Key<TK> k)
IsamCache
public <T,TK> void put(Key<TK> k, T o)
IsamCache
public <T,TK> void remove(java.lang.Class<T> clz, Key<TK> k)
IsamCache
public double getHitRate()
IsamCache
getHitRate
in interface IsamCache