Interface StateSnapshot.Support<T extends StateSnapshot>
- Type Parameters:
T- theStateMachineCommandtype
- Enclosing interface:
StateSnapshot
public static interface StateSnapshot.Support<T extends StateSnapshot>
A combination of a
StateSnapshot.Reader and a StateSnapshot.Writer for a concrete StateSnapshot type, as indicated by
snapshotType().-
Method Summary
Modifier and TypeMethodDescriptionreader()Returns theStateSnapshot.Reader.Returns theStateSnapshottype supported by thisStateSnapshot.Support.writer()Returns theStateSnapshot.Writer.
-
Method Details
-
snapshotType
Returns theStateSnapshottype supported by thisStateSnapshot.Support.- Returns:
- the
StateSnapshottype supported by thisStateSnapshot.Support
-
reader
StateSnapshot.Reader<T> reader()Returns theStateSnapshot.Reader.- Returns:
- the reader
-
writer
StateSnapshot.Writer<T> writer()Returns theStateSnapshot.Writer.- Returns:
- the writer
-