Package akka.persistence.fsm
Class PersistentFSM.CurrentState<S>
- java.lang.Object
-
- akka.persistence.fsm.PersistentFSM.CurrentState<S>
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing interface:
- PersistentFSM<S extends PersistentFSM.FSMState,D,E>
public static final class PersistentFSM.CurrentState<S> extends java.lang.Object implements scala.Product, java.io.Serializable
Message type which is sent directly to the subscribed actor inFSM.SubscribeTransitionCallBack
before sending anyFSM.Transition
messages.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CurrentState(ActorRef fsmRef, S state, scala.Option<scala.concurrent.duration.FiniteDuration> timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEqual(java.lang.Object x$1)
<S> PersistentFSM.CurrentState<S>
copy(ActorRef fsmRef, S state, scala.Option<scala.concurrent.duration.FiniteDuration> timeout)
<S> ActorRef
copy$default$1()
<S> S
copy$default$2()
<S> scala.Option<scala.concurrent.duration.FiniteDuration>
copy$default$3()
boolean
equals(java.lang.Object x$1)
ActorRef
fsmRef()
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()
S
state()
scala.Option<scala.concurrent.duration.FiniteDuration>
timeout()
java.lang.String
toString()
-
-
-
Method Detail
-
fsmRef
public ActorRef fsmRef()
-
state
public S state()
-
timeout
public scala.Option<scala.concurrent.duration.FiniteDuration> timeout()
-
copy
public <S> PersistentFSM.CurrentState<S> copy(ActorRef fsmRef, S state, scala.Option<scala.concurrent.duration.FiniteDuration> timeout)
-
copy$default$1
public <S> ActorRef copy$default$1()
-
copy$default$2
public <S> S copy$default$2()
-
copy$default$3
public <S> scala.Option<scala.concurrent.duration.FiniteDuration> 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
-
-