public class H2Cache extends SqlCache
Constructor and Description |
---|
H2Cache(String path)
Construction with a max entry count of 1000 entries and 10 connections in
the pool, and an
InProcessMemoryLockSource . |
H2Cache(String path,
int maxSize,
int poolSize,
LockSource lockSource)
Constructor.
|
H2Cache(String path,
LockSource lockSource)
Construction with a max entry count of 1000 entries and 10 connections in
the pool.
|
down, fetch, getDataSource, getMaxSize, invalidate, prune, reset, setMaxSize, store, up, validateTables
public H2Cache(String path)
InProcessMemoryLockSource
.path
- The H2 database pathpublic H2Cache(String path, LockSource lockSource)
path
- The H2 database pathlockSource
- The lock sourcepublic H2Cache(String path, int maxSize, int poolSize, LockSource lockSource)
path
- The H2 database pathmaxSize
- The max entry countpoolSize
- The number of connections in the poollockSource
- The lock sourceCopyright © 2009-2016 Three Crickets LLC.