de.sciss.lucre

Type members

Classlikes

trait AnyExec extends Exec[AnyExec]
trait Base extends Closeable

The Base trait is a pre-stage to stm.Sys, without introducing peer STM transactions. It can thus be used to build purely imperative non-transactional systems.

The Base trait is a pre-stage to stm.Sys, without introducing peer STM transactions. It can thus be used to build purely imperative non-transactional systems.

object Cursor
Companion
class
trait Cursor[T <: Exec[T]]
Companion
object
object Disposable
Companion
class
trait Disposable[-T]
Companion
object
trait Exec[T <: Exec[T]]
trait Form[T]

Any form parametrized in a Base system. This trait allows us to pattern match against heterogeneous objects whose only common feature is that they share the system.

Any form parametrized in a Base system. This trait allows us to pattern match against heterogeneous objects whose only common feature is that they share the system.

object Ident
Companion
class
trait Ident[T <: Exec[T]] extends Disposable[T] with Writable
Companion
object
trait IdentMap[T <: Exec[T], A] extends Disposable[T]

An identifier map is basically a transactional map whose keys are system identifiers. However, there are two important aspects: First, the map is always ephemeral (but might be still durable!), even for a confluently persistent system. Second, for systems whose identifiers constitute temporal traces (confluently persistent system), lookup (via get, contains etc.) finds any value stored for the current version or any older version. That is to say, in a confluently persistent system, it looks up the most recent entry for the key. It is therefore a useful tool to map system entities to ephemeral live views.

An identifier map is basically a transactional map whose keys are system identifiers. However, there are two important aspects: First, the map is always ephemeral (but might be still durable!), even for a confluently persistent system. Second, for systems whose identifiers constitute temporal traces (confluently persistent system), lookup (via get, contains etc.) finds any value stored for the current version or any older version. That is to say, in a confluently persistent system, it looks up the most recent entry for the key. It is therefore a useful tool to map system entities to ephemeral live views.

Type Params
A

the values stored at the keys. Unit can be used if only set functionality is needed.

T

the underlying system's transaction type

trait Identified[T <: Exec[T]]
trait Mutable[T <: Exec[T]] extends Identified[T] with Writable with Disposable[T]
object Plain
Companion
class
trait Plain extends Base with Cursor[Plain] with Exec[Plain]
Companion
object
object Random

Like java's random, but within a transactional cell.

Like java's random, but within a transactional cell.

Companion
class
trait Random[-T]

A transactional pseudo-random number generator which behaves numerically like java.util.Random.

A transactional pseudo-random number generator which behaves numerically like java.util.Random.

Companion
object
trait Ref[-T, A] extends Source[T, A] with Sink[T, A]
trait RefMap[T <: Exec[T], K, V]
trait RefSet[T <: Exec[T], A]
trait Sink[-T, -A]
trait Source[-T, +A]
trait Var[-T, A] extends Ref[T, A] with Writable with Disposable[T]