Class PersistAll<Event,​State>

  • All Implemented Interfaces:
    Effect<Event,​State>, ReplyEffect<Event,​State>, java.io.Serializable, scala.Equals, scala.Product, scala.Serializable

    public class PersistAll<Event,​State>
    extends EffectImpl<Event,​State>
    implements scala.Product, scala.Serializable
    INTERNAL API
    See Also:
    Serialized Form
    • Constructor Detail

      • PersistAll

        public PersistAll​(scala.collection.immutable.Seq<Event> events)
    • Method Detail

      • apply

        public static <Event,​State> PersistAll<Event,​State> apply​(scala.collection.immutable.Seq<Event> events)
      • unapply

        public static <Event,​State> scala.Option<scala.collection.immutable.Seq<Event>> unapply​(PersistAll<Event,​State> x$0)
      • thenRun

        public static final <NewState extends State> Effect<Event,​State> thenRun​(Procedure<NewState> callback)
      • thenRun

        public static final Effect<Event,​State> thenRun​(Effect callback)
      • thenReply

        public static <ReplyMessage> ReplyEffect<Event,​State> thenReply​(ExpectingReply<ReplyMessage> cmd,
                                                                              Function<State,​ReplyMessage> replyWithMessage)
      • thenRun

        public static final Effect<Event,​State> thenRun​(scala.Function1<State,​scala.runtime.BoxedUnit> callback)
      • andThen

        public static final Effect<Event,​State> andThen​(scala.collection.immutable.Seq<SideEffect<State>> chainedEffects)
      • thenReply

        public static <ReplyMessage> ReplyEffect<Event,​State> thenReply​(ExpectingReply<ReplyMessage> cmd,
                                                                              scala.Function1<State,​ReplyMessage> replyWithMessage)
      • thenUnstashAll

        public static EffectImpl<Event,​State> thenUnstashAll()
      • thenNoReply

        public static EffectImpl<Event,​State> thenNoReply()
      • thenStop

        public static EffectImpl<Event,​State> thenStop()
      • copy

        public <Event,​State> PersistAll<Event,​State> copy​(scala.collection.immutable.Seq<Event> events)
      • copy$default$1

        public <Event,​State> scala.collection.immutable.Seq<Event> copy$default$1()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        Overrides:
        equals in class java.lang.Object