Class EventSourcedBehaviorWithEnforcedReplies<Command,​Event,​State>


  • public abstract class EventSourcedBehaviorWithEnforcedReplies<Command,​Event,​State>
    extends EventSourcedBehavior<Command,​Event,​State>
    FIXME This is not completed for javadsl yet. The compiler is not enforcing the replies yet.

    A EventSourcedBehavior that is enforcing that replies to commands are not forgotten. There will be compilation errors if the returned effect isn't a ReplyEffect, which can be created with Effects().reply, Effects().noReply, Effect.thenReply, or Effect.thenNoReply.

    • Constructor Detail

      • EventSourcedBehaviorWithEnforcedReplies

        public EventSourcedBehaviorWithEnforcedReplies​(PersistenceId persistenceId,
                                                       java.util.Optional<BackoffSupervisorStrategy> backoffSupervisorStrategy)
      • EventSourcedBehaviorWithEnforcedReplies

        public EventSourcedBehaviorWithEnforcedReplies​(PersistenceId persistenceId)