c
com.digitalasset.canton.synchronizer.sequencer.config
AsyncWriterConfig
Companion object AsyncWriterConfig
final case class AsyncWriterConfig(enabled: Boolean = true, trafficBatchSize: PositiveInt = PositiveInt.tryCreate(1000), aggregationBatchSize: PositiveInt = PositiveInt.tryCreate(1000), blockInfoBatchSize: PositiveInt = PositiveInt.tryCreate(1000)) extends Product with Serializable
Async block sequencer writer control parameters
- enabled
if true (default) then the async writer is enabled
- trafficBatchSize
the maximum number of traffic events to batch in a single write
- aggregationBatchSize
the maximum number of inflight aggregations to batch in a single write
- blockInfoBatchSize
the maximum number of block info updates to batch in a single write
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AsyncWriterConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new AsyncWriterConfig(enabled: Boolean = true, trafficBatchSize: PositiveInt = PositiveInt.tryCreate(1000), aggregationBatchSize: PositiveInt = PositiveInt.tryCreate(1000), blockInfoBatchSize: PositiveInt = PositiveInt.tryCreate(1000))
- enabled
if true (default) then the async writer is enabled
- trafficBatchSize
the maximum number of traffic events to batch in a single write
- aggregationBatchSize
the maximum number of inflight aggregations to batch in a single write
- blockInfoBatchSize
the maximum number of block info updates to batch in a single write
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
- val aggregationBatchSize: PositiveInt
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val blockInfoBatchSize: PositiveInt
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val enabled: Boolean
- 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
- def toParameters: AsyncWriterParameters
- val trafficBatchSize: PositiveInt
- 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()