public class PurgatoryElement<K,V> extends CacheElement<K,V>
| Constructor and Description |
|---|
PurgatoryElement(ICacheElement<K,V> cacheElement)
Constructor for the PurgatoryElement<K, V> object
|
| Modifier and Type | Method and Description |
|---|---|
ICacheElement<K,V> |
getCacheElement()
Get the wrapped cache element.
|
String |
getCacheName()
Gets the cacheName attribute of the CacheElement object
|
IElementAttributes |
getElementAttributes()
Gets the IElementAttributes attribute of the CacheElement object
|
K |
getKey()
Gets the key attribute of the CacheElement object
|
V |
getVal()
Gets the val attribute of the CacheElement object
|
boolean |
isSpoolable()
Gets the spoolable property.
|
void |
setElementAttributes(IElementAttributes attr)
Sets the attributes attribute of the CacheElement object
|
void |
setSpoolable(boolean spoolable)
Sets the spoolable property.
|
String |
toString()
For debugging only.
|
equals, hashCodepublic PurgatoryElement(ICacheElement<K,V> cacheElement)
cacheElement - CacheElementpublic boolean isSpoolable()
public void setSpoolable(boolean spoolable)
spoolable - The new spoolable valuepublic ICacheElement<K,V> getCacheElement()
public String getCacheName()
CacheElementgetCacheName in interface ICacheElement<K,V>getCacheName in class CacheElement<K,V>ICacheElement.getCacheName()public K getKey()
CacheElementgetKey in interface ICacheElement<K,V>getKey in class CacheElement<K,V>ICacheElement.getKey()public V getVal()
CacheElementgetVal in interface ICacheElement<K,V>getVal in class CacheElement<K,V>ICacheElement.getVal()public IElementAttributes getElementAttributes()
CacheElementgetElementAttributes in interface ICacheElement<K,V>getElementAttributes in class CacheElement<K,V>ICacheElement.getElementAttributes()public void setElementAttributes(IElementAttributes attr)
CacheElementsetElementAttributes in interface ICacheElement<K,V>setElementAttributes in class CacheElement<K,V>attr - ICacheElement.setElementAttributes(org.apache.commons.jcs3.engine.behavior.IElementAttributes)public String toString()
CacheElementtoString in class CacheElement<K,V>Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.