|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
org.apache.jcs.auxiliary.disk.AbstractDiskCacheAttributes
This has common attributes that any conceivable disk cache would need.
| Field Summary | |
protected java.lang.String |
diskPath
path to disk |
protected int |
maxPurgatorySize
default to 5000 |
protected int |
shutdownSpoolTimeLimit
This default determines how long the shutdown will wait for the key spool and data defrag to finish. |
| Fields inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes |
cacheName, eventQueuePoolName, eventQueueType, name |
| Fields inherited from interface org.apache.jcs.auxiliary.disk.behavior.IDiskCacheAttributes |
MAX_PURGATORY_SIZE_DEFUALT |
| Fields inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes |
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE |
| Constructor Summary | |
AbstractDiskCacheAttributes()
|
|
| Method Summary | |
AuxiliaryCacheAttributes |
copy()
Description of the Method |
java.lang.String |
getDiskPath()
Gets the diskPath attribute of the IJISPCacheAttributes object |
int |
getMaxPurgatorySize()
Gets the maxKeySize attribute of the DiskCacheAttributes object |
int |
getShutdownSpoolTimeLimit()
Get the amount of time in seconds we will wait for elements to move to disk during shutdown for a particular region. |
void |
setDiskPath(java.lang.String path)
Sets the diskPath attribute of the IJISPCacheAttributes object |
void |
setMaxPurgatorySize(int maxPurgatorySize)
Sets the maxPurgatorySize attribute of the DiskCacheAttributes object |
void |
setShutdownSpoolTimeLimit(int shutdownSpoolTimeLimit)
Sets the amount of time in seconds we will wait for elements to move to disk during shutdown for a particular region. |
java.lang.String |
toString()
Description of the Method |
| Methods inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes |
getCacheName, getEventQueuePoolName, getEventQueueType, getEventQueueTypeFactoryCode, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes |
getCacheName, getEventQueuePoolName, getEventQueueType, getEventQueueTypeFactoryCode, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName |
| Field Detail |
protected java.lang.String diskPath
protected int maxPurgatorySize
protected int shutdownSpoolTimeLimit
| Constructor Detail |
public AbstractDiskCacheAttributes()
| Method Detail |
public void setDiskPath(java.lang.String path)
IDiskCacheAttributes
setDiskPath in interface IDiskCacheAttributespath - The new diskPath valuepublic java.lang.String getDiskPath()
IDiskCacheAttributes
getDiskPath in interface IDiskCacheAttributespublic int getMaxPurgatorySize()
IDiskCacheAttributes
getMaxPurgatorySize in interface IDiskCacheAttributespublic void setMaxPurgatorySize(int maxPurgatorySize)
IDiskCacheAttributes
setMaxPurgatorySize in interface IDiskCacheAttributesmaxPurgatorySize - The new maxPurgatorySize valuepublic int getShutdownSpoolTimeLimit()
IDiskCacheAttributes
getShutdownSpoolTimeLimit in interface IDiskCacheAttributespublic void setShutdownSpoolTimeLimit(int shutdownSpoolTimeLimit)
IDiskCacheAttributesThis is how long we give the event queue to empty.
The default is 60 seconds.
setShutdownSpoolTimeLimit in interface IDiskCacheAttributesshutdownSpoolTimeLimit - the time in secondspublic AuxiliaryCacheAttributes copy()
copy in interface AuxiliaryCacheAttributespublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||