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 com.digitalasset.canton.ledger.participant.state.v2.WriteService or underlying Daml ledger processes the command submission.
The length of the deduplication window, which ends when the com.digitalasset.canton.ledger.participant.state.v2.WriteService or underlying Daml ledger processes the command submission.
When used in com.digitalasset.canton.ledger.participant.state.v2.SubmitterInfo, the window is measured on some unspecified clock on the participant or the Daml ledger. When used in com.digitalasset.canton.ledger.participant.state.v2.CompletionInfo, the window is measured in record time.
- Exceptions thrown
java.lang.IllegalArgumentException
if theduration
is negative or uses finer than microsecond precision
- 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 com.daml.lf.data.Time.Timestamp to be used for deduplication into the future(deduplicateUntil).Transforms the
period
into a com.daml.lf.data.Time.Timestamp to be used for deduplication into the future(deduplicateUntil). Only used for backwards compatibility- time
The time to use for calculating the com.daml.lf.data.Time.Timestamp. It can either be submission time or current time, based on usage
- period
The deduplication period
- 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])