public class VersionedTransientCacheValue extends TransientCacheValue implements Versioned
TransientCacheValue
that is Versioned
Modifier and Type | Class and Description |
---|---|
static class |
VersionedTransientCacheValue.Externalizer |
lastUsed, maxIdle
value
Constructor and Description |
---|
VersionedTransientCacheValue(Object value,
EntryVersion version,
long maxIdle,
long lastUsed) |
Modifier and Type | Method and Description |
---|---|
EntryVersion |
getVersion() |
void |
setVersion(EntryVersion version)
Sets the version on this entry.
|
InternalCacheEntry |
toInternalCacheEntry(Object key) |
canExpire, clone, equals, getLastUsed, getMaxIdle, hashCode, isExpired, isExpired, setLastUsed, setMaxIdle, toString
getCreated, getLifespan, getValue, setValue
public VersionedTransientCacheValue(Object value, EntryVersion version, long maxIdle, long lastUsed)
public InternalCacheEntry toInternalCacheEntry(Object key)
toInternalCacheEntry
in interface InternalCacheValue
toInternalCacheEntry
in class TransientCacheValue
public EntryVersion getVersion()
getVersion
in interface Versioned
public void setVersion(EntryVersion version)
Versioned
setVersion
in interface Versioned
version
- version to setCopyright © 2012 JBoss by Red Hat. All Rights Reserved.