Class PersistenceProbeBehavior.DurableState<Command,State>
java.lang.Object
org.apache.pekko.persistence.testkit.scaladsl.PersistenceProbeBehavior.DurableState<Command,State>
- All Implemented Interfaces:
Serializable,PersistenceProbeBehavior<Command,,State> scala.Equals,scala.Product
- Enclosing interface:
- PersistenceProbeBehavior<Command,
State>
public static final class PersistenceProbeBehavior.DurableState<Command,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
ConstructorsConstructorDescriptionDurableState(Behavior<Command> behavior, PersistenceProbe<State> stateProbe) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(scala.Function2<BehaviorTestKit<Command>, PersistenceProbe<State>, scala.runtime.BoxedUnit> f) behavior()boolean<Command,State>
PersistenceProbeBehavior.DurableState<Command,State> copy(Behavior<Command> behavior, PersistenceProbe<State> stateProbe) <Command,State>
Behavior<Command><Command,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
-
DurableState
-
-
Method Details
-
behaviorTestKit
- Specified by:
behaviorTestKitin interfacePersistenceProbeBehavior<Command,State>
-
behavior
- Specified by:
behaviorin interfacePersistenceProbeBehavior<Command,State>
-
stateProbe
- Specified by:
stateProbein interfacePersistenceProbeBehavior<Command,State>
-
apply
public void apply(scala.Function2<BehaviorTestKit<Command>, PersistenceProbe<State>, scala.runtime.BoxedUnit> f) -
copy
public <Command,State> PersistenceProbeBehavior.DurableState<Command,State> copy(Behavior<Command> behavior, PersistenceProbe<State> stateProbe) -
copy$default$1
-
copy$default$2
-
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
-