Package-level declarations

Types

Link copied to clipboard
sealed interface DbOp
Link copied to clipboard
class InMemoryLog<M> @JvmOverloads constructor(instantSource: InstantSource, val epoch: Int, termEpoch: Int = 0, val partitions: Int = 1) : Log<M>
Link copied to clipboard
object LeaderTerm

A leader term orders the leaders of a database's replica log, so that a superseded leader's writes are discarded on the read side (#5817).

Link copied to clipboard
class LocalLog<M> @JvmOverloads constructor(rootPath: Path, codec: MessageCodec<M>, instantSource: InstantSource, val epoch: Int, termEpoch: Int = 0, val useInstantSourceForNonTx: Boolean, coroutineContext: CoroutineContext = Dispatchers.IO, baseFileName: String = "LOG", val partitions: Int = 1) : Log<M>
Link copied to clipboard
interface Log<M> : AutoCloseable
Link copied to clipboard
interface MessageCodec<M>
Link copied to clipboard
class PartitionLog<M>(log: Log<M>, val partition: Int)

A Log view bound to a single partition: the partition-indexed operations with the index pre-applied, so a per-partition consumer holds its slice of the log without threading the partition through every call.

Link copied to clipboard
sealed interface ReplicaMessage
Link copied to clipboard
sealed interface SourceMessage