trait CursorPreheadStore[Discr] extends AutoCloseable
Storage for a cursor prehead.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- CursorPreheadStore
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def advancePreheadToTransactionalStoreUpdate(newPrehead: CursorPrehead[Discr])(implicit traceContext: TraceContext): TransactionalStoreUpdate
advancePreheadTo as a com.digitalasset.canton.resource.TransactionalStoreUpdate
- abstract def close(): Unit
- Definition Classes
- AutoCloseable
- Annotations
- @throws(classOf[java.lang.Exception])
- abstract def prehead(implicit traceContext: TraceContext): Future[Option[CursorPrehead[Discr]]]
Gets the prehead of the cursor.
- abstract def rewindPreheadTo(newPreheadO: Option[CursorPrehead[Discr]])(implicit traceContext: TraceContext): Future[Unit]
Sets the prehead counter to
newPreheadO
if it is currently set to a higher value.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def advancePreheadTo(newPrehead: CursorPrehead[Discr])(implicit traceContext: TraceContext, callerCloseContext: CloseContext): Future[Unit]
Sets the prehead counter to
newPrehead
unless it is already at the same or a higher value.Sets the prehead counter to
newPrehead
unless it is already at the same or a higher value. The prehead counter should be set to the counter before the head of the corresponding cursor. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])