object AcsCommitmentProcessor extends HasLoggerName

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AcsCommitmentProcessor
  2. HasLoggerName
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class CachedCommitments extends AnyRef

    Caches the commitments per participant and the commitments per stakeholder group in a period, in order to optimize the computation of commitments for the subsequent period.

    Caches the commitments per participant and the commitments per stakeholder group in a period, in order to optimize the computation of commitments for the subsequent period. It optimizes the computation of a counter-participant commitments when at most half of the stakeholder commitments shared with that participant change in the next period.

    The class is thread-safe w.r.t. calling setCachedCommitments and computeCmtFromCached. However, for correct commitment computation, the caller needs to call setCachedCommitments before computeCmtFromCached, because computeCmtFromCached uses the state set by setCachedCommitments.

    Annotations
    @SuppressWarnings()
  2. final case class CommitmentSnapshot(recordTime: RecordTime, active: Map[SortedSet[LfPartyId], CommitmentType], delta: Map[SortedSet[LfPartyId], CommitmentType], deleted: Set[SortedSet[LfPartyId]]) extends PrettyPrinting with Product with Serializable

    A snapshot of ACS commitments per set of stakeholders

    A snapshot of ACS commitments per set of stakeholders

    recordTime

    The timestamp and tie-breaker of the snapshot

    active

    Maps stakeholders to the commitment to their shared ACS, if the shared ACS is not empty

    delta

    A sub-map of active with those stakeholders whose commitments have changed since the last snapshot

    deleted

    Stakeholder sets whose ACS has gone to empty since the last snapshot (no longer active)

  3. sealed trait CommitmentsPruningBound extends Product with Serializable
  4. type ProcessorType = (CantonTimestamp, Traced[List[OpenEnvelope[SignedProtocolMessage[AcsCommitment]]]]) => FutureUnlessShutdown[Unit]
  5. class RunningCommitments extends HasLoggerName
    Annotations
    @SuppressWarnings()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. val emptyCommitment: CommitmentType
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. implicit def errorLoggingContextFromNamedLoggingContext(implicit loggingContext: NamedLoggingContext): ErrorLoggingContext

    Convert a com.digitalasset.canton.logging.NamedLoggingContext into an com.digitalasset.canton.logging.ErrorLoggingContext to fix the logger name to the current class name.

    Convert a com.digitalasset.canton.logging.NamedLoggingContext into an com.digitalasset.canton.logging.ErrorLoggingContext to fix the logger name to the current class name.

    Attributes
    protected
    Definition Classes
    HasLoggerName
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. val healthName: String
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. implicit def loggerNameFromThisClass: LoggerNameFromClass
    Attributes
    protected
    Definition Classes
    HasLoggerName
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. def safeToPrune(requestJournalStore: RequestJournalStore, sequencerCounterTrackerStore: SequencerCounterTrackerStore, sortedReconciliationIntervalsProvider: SortedReconciliationIntervalsProvider, acsCommitmentStore: AcsCommitmentStore, inFlightSubmissionStore: InFlightSubmissionStore, domainId: DomainId, checkForOutstandingCommitments: Boolean)(implicit ec: ExecutionContext, loggingContext: NamedLoggingContext): Future[Option[CantonTimestampSecond]]

    The latest commitment tick before or at the given time at which it is safe to prune.

  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. object CommitmentsPruningBound extends Serializable
  25. object Errors extends AcsCommitmentErrorGroup

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from HasLoggerName

Inherited from AnyRef

Inherited from Any

Ungrouped