object ParallelIndexerSubscription extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ParallelIndexerSubscription
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- final case class Batch[+T](ledgerEnd: LedgerEnd, lastTraceContext: TraceContext, batch: T, batchSize: Int, offsetsUpdates: Vector[(Offset, Update)]) extends Product with Serializable
Batch wraps around a T-typed batch, enriching it with processing relevant information.
Batch wraps around a T-typed batch, enriching it with processing relevant information.
- ledgerEnd
The LedgerEnd for the batch. Needed for tail ingestion.
- lastTraceContext
The latest trace context contained in the batch. Needed for logging.
- batch
The batch of variable type.
- batchSize
Size of the batch measured in number of updates. Needed for metrics population.
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 ZeroLedgerEnd: LedgerEnd
- def aggregateLedgerEndForRepair[DB_BATCH](aggregatedLedgerEnd: AtomicReference[Option[(LedgerEnd, Map[SynchronizerId, SynchronizerIndex])]]): (Vector[Batch[DB_BATCH]]) => Unit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def batcher[DB_BATCH](batchF: (Vector[DbDto]) => DB_BATCH): (Batch[Vector[DbDto]]) => Batch[DB_BATCH]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def commitRepair[DB_BATCH](storeLedgerEnd: (LedgerEnd, Map[SynchronizerId, SynchronizerIndex]) => Future[Unit], storePostProcessingEnd: (Offset) => Future[Unit], updateInMemoryState: (LedgerEnd) => Unit, aggregatedLedgerEnd: AtomicReference[Option[(LedgerEnd, Map[SynchronizerId, SynchronizerIndex])]], logger: TracedLogger)(implicit traceContext: TraceContext): (Vector[(Offset, Update)]) => Future[Vector[(Offset, Update)]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def ingestPostProcessEnd[DB_BATCH](storePostProcessingEnd: (Offset) => Future[Unit], logger: TracedLogger)(implicit traceContext: TraceContext): (Vector[Batch[DB_BATCH]]) => Future[Vector[Batch[DB_BATCH]]]
- def ingestTail[DB_BATCH](storeLedgerEnd: (LedgerEnd, Map[SynchronizerId, SynchronizerIndex]) => Future[Unit], logger: TracedLogger)(implicit traceContext: TraceContext): (Vector[Batch[DB_BATCH]]) => Future[Vector[Batch[DB_BATCH]]]
- def ingester[DB_BATCH](ingestFunction: (Connection, DB_BATCH) => Unit, reassignmentOffsetPersistence: ReassignmentOffsetPersistence, zeroDbBatch: DB_BATCH, dbDispatcher: DbDispatcher, metrics: LedgerApiServerMetrics, logger: TracedLogger)(implicit traceContext: TraceContext): (Batch[DB_BATCH]) => Future[Batch[DB_BATCH]]
- def inputMapper(metrics: LedgerApiServerMetrics, toDbDto: (Offset) => (Update) => Iterator[DbDto], eventMetricsUpdater: (Iterable[(Offset, Update)]) => Unit, logger: TracedLogger): (Iterable[(Offset, Update)]) => Batch[Vector[DbDto]]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def ledgerEndSynchronizerIndexFrom(synchronizerIndexes: Vector[(SynchronizerId, SynchronizerIndex)]): Map[SynchronizerId, SynchronizerIndex]
- def monotonicityValidator(initialOffset: Option[Offset], loadPreviousState: (SynchronizerId) => Future[Option[SynchronizerIndex]], logger: TracedLogger): Flow[(Offset, Update), (Offset, Update), NotUsed]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def postProcess[DB_BATCH](processor: (Vector[PostPublishData], TraceContext) => Future[Unit], logger: TracedLogger): (Batch[DB_BATCH]) => Future[Batch[DB_BATCH]]
- def seqMapper(internize: (Iterable[DbDto]) => Iterable[(Int, String)], metrics: LedgerApiServerMetrics, clock: Clock, logger: TracedLogger)(previous: Batch[Vector[DbDto]], current: Batch[Vector[DbDto]]): Batch[Vector[DbDto]]
- def seqMapperZero(initialLedgerEndO: Option[LedgerEnd]): Batch[Vector[DbDto]]
- def sequentialPostProcess[DB_BATCH](sequentialPostProcessor: (Update) => Unit): (Batch[DB_BATCH]) => Batch[DB_BATCH]
- def storePostProcessingEnd(storePostProcessEndFunction: (Offset) => (Connection) => Unit, dbDispatcher: DbDispatcher, metrics: LedgerApiServerMetrics, logger: TracedLogger)(implicit traceContext: TraceContext): (Offset) => Future[Unit]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])