Package

core3.database.dals

memory

Permalink

package memory

Visibility
  1. Public
  2. All

Type Members

  1. class DistributedCache extends DatabaseAbstractionLayerComponent

    Permalink

    A Database Abstraction Layer for wrapping another layer with a clustering-capable cache.

    A Database Abstraction Layer for wrapping another layer with a clustering-capable cache.

    Notes:

    • A single node cluster can be created by assigning the same local and cluster ports.
    • The first node to start up in a multi-node cluster must be configured to bind to itself (in the same way as a single-node cluster configuration).
    • The initial message synchronization between cluster nodes is configured based on the specified syncInterval plus a random number (0-5) of seconds, to try to avoid multiple synchronizations happening at the same time.
    • If preload is set to true, the actual preload will be started after a delay, based on actionTimeout.
    • The Akka config option 'akka.remote.netty.tcp.port' is always overridden by the parameter localPort.
    • The Akka config option 'akka.actor.provider' is always overridden by the parameter actorProvider.
    • TLS support for cluster communication is enabled via Netty config. Actual settings can be found in Akka's Remoting docs (http://doc.akka.io/docs/akka/current/scala/remoting.html).
  2. class MemoryOnlyDB extends DatabaseAbstractionLayerComponent

    Permalink

    A Database Abstraction Layer that directly implements a simple in-memory database.

    A Database Abstraction Layer that directly implements a simple in-memory database.

    Warning: The database offers NO persistence and all data is lost as soon the instance is destroyed.

Value Members

  1. object DistributedCache extends ComponentCompanion

    Permalink
  2. object MemoryOnlyDB extends ComponentCompanion

    Permalink
  3. package utils

    Permalink

Ungrouped