set logger in LRU cache to applications event logger.
This commit is contained in:
parent
0b35d05b2b
commit
9646764d5f
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ public final class NodeManager {
|
|||
// Make actual cache size bigger, since we use it only up to the threshold
|
||||
// cache = new CacheMap ((int) Math.ceil (cacheSize/0.75f), 0.75f);
|
||||
cache = new CacheMap (cacheSize, 0.75f);
|
||||
cache.setLogger (app.getLogger ("event"));
|
||||
app.logEvent ("set up node cache ("+cacheSize+")");
|
||||
|
||||
safe = new WrappedNodeManager (this);
|
||||
|
|
Loading…
Add table
Reference in a new issue