Packages

trait GenContext[T <: Txn[T]] extends Disposable[T]

Context for rendering generated objects.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GenContext
  2. Disposable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def acquire[A <: Disposable[T]](obj: Obj[T])(init: => A)(implicit tx: T): A

    Acquires a resource associated with an object.

    Acquires a resource associated with an object. The resource is stored under the key obj.id, and an internal use count is maintained, calling dispose on the resource if the count goes back to zero.

    A

    the type of resource which must be a Disposable

    obj

    the object used as a look-up key

    init

    the function that produces the resource if it was not yet in the cache

    returns

    the resource, either already found in the cache or newly produced

  2. implicit abstract def cursor: Cursor[T]
  3. abstract def dispose()(implicit tx: T): Unit
    Definition Classes
    Disposable
  4. abstract def get[A](obj: Obj[T])(implicit tx: T): Option[A]

    Attempts to find a resource associated with an object.

    Attempts to find a resource associated with an object.

    A

    the type of resource

    obj

    the object used as a look-up key

    returns

    the resource, if it was found in the cache, or None

  5. abstract def release(obj: Obj[T])(implicit tx: T): Unit

    Releases a resource associated with an object.

    Releases a resource associated with an object. This decreases the use count of the resource, and calls dispose on it if the count goes back to zero.

    obj

    the object used as a look-up key

  6. implicit abstract def workspace: lucre.Workspace[T]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Disposable[T]

Inherited from AnyRef

Inherited from Any

Ungrouped