InMemoryLike

trait InMemoryLike[T <: Txn[T]] extends InMemoryLike[T] with Sys
Companion
object
trait Sys
trait InMemoryLike[T]
trait Cursor[T]
trait Sys
trait Base
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
trait InMemory

Value members

Inherited methods

def close(): Unit

Closes the underlying database (if the system is durable). The STM cannot be used beyond this call. An in-memory system should have a no-op implementation.

Closes the underlying database (if the system is durable). The STM cannot be used beyond this call. An in-memory system should have a no-op implementation.

Inherited from
Base
def root[A](init: T => A)(implicit format: TFormat[T, A]): Source[T, A]

Reads the root object representing the stored data structure, or provides a newly initialized one via the init argument, if no root has been stored yet.

Reads the root object representing the stored data structure, or provides a newly initialized one via the init argument, if no root has been stored yet.

Inherited from
Sys
def step[A](fun: T => A): A

Issues a new transaction (executor), runs the function argument on it, and returns the result.

Issues a new transaction (executor), runs the function argument on it, and returns the result.

Inherited from
Cursor
def stepTag[A](systemTimeNanos: Long)(fun: T => A): A

Issues a new transaction (executor), tagged with the given time referring to "now", runs the function argument on it, and returns the result.

Issues a new transaction (executor), tagged with the given time referring to "now", runs the function argument on it, and returns the result.

The tagging can be used for latency based circumstances, such as scheduling OSC bundles on a sound server.

Value Params
systemTimeNanos

Time in nano-seconds since midnight, January 1, 1970 UTC. E.g. System.currentTimeMillis() * 1000000000L (possibly adding nano-seconds fraction).

Inherited from
Cursor
def wrap(peer: InTxn, systemTimeNanos: Long): T
Inherited from
InMemoryLike