public class VersionedTransientCacheValue extends TransientCacheValue implements Versioned
TransientCacheValue that is Versioned| Modifier and Type | Class and Description |
|---|---|
static class |
VersionedTransientCacheValue.Externalizer |
lastUsed, maxIdlevalue| 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, toStringgetCreated, getLifespan, getValue, setValuepublic VersionedTransientCacheValue(Object value, EntryVersion version, long maxIdle, long lastUsed)
public InternalCacheEntry toInternalCacheEntry(Object key)
toInternalCacheEntry in interface InternalCacheValuetoInternalCacheEntry in class TransientCacheValuepublic EntryVersion getVersion()
getVersion in interface Versionedpublic void setVersion(EntryVersion version)
VersionedsetVersion in interface Versionedversion - version to setCopyright © 2012 JBoss by Red Hat. All Rights Reserved.