Package org.apache.pekko.actor
Class FSM.State<S,D> 
java.lang.Object
org.apache.pekko.actor.FSM.State<S,D> 
- All Implemented Interfaces:
- Serializable,- scala.Equals,- scala.Product
- Direct Known Subclasses:
- FSM.SilentState
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionState(S stateName, D stateData, scala.Option<scala.concurrent.duration.FiniteDuration> timeout, scala.Option<FSM.Reason> stopReason, scala.collection.immutable.List<Object> replies) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleancopy(S stateName, D stateData, scala.Option<scala.concurrent.duration.FiniteDuration> timeout, scala.Option<FSM.Reason> stopReason, scala.collection.immutable.List<Object> replies) scala.Option<scala.concurrent.duration.FiniteDuration>scala.Option<FSM.Reason>scala.collection.immutable.List<Object>booleanJAVA API: Modify state transition descriptor to include a state timeout for the next state.forMax(scala.concurrent.duration.Duration timeout) Modify state transition descriptor to include a state timeout for the next state.intproductElement(int n) scala.collection.immutable.List<Object>replies()Send reply to sender of the current message, if available.scala.Option<FSM.Reason>scala.Option<scala.concurrent.duration.FiniteDuration>timeout()Modify state transition descriptor with new state data.Methods inherited from class java.lang.Objectclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.ProductproductElementName, productElementNames, productIterator
- 
Constructor Details- 
Statepublic State(S stateName, D stateData, scala.Option<scala.concurrent.duration.FiniteDuration> timeout, scala.Option<FSM.Reason> stopReason, scala.collection.immutable.List<Object> replies) 
 
- 
- 
Method Details- 
stateName
- 
stateData
- 
timeoutpublic scala.Option<scala.concurrent.duration.FiniteDuration> timeout()
- 
stopReason
- 
replies
- 
canEqual- Specified by:
- canEqualin interface- scala.Equals
 
- 
equals
- 
productPrefix- Specified by:
- productPrefixin interface- scala.Product
 
- 
productAritypublic int productArity()- Specified by:
- productArityin interface- scala.Product
 
- 
productElement- Specified by:
- productElementin interface- scala.Product
 
- 
copy
- 
copy$default$1
- 
copy$default$2
- 
copy$default$3public scala.Option<scala.concurrent.duration.FiniteDuration> copy$default$3()
- 
copy$default$4
- 
copy$default$5
- 
forMaxModify state transition descriptor to include a state timeout for the next state. This timeout overrides any default timeout set for the next state.Use Duration.Inf to deactivate an existing timeout. 
- 
forMaxJAVA API: Modify state transition descriptor to include a state timeout for the next state. This timeout overrides any default timeout set for the next state.Use Duration.Inf to deactivate an existing timeout. 
- 
replyingSend reply to sender of the current message, if available.- Returns:
- this state transition descriptor
 
- 
usingModify state transition descriptor with new state data. The data will be set when transitioning to the new state.
 
-