public interface ICacheElement<K,V> extends Serializable
The element attributes have lots of useful information about each element, such as when they were created, how long they have to live, and if they are allowed to be spooled, etc.
Modifier and Type | Method and Description |
---|---|
String |
getCacheName()
Gets the cacheName attribute of the ICacheElement<K, V> object.
|
IElementAttributes |
getElementAttributes()
Gets the attributes attribute of the ICacheElement<K, V> object
|
K |
getKey()
Gets the key attribute of the ICacheElement<K, V> object
|
V |
getVal()
Gets the val attribute of the ICacheElement<K, V> object
|
void |
setElementAttributes(IElementAttributes attr)
Sets the attributes attribute of the ICacheElement<K, V> object
|
String getCacheName()
IElementAttributes getElementAttributes()
void setElementAttributes(IElementAttributes attr)
attr
- The new attributes valueCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.