final case class PrunableByTimeParameters(targetBatchSize: PositiveInt, initialInterval: NonNegativeFiniteDuration, maxBuckets: PositiveInt, controlFactors: Seq[ControlFactors] = PrunableByTimeParameters.DefaultControlFactors, maxItemsExpectedToPrunePerBatch: PositiveInt) extends Product with Serializable

Various parameter to control prunable by time batching (used for journal pruning)

targetBatchSize

Defines the ideal pruning batch size. If the batches are larger than the target pruning size, the number of buckets is doubled. If they are substantially smaller than the target pruning size, the number of buckets is reduced by 10%.

initialInterval

The start interval for the prune batching

maxBuckets

maximum number of buckets to split a batch into (limit the iterations when nodes are inactive for quite a while)

controlFactors

The adjustment parameters for the prune batch size computation (threshold, factor)

maxItemsExpectedToPrunePerBatch

The maximum on the number of items expected to prune per batch. Implemented by select stores (e.g. ActiveContractStore) to help motivate database filtered index selection. Should be at least an order of magnitude larger than targetBatchSize to not interfere with dynamic bucketing after a participant node has been inactive for a while, but not excessively large to discourage scanning the entire table.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PrunableByTimeParameters
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PrunableByTimeParameters(targetBatchSize: PositiveInt, initialInterval: NonNegativeFiniteDuration, maxBuckets: PositiveInt, controlFactors: Seq[ControlFactors] = PrunableByTimeParameters.DefaultControlFactors, maxItemsExpectedToPrunePerBatch: PositiveInt)

    targetBatchSize

    Defines the ideal pruning batch size. If the batches are larger than the target pruning size, the number of buckets is doubled. If they are substantially smaller than the target pruning size, the number of buckets is reduced by 10%.

    initialInterval

    The start interval for the prune batching

    maxBuckets

    maximum number of buckets to split a batch into (limit the iterations when nodes are inactive for quite a while)

    controlFactors

    The adjustment parameters for the prune batch size computation (threshold, factor)

    maxItemsExpectedToPrunePerBatch

    The maximum on the number of items expected to prune per batch. Implemented by select stores (e.g. ActiveContractStore) to help motivate database filtered index selection. Should be at least an order of magnitude larger than targetBatchSize to not interfere with dynamic bucketing after a participant node has been inactive for a while, but not excessively large to discourage scanning the entire table.

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]) @native()
  6. val controlFactors: Seq[ControlFactors]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  9. val initialInterval: NonNegativeFiniteDuration
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. val maxBuckets: PositiveInt
  12. val maxItemsExpectedToPrunePerBatch: PositiveInt
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. def productElementNames: Iterator[String]
    Definition Classes
    Product
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. val targetBatchSize: PositiveInt
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

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 Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped