trait SequencerCounterTrackerStore extends AutoCloseable
Store for keeping track of the prehead for clean sequencer counters. A com.digitalasset.canton.SequencerCounter becomes clean when the corresponding com.digitalasset.canton.sequencing.protocol.SequencedEvent has been processed completely and successfully. The prehead of the cursor is advanced only so far that all sequencer counters up to the prehead are clean.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- SequencerCounterTrackerStore
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def close(): Unit
- Definition Classes
- AutoCloseable
- Annotations
- @throws(classOf[java.lang.Exception])
- abstract val cursorStore: CursorPreheadStore[SequencerCounter]
- Attributes
- protected[store]
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 advancePreheadSequencerCounterTo(sequencerCounter: CursorPrehead[SequencerCounter])(implicit traceContext: TraceContext): Future[Unit]
Sets the prehead clean sequencer counter to
sequencerCounter
unless it has previously been set to a higher value. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def preheadSequencerCounter(implicit traceContext: TraceContext): Future[Option[CursorPrehead[SequencerCounter]]]
Gets the prehead clean sequencer counter.
Gets the prehead clean sequencer counter. All sequencer counters below are assumed to be clean.
- def rewindPreheadSequencerCounter(newPreheadO: Option[CursorPrehead[SequencerCounter]])(implicit traceContext: TraceContext): Future[Unit]
Rewinds the prehead clean sequencer counter to
newPrehead
unless the prehead is already at or before the newpreHead
. - 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])