org.eso.ias.utils.pcache.impl
Members list
Type members
Classlikes
A non volatile cache of objects persisted with H2 (https://www.h2database.com/html/main).
A non volatile cache of objects persisted with H2 (https://www.h2database.com/html/main).
The URl allows to create the DB in,memory, on a file on disk, or to connect to a remote DB: see H2 URL for a detailed discussion.
Objects of this class cannot be instantiated directly but must be instantiate with one of the case classes provided in the companion object.
This class is not thread safe.
Value parameters
- dbUrl
-
The URL of the DB (see H2 for the format)
- password
-
The password for the login
- userName
-
The user name to log into the RDMS
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class H2FileCacheclass H2SharedFileCache
The in memory cache that delegates to HashMap
The in memory cache that delegates to HashMap
This class is not thread safe.
Value parameters
- maxMemSize
-
The max size of memory (MBytes) that can be used by the object in memory
- maxSize
-
The max number of items to keep in memory
Attributes
- Supertypes