Companion

object Companion

Properties

Link copied to clipboard
const val SEQUENCE_BITS: Int = 51

The bits of a MongoDB log position's sequence, below its partition (the Mongo log's SEQUENCE_BITS).

Functions

Link copied to clipboard
fun caughtUpAt(samples: List<PublishedStream.Sample>, stoppedAt: Long, drainedAt: Long): Long?

When the stream caught up after the load: the first round from stoppedAt on in which every partition's checkpoint reached the head it had in the first round once the drain ended (drainedAt), so every commit of the load was published; null while none did.

Link copied to clipboard
fun of(option: String): PublishedStream

--published=<context>.<aggregate>.

Link copied to clipboard

A line of postgresQuery or mongoLoop, or null when it is not one.

Link copied to clipboard
fun summary(samples: List<PublishedStream.Sample>, startedAt: Long, stoppedAt: Long, drainedAt: Long): Map<String, Any?>

The run's figures from samples, against the measured phase from startedAt to stoppedAt: