package store
- Alphabetic
- Public
- Protected
Type Members
- final case class ChangeWouldResultInGap(from: SequencerCounter, to: SequencerCounter) extends SequencedEventStoreError with Product with Serializable
- final case class CursorPrehead[Discr](counter: Counter[Discr], timestamp: CantonTimestamp) extends PrettyPrinting with Product with Serializable
Information for the prehead of a cursor.
Information for the prehead of a cursor. The prehead of a cursor is the counter before the cursors' head, if any.
- counter
The counter corresponding to the prehead
- timestamp
The timestamp corresponding to the prehead
- trait CursorPreheadStore[Discr] extends AutoCloseable
Storage for a cursor prehead.
- final case class IndexedDomain extends Impl[DomainId] with Product with Serializable
- final case class IndexedMember extends Impl[Member] with Product with Serializable
- trait IndexedString[E] extends AnyRef
- class IndexedStringCache extends IndexedStringStore with NamedLogging
- abstract class IndexedStringFromDb[A <: IndexedString[B], B] extends AnyRef
- trait IndexedStringStore extends AutoCloseable
uid index such that we can store integers instead of long strings in our database
- final case class IndexedStringType extends Product with Serializable
- trait PrunableByTime extends AnyRef
Interface for a store that allows pruning and keeps track of when pruning has started and finished.
- final case class PrunableByTimeParameters(targetBatchSize: PositiveInt, initialInterval: NonNegativeFiniteDuration, maxBuckets: PositiveInt, controlFactors: Seq[ControlFactors] = PrunableByTimeParameters.DefaultControlFactors) extends Product with Serializable
Various parameter to control prunable by time batching (used for journal pruning)
Various parameter to control prunable by time batching (used for journal pruning)
- targetBatchSize
Defines the ideal pruning batch size. If the batches are larger than the target pruning size, the number of buckets is doubled. If they are substantially smaller than the target pruning size, the number of buckets is reduced by 10%.
- initialInterval
The start interval for the prune batching
- maxBuckets
maximum number of buckets to split a batch into (limit the iterations when nodes are inactive for quite a while)
- controlFactors
The adjustment parameters for the prune batch size computation (threshold, factor)
- trait PruningSchedulerStore extends AutoCloseable
Stores for the pruning scheduler parameters such as the cron schedule and pruning retention period
- sealed trait SavePendingSendError extends AnyRef
- final case class SendTrackerDatabaseError(exception: Throwable) extends Product with Serializable
- trait SendTrackerStore extends AutoCloseable
Keeps track of com.digitalasset.canton.sequencing.protocol.SubmissionRequests that have been sent to the sequencer but not yet witnessed.
- final case class SequencedEventNotFoundError(criterion: SearchCriterion) extends SequencedEventStoreError with Product with Serializable
- final case class SequencedEventRangeOverlapsWithPruning(criterion: RangeCriterion, pruningStatus: PruningStatus, foundEvents: Seq[PossiblyIgnoredSerializedEvent]) extends SequencedEventStoreError with PrettyPrinting with Product with Serializable
- trait SequencedEventStore extends PrunableByTime with NamedLogging with AutoCloseable
Persistent store for com.digitalasset.canton.sequencing.protocol.SequencedEvents received from the sequencer.
Persistent store for com.digitalasset.canton.sequencing.protocol.SequencedEvents received from the sequencer. The store may assume that sequencer counters strictly increase with timestamps without checking this precondition.
- sealed trait SequencedEventStoreError extends Product with Serializable
- trait SequencerCounterTrackerStore extends FlagCloseable
Store for keeping track of the prehead for clean sequencer counters.
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.
- sealed trait SessionKeyStore extends AnyRef
- final class SessionKeyStoreWithInMemoryCache extends SessionKeyStore
Value Members
- object CursorPrehead extends Serializable
- object IndexedDomain extends IndexedStringFromDb[IndexedDomain, DomainId] with Serializable
- object IndexedMember extends IndexedStringFromDb[IndexedMember, Member] with Serializable
- object IndexedString
- object IndexedStringStore
- object IndexedStringType extends Serializable
- object PrunableByTimeParameters extends Serializable
- object PruningSchedulerStore
- object SavePendingSendError
- object SendTrackerStore
- object SequencedEventStore
- object SequencerCounterTrackerStore
- object SessionKeyStore
- object SessionKeyStoreDisabled extends SessionKeyStore