public class FullLRUCache extends ExtendedLRUCache
LRUCache also using all the data found in the sections of an answer.backend, capacity, expireCount, hitCount, maxTTL, missCountDEFAULT_CACHE_SIZE| Constructor and Description |
|---|
FullLRUCache() |
FullLRUCache(int capacity) |
FullLRUCache(int capacity,
long maxTTL) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
shouldGather(org.minidns.record.Record<? extends org.minidns.record.Data> extraRecord,
org.minidns.dnsmessage.Question question,
org.minidns.dnsname.DNSName authoritativeZone) |
offer, putNormalizedclear, getExpireCount, getHitCount, getMissCount, getNormalized, toStringpublic FullLRUCache()
public FullLRUCache(int capacity)
public FullLRUCache(int capacity,
long maxTTL)
protected boolean shouldGather(org.minidns.record.Record<? extends org.minidns.record.Data> extraRecord,
org.minidns.dnsmessage.Question question,
org.minidns.dnsname.DNSName authoritativeZone)
shouldGather in class ExtendedLRUCache