add reindex method to PersistentMap
This commit is contained in:
@@ -47,4 +47,10 @@ public class LRUCache<K, V> {
|
||||
public double cacheHitRate() {
|
||||
return (double) countGetHits / (double) countGet;
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
cache.clear();
|
||||
countGet = 0;
|
||||
countGetHits = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user