c

com.digitalasset.canton.synchronizer.mediator

DefaultMediatorEventDeduplicator

class DefaultMediatorEventDeduplicator extends MediatorEventDeduplicator with NamedLogging

Linear Supertypes
NamedLogging, MediatorEventDeduplicator, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultMediatorEventDeduplicator
  2. NamedLogging
  3. MediatorEventDeduplicator
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DefaultMediatorEventDeduplicator(state: MediatorState, verdictSender: VerdictSender, getDeduplicationTimeout: (Traced[CantonTimestamp]) => FutureUnlessShutdown[Duration], getDecisionTime: (Traced[CantonTimestamp]) => FutureUnlessShutdown[CantonTimestamp], protocolVersion: ProtocolVersion, loggerFactory: NamedLoggerFactory)(implicit executionContext: ExecutionContext)

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]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  13. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    DefaultMediatorEventDeduplicatorNamedLogging
  14. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. def rejectDuplicate(requestTimestamp: CantonTimestamp, confirmationRequest: MediatorConfirmationRequest, envelopes: Seq[DefaultOpenEnvelope])(implicit traceContext: TraceContext, callerCloseoContext: CloseContext): FutureUnlessShutdown[(Boolean, FutureUnlessShutdown[Unit])]

    If the uuid of the confirmation request has been used previously and the previous usage has not expired by the sequencer timestamp of the corresponding event, then the event is rejected through the sequencer client.

    If the uuid of the confirmation request has been used previously and the previous usage has not expired by the sequencer timestamp of the corresponding event, then the event is rejected through the sequencer client. If the uuid of an envelope is fresh, it will be stored as being "in use".

    returns

    (isUnique, storeF): isUnique is true, if the confirmation request was considered to be unique and its UUID doesn't clash with previously processed confirmation requests. Conversely, it is false if the confirmation request is considered to be a duplicate submission. storeF completes when the persistent state has been updated and all rejections have been sent. The method rejectDuplicate may be invoked again while storeF is still running; The event should be considered clean only when storeF is completed.

    Definition Classes
    DefaultMediatorEventDeduplicator → MediatorEventDeduplicator
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

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 NamedLogging

Inherited from MediatorEventDeduplicator

Inherited from AnyRef

Inherited from Any

Ungrouped