object DeduplicationPeriod extends Serializable
- Alphabetic
- By Inheritance
- DeduplicationPeriod
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- 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 theduration
is negative
- final case class DeduplicationOffset(offset: Offset) extends DeduplicationPeriod with Product with Serializable
The
offset
defines the start of the deduplication period (exclusive).
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
- implicit val DeduplicationPeriod to LoggingValue: ToLoggingValue[DeduplicationPeriod]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- 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
- 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 measurededuplicationStart
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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated