Class Running$


  • public class Running$
    extends java.lang.Object
    INTERNAL API

    Conceptually fourth (of four) -- also known as 'final' or 'ultimate' -- form of EventSourcedBehavior.

    In this phase recovery has completed successfully and we continue handling incoming commands, as well as persisting new events as dictated by the user handlers.

    This behavior operates in three phases (also behaviors): - HandlingCommands - where the command handler is invoked for incoming commands - PersistingEvents - where incoming commands are stashed until persistence completes - storingSnapshot - where incoming commands are stashed until snapshot storage completes

    This is implemented as such to avoid creating many EventSourced Running instances, which perform the Persistence extension lookup on creation and similar things (config lookup)

    See previous ReplayingEvents.