public class VersionedTransientCacheEntry extends TransientCacheEntry implements Versioned
TransientCacheEntry
that is Versioned
Modifier and Type | Class and Description |
---|---|
static class |
VersionedTransientCacheEntry.Externalizer |
cacheValue
key
Constructor and Description |
---|
VersionedTransientCacheEntry(Object key,
Object value,
EntryVersion version,
long maxIdle) |
VersionedTransientCacheEntry(Object key,
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.
|
canExpire, clone, equals, getCreated, getExpiryTime, getLastUsed, getLifespan, getMaxIdle, getValue, hashCode, isExpired, isExpired, reincarnate, setMaxIdle, setValue, toInternalCacheValue, toString, touch, touch
commit, getKey, isChanged, isCreated, isEvicted, isLockPlaceholder, isNull, isRemoved, isValid, rollback, setCreated, setEvicted, setLifespan, setRemoved, setValid, undelete
public VersionedTransientCacheEntry(Object key, Object value, EntryVersion version, long maxIdle)
public VersionedTransientCacheEntry(Object key, Object value, EntryVersion version, long maxIdle, long lastUsed)
public EntryVersion getVersion()
getVersion
in interface Versioned
getVersion
in class AbstractInternalCacheEntry
public void setVersion(EntryVersion version)
Versioned
setVersion
in interface Versioned
setVersion
in class AbstractInternalCacheEntry
version
- version to setCopyright © 2012 JBoss by Red Hat. All Rights Reserved.