Packages

package store

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package db
  2. package memory

Type Members

  1. final case class ChangeWouldResultInGap(from: SequencerCounter, to: SequencerCounter) extends SequencedEventStoreError with Product with Serializable
  2. 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

  3. trait CursorPreheadStore[Discr] extends AutoCloseable

    Storage for a cursor prehead.

  4. final case class IndexedDomain extends Impl[DomainId] with Product with Serializable
  5. final case class IndexedMember extends Impl[Member] with Product with Serializable
  6. trait IndexedString[E] extends AnyRef
  7. class IndexedStringCache extends IndexedStringStore with NamedLogging
  8. abstract class IndexedStringFromDb[A <: IndexedString[B], B] extends AnyRef
  9. trait IndexedStringStore extends AutoCloseable

    uid index such that we can store integers instead of long strings in our database

  10. final case class IndexedStringType extends Product with Serializable
  11. trait PrunableByTime extends AnyRef

    Interface for a store that allows pruning and keeps track of when pruning has started and finished.

  12. 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)

  13. trait PruningSchedulerStore extends AutoCloseable

    Stores for the pruning scheduler parameters such as the cron schedule and pruning retention period

  14. sealed trait SavePendingSendError extends AnyRef
  15. final case class SendTrackerDatabaseError(exception: Throwable) extends Product with Serializable
  16. trait SendTrackerStore extends AutoCloseable

    Keeps track of com.digitalasset.canton.sequencing.protocol.SubmissionRequests that have been sent to the sequencer but not yet witnessed.

  17. final case class SequencedEventNotFoundError(criterion: SearchCriterion) extends SequencedEventStoreError with Product with Serializable
  18. final case class SequencedEventRangeOverlapsWithPruning(criterion: RangeCriterion, pruningStatus: PruningStatus, foundEvents: Seq[PossiblyIgnoredSerializedEvent]) extends SequencedEventStoreError with PrettyPrinting with Product with Serializable
  19. 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.

  20. sealed trait SequencedEventStoreError extends Product with Serializable
  21. 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.

  22. sealed trait SessionKeyStore extends AnyRef
  23. final class SessionKeyStoreWithInMemoryCache extends SessionKeyStore

Ungrouped