Packages

case class HighThroughput(payloadQueueSize: Int = 1000, payloadWriteBatchMaxSize: Int = 50, payloadWriteBatchMaxDuration: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofMillis(50), payloadWriteMaxConcurrency: Int = 4, payloadToEventMargin: NonNegativeFiniteDuration = DefaultPayloadTimestampMargin, eventWriteBatchMaxSize: Int = 100, eventWriteBatchMaxDuration: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofMillis(50), commitModeValidation: Option[CommitMode] = CommitMode.Default.some, maxSqlInListSize: PositiveNumeric[Int] = DefaultMaxSqlInListSize) extends SequencerWriterConfig with Product with Serializable

Creates batches of incoming events to minimize the number of writes to the database. Useful for a high throughput usecase when batches will be quickly filled and written. Will be detrimental for latency if used and a lower throughput of events causes writes to always be delayed to the batch max duration.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HighThroughput
  2. Serializable
  3. Product
  4. Equals
  5. SequencerWriterConfig
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new HighThroughput(payloadQueueSize: Int = 1000, payloadWriteBatchMaxSize: Int = 50, payloadWriteBatchMaxDuration: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofMillis(50), payloadWriteMaxConcurrency: Int = 4, payloadToEventMargin: NonNegativeFiniteDuration = DefaultPayloadTimestampMargin, eventWriteBatchMaxSize: Int = 100, eventWriteBatchMaxDuration: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofMillis(50), commitModeValidation: Option[CommitMode] = CommitMode.Default.some, maxSqlInListSize: PositiveNumeric[Int] = DefaultMaxSqlInListSize)

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() @HotSpotIntrinsicCandidate()
  6. val commitModeValidation: Option[CommitMode]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. val eventWriteBatchMaxDuration: NonNegativeFiniteDuration
  9. val eventWriteBatchMaxSize: Int
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val maxSqlInListSize: PositiveNumeric[Int]
  13. def modify(payloadQueueSize: Int = this.payloadQueueSize, payloadWriteBatchMaxSize: Int = this.payloadWriteBatchMaxSize, payloadWriteBatchMaxDuration: NonNegativeFiniteDuration = this.payloadWriteBatchMaxDuration, payloadWriteMaxConcurrency: Int = this.payloadWriteMaxConcurrency, payloadToEventMargin: NonNegativeFiniteDuration = this.payloadToEventMargin, eventWriteBatchMaxSize: Int = this.eventWriteBatchMaxSize, eventWriteBatchMaxDuration: NonNegativeFiniteDuration = this.eventWriteBatchMaxDuration, commitModeValidation: Option[CommitMode] = this.commitModeValidation, maxSqlInListSize: PositiveNumeric[Int] = this.maxSqlInListSize): SequencerWriterConfig
    Definition Classes
    SequencerWriterConfig
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. val payloadQueueSize: Int
  18. val payloadToEventMargin: NonNegativeFiniteDuration
  19. val payloadWriteBatchMaxDuration: NonNegativeFiniteDuration
  20. val payloadWriteBatchMaxSize: Int
  21. val payloadWriteMaxConcurrency: Int
  22. def productElementNames: Iterator[String]
    Definition Classes
    Product
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. 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

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SequencerWriterConfig

Inherited from AnyRef

Inherited from Any

Ungrouped