Interface StateSnapshot.Support<T extends StateSnapshot>
- Type Parameters:
T
- theStateMachineCommand
type
- 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 theStateSnapshot
type supported by thisStateSnapshot.Support
.writer()
Returns theStateSnapshot.Writer
.
-
Method Details
-
snapshotType
Returns theStateSnapshot
type supported by thisStateSnapshot.Support
.- Returns:
- the
StateSnapshot
type 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
-