Packages

object DeduplicationPeriod extends Serializable

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

Type Members

  1. final case class DeduplicationDuration(duration: Duration) extends DeduplicationPeriod with Product with Serializable

    The length of the deduplication window, which ends when the WriteService or underlying Daml ledger processes the command submission.

    The length of the deduplication window, which ends when the WriteService or underlying Daml ledger processes the command submission.

    When used in SubmitterInfo, the window is measured on some unspecified clock on the participant or the Daml ledger. When used in CompletionInfo, the window is measured in record time.

    Exceptions thrown

    java.lang.IllegalArgumentException if the duration is negative

  2. final case class DeduplicationOffset(offset: Offset) extends DeduplicationPeriod with Product with Serializable

    The offset defines the start of the deduplication period (exclusive).

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. implicit val DeduplicationPeriod to LoggingValue: ToLoggingValue[DeduplicationPeriod]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. def deduplicateUntil(time: Timestamp, period: DeduplicationPeriod): Try[Timestamp]

    Transforms the period into a Timestamp to be used for deduplication into the future(deduplicateUntil).

    Transforms the period into a Timestamp to be used for deduplication into the future(deduplicateUntil). Only used for backwards compatibility

    time

    The time to use for calculating the Timestamp. It can either be submission time or current time, based on usage

    period

    The deduplication period

  8. def deduplicationDurationFromTime(time: Timestamp, deduplicationStart: Timestamp, minSkew: Duration): Duration

    Computes deduplication duration as the duration time + minSkew - deduplicationStart.

    Computes deduplication duration as the duration time + minSkew - deduplicationStart. We measure deduplicationStart on the ledger’s clock, and thus we need to add the minSkew to compensate for the maximal skew that the participant might be behind the ledger’s clock.

    time

    submission time or current time

    deduplicationStart

    the Timestamp from where we should start deduplication, must be < than time

    minSkew

    the minimum skew as specified by the current ledger time model

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. 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

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped