Package io.camunda.zeebe.snapshots
Interface ImmutableChecksumsSFV
- All Known Subinterfaces:
MutableChecksumsSFV
public interface ImmutableChecksumsSFV
Immutable checksum collection in simple file verification (SFV) file format, which only allows to
read serialized file checksums or a combined checksum.
-
Method Summary
Modifier and TypeMethodDescriptionlongvoidwrite(OutputStream stream) Write the checksum collection in SFV format to the given output stream.
-
Method Details
-
getCombinedValue
long getCombinedValue()- Returns:
- a combined CRC32C checksum over all files (for backwards compatibility)
-
write
Write the checksum collection in SFV format to the given output stream.- Parameters:
stream- in which the data will be written to- Throws:
IOException
-
getChecksums
- Returns:
- the map containing the individual file checksums
-