class CommandDeduplicatorImpl extends CommandDeduplicator with NamedLogging
- Alphabetic
- By Inheritance
- CommandDeduplicatorImpl
- NamedLogging
- CommandDeduplicator
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CommandDeduplicatorImpl(store: CommandDeduplicationStore, clock: Clock, publicationTimeLowerBound: => CantonTimestamp, loggerFactory: NamedLoggerFactory)(implicit ec: ExecutionContext)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def checkDuplication(changeIdHash: ChangeIdHash, deduplicationPeriod: DeduplicationPeriod)(implicit traceContext: TraceContext): EitherT[Future, DeduplicationFailed, DeduplicationOffset]
Perform deduplication for the given com.digitalasset.canton.participant.protocol.submission.ChangeIdHash and com.daml.ledger.api.DeduplicationPeriod.
Perform deduplication for the given com.digitalasset.canton.participant.protocol.submission.ChangeIdHash and com.daml.ledger.api.DeduplicationPeriod.
- changeIdHash
The change ID hash of the submission to be deduplicated
- deduplicationPeriod
The deduplication period specified with the submission
- returns
The com.daml.ledger.api.DeduplicationPeriod.DeduplicationOffset to be included in the command completion's com.daml.ledger.participant.state.v2.CompletionInfo. Canton always returns a com.daml.ledger.api.DeduplicationPeriod.DeduplicationOffset because it cannot meet the the record time requirements for the other kinds of com.daml.ledger.api.DeduplicationPeriods.
- Definition Classes
- CommandDeduplicatorImpl → CommandDeduplicator
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val loggerFactory: NamedLoggerFactory
- Attributes
- protected
- Definition Classes
- CommandDeduplicatorImpl → NamedLogging
- implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noTracingLogger: Logger
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def processPublications(publications: Seq[Publication])(implicit traceContext: TraceContext): Future[Unit]
Register the publication of the events in the com.digitalasset.canton.participant.store.CommandDeduplicationStore
Register the publication of the events in the com.digitalasset.canton.participant.store.CommandDeduplicationStore
- Definition Classes
- CommandDeduplicatorImpl → CommandDeduplicator
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])