public class CacheReference<T> extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected AtomicLong |
access |
protected static ConcurrentLinkedQueue<WeakReference<CacheReference>> |
references |
protected T |
referent |
protected long |
span |
| Constructor and Description |
|---|
CacheReference(T referent,
long span) |
protected static final ConcurrentLinkedQueue<WeakReference<CacheReference>> references
protected final T referent
protected final long span
protected final AtomicLong access
public CacheReference(T referent, long span)
Copyright © 2016. All rights reserved.