public class ImmortalCacheValue extends Object implements InternalCacheValue, Cloneable
ImmortalCacheEntry| Modifier and Type | Class and Description | 
|---|---|
| static class  | ImmortalCacheValue.Externalizer | 
| Constructor and Description | 
|---|
| ImmortalCacheValue(Object value) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | canExpire() | 
| ImmortalCacheValue | clone() | 
| boolean | equals(Object o) | 
| long | getCreated() | 
| long | getLastUsed() | 
| long | getLifespan() | 
| long | getMaxIdle() | 
| Object | getValue() | 
| int | hashCode() | 
| boolean | isExpired() | 
| boolean | isExpired(long now) | 
| Object | setValue(Object value) | 
| InternalCacheEntry | toInternalCacheEntry(Object key) | 
| String | toString() | 
public Object value
public ImmortalCacheValue(Object value)
public InternalCacheEntry toInternalCacheEntry(Object key)
toInternalCacheEntry in interface InternalCacheValuepublic Object getValue()
getValue in interface InternalCacheValuepublic boolean isExpired(long now)
isExpired in interface InternalCacheValuenow - the current time as expressed by System.currentTimeMillis()public boolean isExpired()
isExpired in interface InternalCacheValuepublic boolean canExpire()
canExpire in interface InternalCacheValuepublic long getCreated()
getCreated in interface InternalCacheValuepublic long getLastUsed()
getLastUsed in interface InternalCacheValuepublic long getLifespan()
getLifespan in interface InternalCacheValuepublic long getMaxIdle()
getMaxIdle in interface InternalCacheValuepublic ImmortalCacheValue clone()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.