Class UnpersistentBehavior.EventSourced<Command,Event,State>
- java.lang.Object
-
- akka.persistence.testkit.scaladsl.UnpersistentBehavior.EventSourced<Command,Event,State>
-
- All Implemented Interfaces:
UnpersistentBehavior<Command,State>
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing interface:
- UnpersistentBehavior<Command,State>
public static final class UnpersistentBehavior.EventSourced<Command,Event,State> extends java.lang.Object implements UnpersistentBehavior<Command,State>, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.persistence.testkit.scaladsl.UnpersistentBehavior
UnpersistentBehavior.DurableState<Command,State>, UnpersistentBehavior.DurableState$, UnpersistentBehavior.EventSourced<Command,Event,State>, UnpersistentBehavior.EventSourced$
-
-
Constructor Summary
Constructors Constructor Description EventSourced(Behavior<Command> behavior, PersistenceProbe<Event> eventProbe, PersistenceProbe<State> stateProbe)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(scala.Function3<BehaviorTestKit<Command>,PersistenceProbe<Event>,PersistenceProbe<State>,scala.runtime.BoxedUnit> f)
Behavior<Command>
behavior()
BehaviorTestKit<Command>
behaviorTestKit()
boolean
canEqual(java.lang.Object x$1)
<Command,Event,State>
UnpersistentBehavior.EventSourced<Command,Event,State>copy(Behavior<Command> behavior, PersistenceProbe<Event> eventProbe, PersistenceProbe<State> stateProbe)
<Command,Event,State>
Behavior<Command>copy$default$1()
<Command,Event,State>
PersistenceProbe<Event>copy$default$2()
<Command,Event,State>
PersistenceProbe<State>copy$default$3()
boolean
equals(java.lang.Object x$1)
PersistenceProbe<Event>
eventProbe()
int
hashCode()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
PersistenceProbe<State>
snapshotProbe()
PersistenceProbe<State>
stateProbe()
java.lang.String
toString()
-
-
-
Constructor Detail
-
EventSourced
public EventSourced(Behavior<Command> behavior, PersistenceProbe<Event> eventProbe, PersistenceProbe<State> stateProbe)
-
-
Method Detail
-
behaviorTestKit
public BehaviorTestKit<Command> behaviorTestKit()
- Specified by:
behaviorTestKit
in interfaceUnpersistentBehavior<Command,Event>
-
behavior
public Behavior<Command> behavior()
- Specified by:
behavior
in interfaceUnpersistentBehavior<Command,Event>
-
eventProbe
public PersistenceProbe<Event> eventProbe()
-
stateProbe
public PersistenceProbe<State> stateProbe()
- Specified by:
stateProbe
in interfaceUnpersistentBehavior<Command,Event>
-
apply
public void apply(scala.Function3<BehaviorTestKit<Command>,PersistenceProbe<Event>,PersistenceProbe<State>,scala.runtime.BoxedUnit> f)
-
snapshotProbe
public PersistenceProbe<State> snapshotProbe()
-
copy
public <Command,Event,State> UnpersistentBehavior.EventSourced<Command,Event,State> copy(Behavior<Command> behavior, PersistenceProbe<Event> eventProbe, PersistenceProbe<State> stateProbe)
-
copy$default$1
public <Command,Event,State> Behavior<Command> copy$default$1()
-
copy$default$2
public <Command,Event,State> PersistenceProbe<Event> copy$default$2()
-
copy$default$3
public <Command,Event,State> PersistenceProbe<State> copy$default$3()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-