Class PersistenceProbeBehavior.EventSourced<Command,Event,State>
java.lang.Object
org.apache.pekko.persistence.testkit.scaladsl.PersistenceProbeBehavior.EventSourced<Command,Event,State>
- All Implemented Interfaces:
Serializable,PersistenceProbeBehavior<Command,,State> scala.Equals,scala.Product
- Enclosing interface:
- PersistenceProbeBehavior<Command,
State>
public static final class PersistenceProbeBehavior.EventSourced<Command,Event,State>
extends Object
implements PersistenceProbeBehavior<Command,State>, scala.Product, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.pekko.persistence.testkit.scaladsl.PersistenceProbeBehavior
PersistenceProbeBehavior.DurableState<Command,State>, PersistenceProbeBehavior.DurableState$, PersistenceProbeBehavior.EventSourced<Command, Event, State>, PersistenceProbeBehavior.EventSourced$ -
Constructor Summary
ConstructorsConstructorDescriptionEventSourced(Behavior<Command> behavior, PersistenceProbe<Event> eventProbe, PersistenceProbe<State> stateProbe) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(scala.Function3<BehaviorTestKit<Command>, PersistenceProbe<Event>, PersistenceProbe<State>, scala.runtime.BoxedUnit> f) behavior()boolean<Command,Event, State>
PersistenceProbeBehavior.EventSourced<Command,Event, State> copy(Behavior<Command> behavior, PersistenceProbe<Event> eventProbe, PersistenceProbe<State> stateProbe) <Command,Event, State>
Behavior<Command><Command,Event, State>
PersistenceProbe<Event><Command,Event, State>
PersistenceProbe<State>booleaninthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
EventSourced
public EventSourced(Behavior<Command> behavior, PersistenceProbe<Event> eventProbe, PersistenceProbe<State> stateProbe)
-
-
Method Details
-
behaviorTestKit
- Specified by:
behaviorTestKitin interfacePersistenceProbeBehavior<Command,Event>
-
behavior
- Specified by:
behaviorin interfacePersistenceProbeBehavior<Command,Event>
-
eventProbe
-
stateProbe
- Specified by:
stateProbein interfacePersistenceProbeBehavior<Command,Event>
-
apply
public void apply(scala.Function3<BehaviorTestKit<Command>, PersistenceProbe<Event>, PersistenceProbe<State>, scala.runtime.BoxedUnit> f) -
snapshotProbe
-
copy
public <Command,Event, PersistenceProbeBehavior.EventSourced<Command,State> Event, copyState> (Behavior<Command> behavior, PersistenceProbe<Event> eventProbe, PersistenceProbe<State> stateProbe) -
copy$default$1
-
copy$default$2
-
copy$default$3
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-