Interface ICacheElement<K,V> 
- All Superinterfaces:
- Serializable
- All Known Subinterfaces:
- ICacheElementSerialized<K,- V> 
- All Known Implementing Classes:
- CacheElement,- CacheElementSerialized,- PurgatoryElement
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 SummaryModifier and TypeMethodDescriptionGets the cacheName attribute of the ICacheElement<K, V> object.Gets the attributes attribute of the ICacheElement<K, V> objectgetKey()Gets the key attribute of the ICacheElement<K, V> objectgetVal()Gets the val attribute of the ICacheElement<K, V> objectvoidSets the attributes attribute of the ICacheElement<K, V> object
- 
Method Details- 
getCacheNameGets the cacheName attribute of the ICacheElement<K, V> object. The cacheName is also known as the region name.- Returns:
- The cacheName value
 
- 
getKeyGets the key attribute of the ICacheElement<K, V> object- Returns:
- The key value
 
- 
getValGets the val attribute of the ICacheElement<K, V> object- Returns:
- The val value
 
- 
getElementAttributesGets the attributes attribute of the ICacheElement<K, V> object- Returns:
- The attributes value
 
- 
setElementAttributesSets the attributes attribute of the ICacheElement<K, V> object- Parameters:
- attr- The new attributes value
 
 
-