Package akka.io
Class InetAddressDnsProvider
- java.lang.Object
-
- akka.io.InetAddressDnsProvider
-
- All Implemented Interfaces:
DnsProvider
public class InetAddressDnsProvider extends java.lang.Object implements DnsProvider
INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description InetAddressDnsProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<InetAddressDnsResolver>
actorClass()
DNS resolver actor.Dns
cache()
Cache implementation that can be accessed via Dns(system) to avoid asks to the resolver actors.java.lang.Class<SimpleDnsManager>
managerClass()
DNS manager class.
-
-
-
Method Detail
-
actorClass
public java.lang.Class<InetAddressDnsResolver> actorClass()
Description copied from interface:DnsProvider
DNS resolver actor. Should respond toDnsProtocol.Resolve
withDnsProtocol.Resolved
- Specified by:
actorClass
in interfaceDnsProvider
-
cache
public Dns cache()
Description copied from interface:DnsProvider
Cache implementation that can be accessed via Dns(system) to avoid asks to the resolver actors. It is not recommended to override the default SimpleDnsCache- Specified by:
cache
in interfaceDnsProvider
-
managerClass
public java.lang.Class<SimpleDnsManager> managerClass()
Description copied from interface:DnsProvider
DNS manager class. Is responsible for creating resolvers and doing any cache cleanup. The DNS extension will create one of these Actors. It should have a ctr that accepts aDnsExt
- Specified by:
managerClass
in interfaceDnsProvider
-
-