final case class ReassignmentsConfig(targetTimestampForwardTolerance: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofSeconds(5)) extends UniformCantonConfigValidation with Product with Serializable
Configuration relating to reassignments.
- targetTimestampForwardTolerance
Defines how far into the future a target timestamp on an unassignment request may be, before this participant will determine the request unavalidatable and abstain from the decision. In order to validate an unassignment request, we need to refer to the topology of the target synchronizer. Which snapshot of the topology we use is defined by the target timestamp in the unassignment request. However the processing of events from each synchronizer can go at its own pace on each participant, so at the time a participant receives the unassignment request to validate, its own topology snapshot on the target synchronizer may lag behind the target timestamp chosen by the submitting participant. In such cases, the validating participant can simply wait until it has processed topology events indicating that it has caught up to the required timestamp. However if the target timestamp is too far in the future, we do not want to tie up resources waiting for the relevant topology, and this participant will simply abstain from the decision, deferring to other participants to make the decision. The tuning of this parameter should be understood as a trade-off. Higher values mean that the participant may consume more resources waiting to catch up before validating an unassignment. Lower values mean that the participant is more likely to opt-out of validating unassignments if other participants are running ahead of this one.
- Alphabetic
- By Inheritance
- ReassignmentsConfig
- Serializable
- Product
- Equals
- UniformCantonConfigValidation
- CustomCantonConfigValidation
- CantonConfigValidation
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ReassignmentsConfig(targetTimestampForwardTolerance: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofSeconds(5))
- targetTimestampForwardTolerance
Defines how far into the future a target timestamp on an unassignment request may be, before this participant will determine the request unavalidatable and abstain from the decision. In order to validate an unassignment request, we need to refer to the topology of the target synchronizer. Which snapshot of the topology we use is defined by the target timestamp in the unassignment request. However the processing of events from each synchronizer can go at its own pace on each participant, so at the time a participant receives the unassignment request to validate, its own topology snapshot on the target synchronizer may lag behind the target timestamp chosen by the submitting participant. In such cases, the validating participant can simply wait until it has processed topology events indicating that it has caught up to the required timestamp. However if the target timestamp is too far in the future, we do not want to tie up resources waiting for the relevant topology, and this participant will simply abstain from the decision, deferring to other participants to make the decision. The tuning of this parameter should be understood as a trade-off. Higher values mean that the participant may consume more resources waiting to catch up before validating an unassignment. Lower values mean that the participant is more likely to opt-out of validating unassignments if other participants are running ahead of this one.
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()
- final def doValidate(edition: CantonEdition): Seq[CantonConfigValidationError]
Returns all validation errors that are specific to this Canton configuration class.
Returns all validation errors that are specific to this Canton configuration class. Successful validation should return an empty sequence.
Validation errors of subconfigurations should not be reported by this method, but via the type class derivation.
- Attributes
- protected
- Definition Classes
- UniformCantonConfigValidation → CustomCantonConfigValidation
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val targetTimestampForwardTolerance: NonNegativeFiniteDuration
- final def validate[T >: ReassignmentsConfig.this.type](edition: CantonEdition)(implicit validator: CantonConfigValidator[T]): Either[NonEmpty[Seq[CantonConfigValidationError]], Unit]
- Definition Classes
- CantonConfigValidation
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()