public class FullLruCache extends ExtendedLruCache
LruCache
also using all the data found in the sections of an answer.backend, capacity, expireCount, hitCount, maxTTL, missCount
DEFAULT_CACHE_SIZE
Constructor and Description |
---|
FullLruCache() |
FullLruCache(int capacity) |
FullLruCache(int capacity,
long maxTTL) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
shouldGather(Record<? extends Data> extraRecord,
Question question,
DnsName authoritativeZone) |
offer, putNormalized
clear, getExpireCount, getHitCount, getMissCount, getNormalized, toString
public FullLruCache()
public FullLruCache(int capacity)
public FullLruCache(int capacity, long maxTTL)
protected boolean shouldGather(Record<? extends Data> extraRecord, Question question, DnsName authoritativeZone)
shouldGather
in class ExtendedLruCache