public class CacheEntry<K,V> extends Object implements Cache.Entry<K,V>, Serializable
Constructor and Description |
---|
CacheEntry(K key,
V value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
K |
getKey()
Returns the key corresponding to this entry.
|
long |
getLastAccessed() |
long |
getLastModified() |
V |
getValue()
Returns the value stored in the cache when this entry was created.
|
int |
hashCode() |
void |
setLastAccessed(Long lastAccessed) |
void |
setValue(V value) |
public K getKey()
Cache.Entry
getKey
in interface Cache.Entry<K,V>
public void setValue(V value)
public V getValue()
Cache.Entry
getValue
in interface Cache.Entry<K,V>
public long getLastAccessed()
public long getLastModified()
public void setLastAccessed(Long lastAccessed)
Copyright © 2015 WSO2 Inc. All rights reserved.