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.
|
hashCode
public 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()
CacheElement
getCacheName
in interface ICacheElement<K,V>
getCacheName
in class CacheElement<K,V>
ICacheElement.getCacheName()
public K getKey()
CacheElement
getKey
in interface ICacheElement<K,V>
getKey
in class CacheElement<K,V>
ICacheElement.getKey()
public V getVal()
CacheElement
getVal
in interface ICacheElement<K,V>
getVal
in class CacheElement<K,V>
ICacheElement.getVal()
public IElementAttributes getElementAttributes()
CacheElement
getElementAttributes
in interface ICacheElement<K,V>
getElementAttributes
in class CacheElement<K,V>
ICacheElement.getElementAttributes()
public void setElementAttributes(IElementAttributes attr)
CacheElement
setElementAttributes
in interface ICacheElement<K,V>
setElementAttributes
in class CacheElement<K,V>
attr
- ICacheElement.setElementAttributes(org.apache.commons.jcs.engine.behavior.IElementAttributes)
public String toString()
CacheElement
toString
in class CacheElement<K,V>
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.