Class FileBasedSnapshotChunkReader

java.lang.Object
io.camunda.zeebe.snapshots.impl.FileBasedSnapshotChunkReader
All Implemented Interfaces:
SnapshotChunkReader, CloseableSilently, AutoCloseable, Iterator<SnapshotChunk>

public final class FileBasedSnapshotChunkReader extends Object implements SnapshotChunkReader
Implements a chunk reader where each chunk is a single file in a root directory. Chunks are then ordered lexicographically, and the files are assumed to be immutable, i.e. no more are added to the directory once this is created.