Property |
Description |
Required |
Default Value |
MaxPurgatorySize |
The maximum number of items allowed in the
queue of items to be written to disk.
|
N |
5000 |
url |
The database url. The database name will be
added to this value to create the full
database url.
|
Y |
|
database |
This is appended to the url. |
Y |
|
driverClassName |
The class name of the driver to talk to your
database.
|
Y |
|
tableName |
The name of the table. |
N |
JCS_STORE |
testBeforeInsert |
Should the disk cache do a select before
trying to insert new element on update, or
should it try to insert and handle the
error.
|
N |
true |
maxActive |
This sets the maximum number of connections
allowed.
|
Y |
|
allowRemoveAll |
Should the disk cache honor remove all (i.e.
clear) requests. You might set this to false
to prevent someone from accidentally
clearing out an entire database.
|
N |
true |
UseDiskShrinker |
Should the disk cache try to delete expired
items from the database.
|
N |
true |
ShrinkerIntervalSeconds |
How often should the disk shrinker run. |
N |
300 |