Packages

final case class Batch[+T](ledgerEnd: LedgerEnd, batch: T, batchSize: Int, offsetsUpdates: Vector[(Offset, Update)], activeContracts: LinkedHashMap[SynCon, ActivationRef], missingDeactivatedActivations: Map[SynCon, Option[ActivationRef]], batchTraceContext: TraceContext) extends Product with Serializable

Batch wraps around a T-typed batch, enriching it with processing relevant information.

ledgerEnd

The LedgerEnd for the batch. Needed for tail ingestion.

batch

The batch of variable type.

batchSize

Size of the batch measured in number of updates. Needed for metrics population.

offsetsUpdates

The Updates with Offsets, the source of the batch.

activeContracts

The active contracts at the head of the ledger - the ones which are not persisted yet. Key is the Synchronizer ID of activation and the Contract ID, and the value is the event_sequential_id of the activation.

missingDeactivatedActivations

The set of deactivations need to be looked up at dbPrepare stage. It is optional as this is where the lookup-results are stored as well.

batchTraceContext

The TraceContext constructed for the whole batch.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Batch
  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 Batch(ledgerEnd: LedgerEnd, batch: T, batchSize: Int, offsetsUpdates: Vector[(Offset, Update)], activeContracts: LinkedHashMap[SynCon, ActivationRef], missingDeactivatedActivations: Map[SynCon, Option[ActivationRef]], batchTraceContext: TraceContext)

    ledgerEnd

    The LedgerEnd for the batch. Needed for tail ingestion.

    batch

    The batch of variable type.

    batchSize

    Size of the batch measured in number of updates. Needed for metrics population.

    offsetsUpdates

    The Updates with Offsets, the source of the batch.

    activeContracts

    The active contracts at the head of the ledger - the ones which are not persisted yet. Key is the Synchronizer ID of activation and the Contract ID, and the value is the event_sequential_id of the activation.

    missingDeactivatedActivations

    The set of deactivations need to be looked up at dbPrepare stage. It is optional as this is where the lookup-results are stored as well.

    batchTraceContext

    The TraceContext constructed for the whole batch.

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. val activeContracts: LinkedHashMap[SynCon, ActivationRef]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val batch: T
  7. val batchSize: Int
  8. val batchTraceContext: TraceContext
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val ledgerEnd: LedgerEnd
  14. val missingDeactivatedActivations: Map[SynCon, Option[ActivationRef]]
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. val offsetsUpdates: Vector[(Offset, Update)]
  19. def productElementNames: Iterator[String]
    Definition Classes
    Product
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. 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