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[Seq[OpenEnvelope[SignedProtocolMessage[AcsCommitment]]]]) => FutureUnlessShutdown[Unit]
  5. sealed trait ReceivedCmtState extends AnyRef
  6. class RunningCommitments extends HasLoggerName
    Annotations
    @SuppressWarnings()
  7. sealed trait SentCmtState extends AnyRef

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. def apply(synchronizerId: SynchronizerId, participantId: ParticipantId, sequencerClient: SequencerClientSend, synchronizerCrypto: SyncCryptoClient[SyncCryptoApi], sortedReconciliationIntervalsProvider: SortedReconciliationIntervalsProvider, store: AcsCommitmentStore, pruningObserver: (TraceContext) => Unit, metrics: CommitmentMetrics, protocolVersion: ProtocolVersion, timeouts: ProcessingTimeout, futureSupervisor: FutureSupervisor, activeContractStore: ActiveContractStore, acsCounterParticipantConfigStore: AcsCounterParticipantConfigStore, contractStore: ContractStore, enableAdditionalConsistencyChecks: Boolean, loggerFactory: NamedLoggerFactory, testingConfig: TestingConfigInternal, clock: Clock, exitOnFatalFailures: Boolean, batchingConfig: BatchingConfig, maxCommitmentSendDelayMillis: Option[NonNegativeInt] = None)(implicit ec: ExecutionContext, traceContext: TraceContext): FutureUnlessShutdown[AcsCommitmentProcessor]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def checkCommitmentMatchesContracts(commitment: HashedCommitmentType, timestamp: CantonTimestamp, contractsAndReassignmentCounter: Set[(SerializableContract, ReassignmentCounter)], counterParticipant: ParticipantId)(implicit namedLoggingContext: NamedLoggingContext): Boolean

    Checks that the given commitment matches the given contracts and reassignment counters.

    Checks that the given commitment matches the given contracts and reassignment counters.

    commitment

    The commitment to check

    timestamp

    The timestamp of the commitment

    contractsAndReassignmentCounter

    The set of contracts and their reassignment counters that should constitute the commitment

    counterParticipant

    The participant for which the commitment is computed

    returns

    true if the commitment matches the contracts and reassignment counters, false otherwise

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. def computeRunningCommitmentsFromAcs(activeContractStore: ActiveContractStore, contractStore: ContractStore, acsTimestamp: TimeOfChange, batchingConfig: BatchingConfig)(implicit ec: ExecutionContext, namedLoggingContext: NamedLoggingContext): FutureUnlessShutdown[RunningCommitments]
  9. val emptyCommitment: CommitmentType
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. 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
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. val hashedEmptyCommitment: HashedCommitmentType
  16. val healthName: String
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. implicit def loggerNameFromThisClass: LoggerNameFromClass
    Attributes
    protected
    Definition Classes
    HasLoggerName
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  22. def reassignmentCountersForArchivedTransient(commitSet: CommitSet): Map[LfContractId, ReassignmentCounter]
    Annotations
    @VisibleForTesting()
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. object CommitmentsPruningBound extends Serializable
  29. object Errors extends AcsCommitmentErrorGroup
  30. object ReceivedCmtState
  31. object SentCmtState

Deprecated Value Members

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

    (Since version 9)

Inherited from HasLoggerName

Inherited from AnyRef

Inherited from Any

Ungrouped