public class MetadataTransientMortalCacheValue extends MetadataMortalCacheValue implements MetadataAware
TransientMortalCacheValue that is Versioned| Modifier and Type | Class and Description |
|---|---|
static class |
MetadataTransientMortalCacheValue.Externalizer |
value| Constructor and Description |
|---|
MetadataTransientMortalCacheValue(Object v,
Metadata metadata,
long created,
long lastUsed) |
| Modifier and Type | Method and Description |
|---|---|
long |
getExpiryTime() |
long |
getLastUsed() |
long |
getMaxIdle() |
boolean |
isExpired() |
boolean |
isExpired(long now) |
InternalCacheEntry |
toInternalCacheEntry(Object key) |
canExpire, getCreated, getLifespan, getMetadata, setMetadataclone, equals, getValue, hashCode, setValue, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetMetadata, setMetadatapublic InternalCacheEntry toInternalCacheEntry(Object key)
toInternalCacheEntry in interface InternalCacheValuetoInternalCacheEntry in class MetadataMortalCacheValuepublic long getMaxIdle()
getMaxIdle in interface InternalCacheValuegetMaxIdle in class ImmortalCacheValuepublic long getLastUsed()
getLastUsed in interface InternalCacheValuegetLastUsed in class ImmortalCacheValuepublic boolean isExpired(long now)
isExpired in interface InternalCacheValueisExpired in class MetadataMortalCacheValuenow - the current time as expressed by System.currentTimeMillis()public boolean isExpired()
isExpired in interface InternalCacheValueisExpired in class MetadataMortalCacheValuepublic long getExpiryTime()
getExpiryTime in interface InternalCacheValuegetExpiryTime in class MetadataMortalCacheValueCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.