package store
- Alphabetic
- Public
- Protected
Type Members
- final case class ChangeWouldResultInGap(from: SequencerCounter, to: SequencerCounter) extends SequencedEventStoreError with Product with Serializable
- sealed trait ConfirmationRequestSessionKeyStore extends AnyRef
These session key stores are to be used during the processing of a confirmation request.
These session key stores are to be used during the processing of a confirmation request. They could either be used for a single transaction (i.e. SessionKeyStoreWithNoEviction) or for all transactions (i.e. SessionKeyStoreWithInMemoryCache). The latter, requires a size limit and an eviction policy to be specified.
- 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.
- 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
- final case class IndexedSynchronizer extends Impl[SynchronizerId] with 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
- trait Purgeable extends AnyRef
- sealed trait SavePendingSendError extends AnyRef
- 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 FlagCloseable with HasCloseContext
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 with ConfirmationRequestSessionKeyStore
- final class SessionKeyStoreWithNoEviction extends ConfirmationRequestSessionKeyStore
This cache stores session key information for each recipient tree, which is later used to encrypt view messages.
This cache stores session key information for each recipient tree, which is later used to encrypt view messages. However, in this implementation, the session keys have neither a size limit nor an eviction time. Therefore, this cache MUST only be used when it is local to each transaction and short-lived.
Value Members
- object CursorPrehead extends Serializable
- object IndexedString
- object IndexedStringStore
- object IndexedStringType extends Serializable
- object IndexedSynchronizer extends IndexedStringFromDb[IndexedSynchronizer, SynchronizerId] with Serializable
- object PrunableByTimeParameters extends Serializable
- object PruningSchedulerStore
- object SavePendingSendError
- object SendTrackerStore
- object SequencedEventStore
- object SequencerCounterTrackerStore
- object SessionKeyStore
- object SessionKeyStoreDisabled extends SessionKeyStore