org.ehcache.internal.store.heap.holders
Class OnHeapValueHolder<V>
java.lang.Object
org.ehcache.spi.cache.AbstractValueHolder<V>
org.ehcache.internal.store.heap.holders.OnHeapValueHolder<V>
- All Implemented Interfaces:
- java.io.Serializable, Store.ValueHolder<V>
- Direct Known Subclasses:
- CopiedOnHeapValueHolder, SerializedOnHeapValueHolder
public abstract class OnHeapValueHolder<V>
- extends AbstractValueHolder<V>
- See Also:
- Serialized Form
Field Summary |
static java.util.concurrent.TimeUnit |
TIME_UNIT
|
Method Summary |
boolean |
equals(java.lang.Object obj)
|
protected java.util.concurrent.TimeUnit |
nativeTimeUnit()
|
Methods inherited from class org.ehcache.spi.cache.AbstractValueHolder |
accessed, creationTime, expirationTime, getId, hashCode, hitRate, hits, isExpired, lastAccessTime, setExpirationTime, setHits, setLastAccessTime, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
TIME_UNIT
public static final java.util.concurrent.TimeUnit TIME_UNIT
OnHeapValueHolder
protected OnHeapValueHolder(long id,
long creationTime)
OnHeapValueHolder
protected OnHeapValueHolder(long id,
long creationTime,
long expirationTime)
nativeTimeUnit
protected final java.util.concurrent.TimeUnit nativeTimeUnit()
- Specified by:
nativeTimeUnit
in class AbstractValueHolder<V>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class AbstractValueHolder<V>