Class EventApplyingStateWriter

  • All Implemented Interfaces:
    StateWriter, TypedEventWriter

    public final class EventApplyingStateWriter
    extends Object
    implements StateWriter
    A state writer that uses the event applier, to alter the state for each written event.

    Note that it does not write events to the stream itself, but it delegates this to the TypedStreamWriter.

    Note that it does not change the state itself, but delegates this to the EventApplier.