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<?>expirationFutureprivate java.lang.Stringhostname
-
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) voidadd(E e, int ttl, EventLoop loop)(package private) booleanclearAndCancel()voidrun()private voidscheduleCacheExpirationIfNeeded(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
-
-