public interface InternalCacheValue<V>
Modifier and Type | Method and Description |
---|---|
boolean |
canExpire() |
long |
getCreated() |
long |
getExpiryTime() |
long |
getLastUsed() |
long |
getLifespan() |
long |
getMaxIdle() |
Metadata |
getMetadata() |
V |
getValue() |
boolean |
isExpired()
Deprecated.
use
isExpired(long) |
boolean |
isExpired(long now) |
<K> InternalCacheEntry<K,V> |
toInternalCacheEntry(K key) |
V getValue()
<K> InternalCacheEntry<K,V> toInternalCacheEntry(K key)
boolean isExpired(long now)
now
- the current time as expressed by System.currentTimeMillis()
@Deprecated boolean isExpired()
isExpired(long)
boolean canExpire()
long getCreated()
long getLastUsed()
long getLifespan()
long getMaxIdle()
long getExpiryTime()
Metadata getMetadata()
Copyright © 2023 JBoss, a division of Red Hat. All rights reserved.