Package org.wso2.carbon.caching.impl
Class CacheEntry<K,V>
java.lang.Object
org.wso2.carbon.caching.impl.CacheEntry<K,V>
- All Implemented Interfaces:
Serializable,Cache.Entry<K,V>
TODO: class description
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()Returns the key corresponding to this entry.longlonggetValue()Returns the value stored in the cache when this entry was created.inthashCode()voidsetLastAccessed(Long lastAccessed) void
-
Constructor Details
-
CacheEntry
-
-
Method Details
-
getKey
Description copied from interface:Cache.EntryReturns the key corresponding to this entry.- Specified by:
getKeyin interfaceCache.Entry<K,V> - Returns:
- the key corresponding to this entry
-
setValue
-
getValue
Description copied from interface:Cache.EntryReturns the value stored in the cache when this entry was created.- Specified by:
getValuein interfaceCache.Entry<K,V> - Returns:
- the value corresponding to this entry
-
getLastAccessed
public long getLastAccessed() -
getLastModified
public long getLastModified() -
setLastAccessed
-
equals
-
hashCode
public int hashCode()
-