Package com.uber.cadence.internal.replay
Class UpsertSearchAttributesDecisionStateMachine
- java.lang.Object
-
- com.uber.cadence.internal.replay.UpsertSearchAttributesDecisionStateMachine
-
public class UpsertSearchAttributesDecisionStateMachine extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected com.uber.cadence.internal.replay.DecisionState
state
protected java.util.List<java.lang.String>
stateHistory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cancel(java.lang.Runnable immediateCancellationCallback)
protected void
failStateTransition()
Decision
getDecision()
com.uber.cadence.internal.replay.DecisionId
getId()
com.uber.cadence.internal.replay.DecisionState
getState()
void
handleCancellationEvent()
void
handleCancellationFailureEvent(HistoryEvent event)
void
handleCancellationInitiatedEvent()
void
handleCompletionEvent()
void
handleDecisionTaskStartedEvent()
void
handleInitiatedEvent(HistoryEvent event)
void
handleInitiationFailedEvent(HistoryEvent event)
void
handleStartedEvent(HistoryEvent event)
boolean
isDone()
java.lang.String
toString()
-
-
-
Method Detail
-
getDecision
public Decision getDecision()
-
getState
public com.uber.cadence.internal.replay.DecisionState getState()
-
getId
public com.uber.cadence.internal.replay.DecisionId getId()
-
isDone
public boolean isDone()
-
handleDecisionTaskStartedEvent
public void handleDecisionTaskStartedEvent()
-
cancel
public boolean cancel(java.lang.Runnable immediateCancellationCallback)
-
handleInitiatedEvent
public void handleInitiatedEvent(HistoryEvent event)
-
handleInitiationFailedEvent
public void handleInitiationFailedEvent(HistoryEvent event)
-
handleStartedEvent
public void handleStartedEvent(HistoryEvent event)
-
handleCompletionEvent
public void handleCompletionEvent()
-
handleCancellationInitiatedEvent
public void handleCancellationInitiatedEvent()
-
handleCancellationFailureEvent
public void handleCancellationFailureEvent(HistoryEvent event)
-
handleCancellationEvent
public void handleCancellationEvent()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
failStateTransition
protected void failStateTransition()
-
-