01: package net.suberic.util.cache;
02:
03: /**
04: * A simple memory cache.
05: */
06: public class MemorySizedCache extends AbstractSizedCache {
07:
08: /**
09: * Creates a new MemorySizedCache.
10: */
11: public MemorySizedCache(SizedCacheEntryFactory newFactory,
12: long newMaxSize, long newMaxEntrySize) {
13: setFactory(newFactory);
14: setMaxSize(newMaxSize);
15: setMaxEntrySize(newMaxEntrySize);
16: }
17: }
|