Interface StateSnapshot.Writer<T extends StateSnapshot>
- Enclosing interface:
StateSnapshot
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoidwriteSnapshot(T snapshot, OutputStream out) Serialize a snapshot into anOutputStream.
-
Method Details
-
writeSnapshot
Serialize a snapshot into anOutputStream. Implementations are required to emit at least one byte.- Parameters:
snapshot- snapshot to serializeout- theOutputStream- Throws:
IOException- if an I/O error occurs
-