Package io.netty.resolver.dns
Class Cache.Entries
- java.lang.Object
-
- java.util.concurrent.atomic.AtomicReference<java.util.List<E>>
-
- io.netty.resolver.dns.Cache.Entries
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.concurrent.ScheduledFuture<?>
expirationFuture
private java.lang.String
hostname
-
Constructor Summary
Constructors Constructor Description Entries(java.lang.String hostname)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
add(E e, int ttl, EventLoop loop)
(package private) boolean
clearAndCancel()
void
run()
private void
scheduleCacheExpirationIfNeeded(int ttl, EventLoop loop)
-
Methods inherited from class java.util.concurrent.atomic.AtomicReference
accumulateAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, get, getAcquire, getAndAccumulate, getAndSet, getAndUpdate, getOpaque, getPlain, lazySet, set, setOpaque, setPlain, setRelease, toString, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
-
-