Workspace

trait Workspace[T <: Txn[T]] extends Workspace[T]
Companion
object
trait Workspace[T]
trait Disposable[T]
class Object
trait Matchable
class Any

Type members

Inherited types

type S <: Sys
Inherited from
Workspace
type Tx = T
Inherited from
Workspace

Value members

Abstract methods

Inherited methods

def addDependent(dep: Disposable[T])(implicit tx: TxnLike): Unit

Adds a dependent which is disposed just before the workspace is disposed.

Adds a dependent which is disposed just before the workspace is disposed.

Value Params
dep

the dependent. This must be an ephemeral object.

Inherited from
Workspace
def cast[T1 <: Txn[LazyRef(...)]]: Workspace[T1]

Since we obtain Workspace[_] from read methods, this is lesser evil, since we cannot make totally "wrong" casts here.

Since we obtain Workspace[_] from read methods, this is lesser evil, since we cannot make totally "wrong" casts here.

Inherited from
Workspace
def close(): Unit

Issues a transaction that closes and disposes the workspace.

Issues a transaction that closes and disposes the workspace.

Inherited from
Workspace
def cursor: Cursor[T]
Inherited from
Workspace
def dependents(implicit tx: TxnLike): Iterable[Disposable[T]]
Inherited from
Workspace
def dispose()(implicit tx: T): Unit
Inherited from
Disposable
def folder: Option[URI]
Inherited from
Workspace
def name: String
Inherited from
Workspace
def removeDependent(dep: Disposable[T])(implicit tx: TxnLike): Unit
Inherited from
Workspace
def root(implicit tx: T): Folder[T]
Inherited from
Workspace

Implicits

Inherited implicits

implicit
def system: S
Inherited from
Workspace