Package org.minidns.cache
Class FullLruCache
java.lang.Object
org.minidns.DnsCache
org.minidns.cache.LruCache
org.minidns.cache.ExtendedLruCache
org.minidns.cache.FullLruCache
An insecure variant of
LruCache
also using all the data found in the sections of an answer.-
Field Summary
Fields inherited from class org.minidns.cache.LruCache
backend, capacity, expireCount, hitCount, maxTTL, missCount
Fields inherited from class org.minidns.DnsCache
DEFAULT_CACHE_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
shouldGather
(Record<? extends Data> extraRecord, Question question, DnsName authoritativeZone) Methods inherited from class org.minidns.cache.ExtendedLruCache
offer, putNormalized
Methods inherited from class org.minidns.cache.LruCache
clear, getExpireCount, getHitCount, getMissCount, getNormalized, toString
-
Constructor Details
-
FullLruCache
public FullLruCache() -
FullLruCache
-
FullLruCache
-
-
Method Details
-
shouldGather
protected boolean shouldGather(Record<? extends Data> extraRecord, Question question, DnsName authoritativeZone) - Overrides:
shouldGather
in classExtendedLruCache
-