|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
StoreJanitorImpl
to
overwrite the start method for background thread creation using the Cocoon
RunnableManager
.directory
Specify an alternative location of the disk store.
diskExpiryThreadIntervalSeconds
(120) - The number of seconds
between runs of the disk expiry thread.
disk-persistent
Whether the disk store persists between restarts of
the Virtual Machine.
eternal
(true) - whether or not entries expire.
maxDiskObjects
(50000) - The maximum number of disc objects.
maxMemobjects
(10000) - The maximum number of in-memory objects.
memoryStoreEvictionPolicy
(null) - Tone of LRU, LFU and FIFO.
overflow-to-disk
(true) - Whether to spool elements to disk after
maxobjects has been exceeded.
RunnableManager
StoreJanitor
to take care of freeing memory.
timeToIdleSeconds
(0) - the maximum time between retrievals
of an entry.
timeToLiveSeconds
(0) - how long an entry may live in the cache
before it is removed.
use-cache-directory
(false) - If true the cache-directory
context entry will be used as the location of the disk store.
use-work-directory
(false) - If true the work-directory
context entry will be used as the location of the disk store.
RunnableManager
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |