Package akka.persistence.typed.javadsl
Interface Effect<Event,State>
-
- All Known Subinterfaces:
ReplyEffect<Event,State>
- All Known Implementing Classes:
EffectBuilder
,PersistNothing$
,Stash$
,Unhandled$
public interface Effect<Event,State>
A command handler returns anEffect
directive that defines what event or events to persist.Instances of
Effect
are available through factoriesEventSourcedBehavior.Effect
.Not intended for user extension.