Package io.camunda.zeebe.snapshots
Interface SnapshotChunk
public interface SnapshotChunk
A chunk of an already persisted Snapshot.
-
Method Summary
Modifier and TypeMethodDescriptionlongbyte[]longint
-
Method Details
-
getSnapshotId
String getSnapshotId()- Returns:
- a unique snapshot identifier *
-
getTotalCount
int getTotalCount()- Returns:
- the total count of snapshot chunks, which correspond to the same snapshot
-
getChunkName
String getChunkName()- Returns:
- the name of the current chunk (e.g. file name)
-
getChecksum
long getChecksum()- Returns:
- the checksum of the content, can be use to verify the integrity of the content
-
getContent
byte[] getContent()- Returns:
- the content of the current chunk
-
getSnapshotChecksum
long getSnapshotChecksum()- Returns:
- the checksum of the entire snapshot
-