Packages

c

monix.execution.ExecutionModel

BatchedExecution

final case class BatchedExecution(batchSize: Int) extends ExecutionModel with Product with Serializable

ExecutionModel specifying an mixed execution mode under which tasks are executed synchronously in batches up to a maximum size.

After a batch of tasks of the recommended size is executed, the next execution should be asynchronous, forked on a different logical thread.

By specifying the ExecutionModel.recommendedBatchSize, the configuration can be fine-tuned.

Source
ExecutionModel.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BatchedExecution
  2. ExecutionModel
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BatchedExecution(batchSize: Int)

Value Members

  1. val batchedExecutionModulus: Int
    Definition Classes
    BatchedExecutionExecutionModel
  2. def nextFrameIndex(current: Int): Int

    Returns the next frame index in the run-loop.

    Returns the next frame index in the run-loop.

    If the returned integer is zero, then the next cycle in the run-loop should execute asynchronously.

    Definition Classes
    BatchedExecutionExecutionModel
  3. val recommendedBatchSize: Int
    Definition Classes
    BatchedExecutionExecutionModel