Package akka.io
Class SimpleDnsCache
- java.lang.Object
-
- akka.io.Dns
-
- akka.io.SimpleDnsCache
-
- All Implemented Interfaces:
NoSerializationVerificationNeeded,PeriodicCacheCleanup
public class SimpleDnsCache extends Dns implements PeriodicCacheCleanup, NoSerializationVerificationNeeded
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSimpleDnsCache.CacheEntry$
-
Constructor Summary
Constructors Constructor Description SimpleDnsCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.Option<DnsProtocol.Resolved>cached(DnsProtocol.Resolve request)voidcleanup()protected longclock()
-
-
-
Method Detail
-
cached
public scala.Option<DnsProtocol.Resolved> cached(DnsProtocol.Resolve request)
-
clock
protected long clock()
-
cleanup
public final void cleanup()
- Specified by:
cleanupin interfacePeriodicCacheCleanup
-
-