Package akka.io

Class SimpleDnsCache

    • Constructor Detail

      • SimpleDnsCache

        public SimpleDnsCache()
    • Method Detail

      • expiryEntryOrdering

        public static <K> java.lang.Object expiryEntryOrdering()
        INTERNAL API
        Returns:
        (undocumented)
      • cached

        public scala.Option<Dns.Resolved> cached​(java.lang.String name)
        Description copied from class: Dns
        Lookup if a DNS resolved is cached. The exact behavior of caching will depend on the akka.actor.io.dns.resolver that is configured.
        Overrides:
        cached in class Dns
        Parameters:
        name - (undocumented)
        Returns:
        (undocumented)
      • clock

        protected long clock()
      • put

        public final void put​(Dns.Resolved r,
                              akka.io.dns.CachePolicy.CachePolicy ttl)