Class FullLruCache


  • public class FullLruCache
    extends ExtendedLruCache
    An insecure variant of LruCache also using all the data found in the sections of an answer.
    • Constructor Detail

      • FullLruCache

        public FullLruCache()
      • FullLruCache

        public FullLruCache​(int capacity)
      • FullLruCache

        public FullLruCache​(int capacity,
                            long maxTTL)
    • Method Detail

      • shouldGather

        protected boolean shouldGather​(org.minidns.record.Record<? extends org.minidns.record.Data> extraRecord,
                                       org.minidns.dnsmessage.Question question,
                                       org.minidns.dnsname.DnsName authoritativeZone)
        Overrides:
        shouldGather in class ExtendedLruCache