Package io.camunda.zeebe.snapshots
Interface ImmutableChecksumsSFV
- All Known Subinterfaces:
MutableChecksumsSFV
- All Known Implementing Classes:
SfvChecksumImpl
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 TypeMethodDescriptionbooleanReturns if all file checksums match exactly.voidwrite(OutputStream stream) Write the checksum collection in SFV format to the given output stream.
-
Method Details
-
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
-
sameChecksums
Returns if all file checksums match exactly.- Parameters:
o- The other checksum- Returns:
- boolean denoting match
-