|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDiskCacheAttributes
Common disk cache attributes.
Field Summary | |
---|---|
static int |
MAX_PURGATORY_SIZE_DEFUALT
This is the default purgatory size limit. |
Fields inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes |
---|
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE |
Method Summary | |
---|---|
String |
getDiskPath()
Gets the diskPath attribute of the attributes 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. |
boolean |
isAllowRemoveAll()
If this is true then remove all is not prohibited. |
void |
setAllowRemoveAll(boolean allowRemoveAll)
If this is false, then remove all requests will not be honored. |
void |
setDiskPath(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. |
Methods inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes |
---|
copy, getCacheName, getEventQueuePoolName, getEventQueueType, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName |
Field Detail |
---|
static final int MAX_PURGATORY_SIZE_DEFUALT
Method Detail |
---|
void setDiskPath(String path)
path
- The new diskPath valueString getDiskPath()
int getMaxPurgatorySize()
void setMaxPurgatorySize(int maxPurgatorySize)
maxPurgatorySize
- The new maxPurgatorySize valueint getShutdownSpoolTimeLimit()
void setShutdownSpoolTimeLimit(int shutdownSpoolTimeLimit)
This is how long we give the event queue to empty.
The default is 60 seconds.
shutdownSpoolTimeLimit
- the time in secondsboolean isAllowRemoveAll()
void setAllowRemoveAll(boolean allowRemoveAll)
This provides a safety mechanism for the persistent store.
allowRemoveAll
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |