|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICacheElement<K extends Serializable,V extends Serializable>
Every item is the cache is wrapped in an ICacheElement. This contains information about the element: the region name, the key, the value, and the element attributes.
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.
| Method Summary | |
|---|---|
String |
getCacheName()
Gets the cacheName attribute of the ICacheElement |
IElementAttributes |
getElementAttributes()
Gets the attributes attribute of the ICacheElement |
K |
getKey()
Gets the key attribute of the ICacheElement |
V |
getVal()
Gets the val attribute of the ICacheElement |
void |
setElementAttributes(IElementAttributes attr)
Sets the attributes attribute of the ICacheElement |
| Method Detail |
|---|
String getCacheName()
K getKey()
V getVal()
IElementAttributes getElementAttributes()
void setElementAttributes(IElementAttributes attr)
attr - The new attributes value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||