Class UnpersistentBehavior.DurableState<Command,State>
- java.lang.Object
-
- akka.persistence.testkit.scaladsl.UnpersistentBehavior.DurableState<Command,State>
-
- All Implemented Interfaces:
UnpersistentBehavior<Command,State>
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing interface:
- UnpersistentBehavior<Command,State>
public static final class UnpersistentBehavior.DurableState<Command,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 DurableState(Behavior<Command> behavior, PersistenceProbe<State> stateProbe)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(scala.Function2<BehaviorTestKit<Command>,PersistenceProbe<State>,scala.runtime.BoxedUnit> f)
Behavior<Command>
behavior()
BehaviorTestKit<Command>
behaviorTestKit()
boolean
canEqual(java.lang.Object x$1)
<Command,State>
UnpersistentBehavior.DurableState<Command,State>copy(Behavior<Command> behavior, PersistenceProbe<State> stateProbe)
<Command,State>
Behavior<Command>copy$default$1()
<Command,State>
PersistenceProbe<State>copy$default$2()
boolean
equals(java.lang.Object x$1)
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>
stateProbe()
java.lang.String
toString()
-
-
-
Constructor Detail
-
DurableState
public DurableState(Behavior<Command> behavior, PersistenceProbe<State> stateProbe)
-
-
Method Detail
-
behaviorTestKit
public BehaviorTestKit<Command> behaviorTestKit()
- Specified by:
behaviorTestKit
in interfaceUnpersistentBehavior<Command,State>
-
behavior
public Behavior<Command> behavior()
- Specified by:
behavior
in interfaceUnpersistentBehavior<Command,State>
-
stateProbe
public PersistenceProbe<State> stateProbe()
- Specified by:
stateProbe
in interfaceUnpersistentBehavior<Command,State>
-
apply
public void apply(scala.Function2<BehaviorTestKit<Command>,PersistenceProbe<State>,scala.runtime.BoxedUnit> f)
-
copy
public <Command,State> UnpersistentBehavior.DurableState<Command,State> copy(Behavior<Command> behavior, PersistenceProbe<State> stateProbe)
-
copy$default$1
public <Command,State> Behavior<Command> copy$default$1()
-
copy$default$2
public <Command,State> PersistenceProbe<State> copy$default$2()
-
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
-
-