MCPcopy Create free account
hub / github.com/apache/storm / LruMap

Method LruMap

storm-server/src/main/java/org/apache/storm/utils/LruMap.java:22–25  ·  view source on GitHub ↗
(int maxSize)

Source from the content-addressed store, hash-verified

20 private CacheEvictionCallback evCb = null;
21
22 public LruMap(int maxSize) {
23 super(maxSize + 1, 1.0f, true);
24 this.maxSize = maxSize;
25 }
26
27 /**
28 * Creates an LRU map that will call back before data is removed from the map.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected