Package org.apache.pekko.persistence.fsm
Class PersistentFSM.Event<D>
java.lang.Object
org.apache.pekko.persistence.fsm.PersistentFSM.Event<D>
- All Implemented Interfaces:
Serializable,NoSerializationVerificationNeeded,scala.Equals,scala.Product
- Enclosing interface:
- PersistentFSM<S extends PersistentFSM.FSMState,
D, E>
public static final class PersistentFSM.Event<D>
extends Object
implements NoSerializationVerificationNeeded, scala.Product, Serializable
All messages sent to the
pekko.actor.FSM will be wrapped inside an
Event, which allows pattern matching to extract both state and data.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean<D> PersistentFSM.Event<D><D> Object<D> Dbooleanevent()inthashCode()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
-
Event
-
-
Method Details
-
event
-
stateData
-
copy
-
copy$default$1
-
copy$default$2
public <D> D 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
-