com.digitalasset.canton.participant.pruning
SortedReconciliationIntervals
Companion object SortedReconciliationIntervals
final case class SortedReconciliationIntervals extends Product with Serializable
Reconciliation intervals, with their validity intervals, sorted by validFrom in decreasing order. Note: the factory method ensures that the intervals are pairwise disjoint.
- Alphabetic
- By Inheritance
- SortedReconciliationIntervals
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def commitmentPeriodPreceding(periodEnd: CantonTimestampSecond, endOfPreviousPeriod: Option[CantonTimestampSecond]): Option[CommitmentPeriod]
Returns the commitment period with endpoints (start, end) that satisfy:
Returns the commitment period with endpoints (start, end) that satisfy:
start < end <= periodEnd
start = endOfPreviousPeriod | CantonTimestamp.MinValue
If no such period exists (e.g., because
periodEnd <= endOfPreviousPeriod
), None is returned. - def containsTick(fromExclusive: CantonTimestamp, toInclusive: CantonTimestamp): Option[Boolean]
Check whether the given interval contains a tick
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val intervals: List[ReconciliationInterval]
- def isAtTick(ts: CantonTimestampSecond): Option[Boolean]
Check whether
ts
is on a commitment tick.Check whether
ts
is on a commitment tick.- returns
scala.None$ if
ts > validUntil
Note: com.digitalasset.canton.data.CantonTimestampSecond.MinValue is always considered to fall on a tick.
- def isAtTick(ts: CantonTimestamp): Option[Boolean]
Check whether
ts
is on a commitment tick.Check whether
ts
is on a commitment tick.- returns
scala.None$ if
ts > validUntil
Note: com.digitalasset.canton.data.CantonTimestamp.MinValue is always considered to fall on a tick.
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tickBefore(ts: CantonTimestamp): Option[CantonTimestampSecond]
Returns the latest tick which is < ts
Returns the latest tick which is < ts
- returns
scala.None$ if
ts > validUntil
or ifts = CantonTimestamp.MinValue
If we query for inside a gap (when no domain parameters are valid), previous ones are used.
- def tickBeforeOrAt(ts: CantonTimestamp): Option[CantonTimestampSecond]
Returns the latest tick which is <= ts
Returns the latest tick which is <= ts
- returns
scala.None$ if
ts > validUntil
If we query for inside a gap (when no domain parameters are valid), previous ones are used.
- val validUntil: CantonTimestamp
- 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])