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.
|
N |
|
database |
This is appended to the url. |
N |
|
driverClassName |
The class name of the driver to talk to your
database.
|
N |
|
userName |
The database user name. |
N |
|
password |
The database user password. |
N |
|
jndiPath |
The JNDI lookup path in the form java:comp/env/jdbc/MyDB .
This entry is preferred over the set of url , driverClassName ,
userName and password .
|
N |
|
jndiTTL |
The time between two JNDI lookups in ms. |
N |
0 |
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 |
ShrinkerInterval |
How often should the disk shrinker run (in seconds). |
N |
300 |