org.eso.ias.utils.pcache.impl

Members list

Type members

Classlikes

sealed abstract class H2NVCache(val dbUrl: String, val userName: String, val password: String) extends NonVolatileCache

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
class Object
trait Matchable
class Any
Known subtypes
object H2NVCache

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
H2NVCache.type
class InMemoryCacheImpl(val maxSize: Integer, maxMemSize: Integer) extends InMemoryCache

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
class Object
trait Matchable
class Any