Skip to main content

GrpcCheckpointStreamItem

sealed class GrpcCheckpointStreamItem : Disposable

An item yielded by a filtered checkpoint stream: either a checkpoint with matching data, or a progress indicator emitted while the server scans checkpoints that have none.

Inheritors​

Checkpoint
Progress

Types​

NameSummary
Checkpointdata class Checkpoint(val checkpoint: GrpcCheckpointResponse) : GrpcCheckpointStreamItem
A complete checkpoint with its transactions and events.
Progressdata class Progress(val latestScannedSequenceNumber: ULong) : GrpcCheckpointStreamItem
A progress indicator sent during filtered scanning, carrying the sequence number of the latest scanned checkpoint.

Functions​

NameSummary
destroyopen override fun destroy()

Checkpoint​

data class Checkpoint(val checkpoint: GrpcCheckpointResponse) : GrpcCheckpointStreamItem

A complete checkpoint with its transactions and events.

Constructors​

Checkpointconstructor(checkpoint: GrpcCheckpointResponse)

Properties​

NameSummary
checkpointval checkpoint: GrpcCheckpointResponse

Functions​

NameSummary
destroyopen override fun destroy()

Progress​

data class Progress(val latestScannedSequenceNumber: ULong) : GrpcCheckpointStreamItem

A progress indicator sent during filtered scanning, carrying the sequence number of the latest scanned checkpoint.

Constructors​

Progressconstructor(latestScannedSequenceNumber: ULong)

Properties​

NameSummary
latestScannedSequenceNumberval latestScannedSequenceNumber: ULong

Functions​

NameSummary
destroyopen override fun destroy()