c

com.digitalasset.canton.participant.pruning

SortedReconciliationIntervalsProvider

class SortedReconciliationIntervalsProvider extends NamedLogging

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

Instance Constructors

  1. new SortedReconciliationIntervalsProvider(topologyClient: SynchronizerTopologyClient, futureSupervisor: FutureSupervisor, loggerFactory: NamedLoggerFactory)(implicit ec: 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. def computeReconciliationIntervalsCovering(fromExclusive: CantonTimestamp, toInclusive: CantonTimestamp)(implicit traceContext: TraceContext): FutureUnlessShutdown[List[CommitmentPeriod]]

    Computes a list of commitment periods between fromExclusive to toInclusive.

    Computes a list of commitment periods between fromExclusive to toInclusive. The caller should ensure that fromExclusive and toInclusive represent valid reconciliation ticks. Otherwise, the method throws an InvalidParameterException

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  10. def getApproximateLatestReconciliationInterval: Option[ReconciliationInterval]
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  15. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    SortedReconciliationIntervalsProviderNamedLogging
  16. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  21. def reconciliationIntervals(validAt: CantonTimestamp)(implicit traceContext: TraceContext): FutureUnlessShutdown[SortedReconciliationIntervals]
  22. def splitCommitmentPeriod(commitmentPeriod: CommitmentPeriod)(implicit traceContext: TraceContext): FutureUnlessShutdown[Option[NonEmpty[Set[CommitmentPeriod]]]]

    splits a given CommitmentPeriod into a NonEmpty Set of CommitmentPeriods with ValidTicks.

    splits a given CommitmentPeriod into a NonEmpty Set of CommitmentPeriods with ValidTicks. if the given period does not have any valid periods within it then None is returned.

    if given period( from = 0, to = 100) and we have one reconciliationInterval of 5 then it will return a NonEmpty set with 20 periods (0 -> 5, 5 -> 10, 10 -> 15 etc.)

    if multiple reconciliation intervals exists then it gets split correctly as well.

    if given period( from = 0, to 100) and we have two reconciliationIntervals (5 at 0 and 10 at 30) then it will return a NonEmpty set with 6 + 7 periods (0 -> 5, 5 -> 10, 10 -> 15 [...] 30 -> 40, 40 -> 50, 50 -> 60 etc.)

  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. 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 AnyRef

Inherited from Any

Ungrouped