|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jcs.auxiliary.disk.PurgatoryElement
public class PurgatoryElement
Wrapper for cache elements in purgatory.
Elements are stored in purgatory when they are spooled to the auxilliary cache, but have not yet been written to disk.
| Field Summary | |
|---|---|
protected ICacheElement |
cacheElement
Wrapped cache Element |
protected boolean |
spoolable
Is the element ready to be spooled? |
| Constructor Summary | |
|---|---|
PurgatoryElement(ICacheElement cacheElement)
Constructor for the PurgatoryElement object |
|
| Method Summary | |
|---|---|
ICacheElement |
getCacheElement()
Get the wrapped cache element. |
java.lang.String |
getCacheName()
Gets the cacheName attribute of the ICacheElement object. |
IElementAttributes |
getElementAttributes()
Gets the attributes attribute of the ICacheElement object |
java.io.Serializable |
getKey()
Gets the key attribute of the ICacheElement object |
java.io.Serializable |
getVal()
Gets the val attribute of the ICacheElement object |
boolean |
isSpoolable()
Gets the spoolable property. |
void |
setElementAttributes(IElementAttributes attr)
Sets the attributes attribute of the ICacheElement object |
void |
setSpoolable(boolean spoolable)
Sets the spoolable property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean spoolable
protected ICacheElement cacheElement
| Constructor Detail |
|---|
public PurgatoryElement(ICacheElement cacheElement)
cacheElement - CacheElement to wrap.| Method Detail |
|---|
public boolean isSpoolable()
public void setSpoolable(boolean spoolable)
spoolable - The new spoolable valuepublic ICacheElement getCacheElement()
public java.lang.String getCacheName()
ICacheElement
getCacheName in interface ICacheElementICacheElement.getCacheName()public java.io.Serializable getKey()
ICacheElement
getKey in interface ICacheElementICacheElement.getKey()public java.io.Serializable getVal()
ICacheElement
getVal in interface ICacheElementICacheElement.getVal()public IElementAttributes getElementAttributes()
ICacheElement
getElementAttributes in interface ICacheElementICacheElement.getElementAttributes()public void setElementAttributes(IElementAttributes attr)
ICacheElement
setElementAttributes in interface ICacheElementattr - ICacheElement.setElementAttributes(org.apache.jcs.engine.behavior.IElementAttributes)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||