Documentation ¶
Overview ¶
Package execution is a generated GoMock package.
Package execution is a generated GoMock package.
Package execution is a generated GoMock package.
Package execution is a generated GoMock package.
Package execution is a generated GoMock package.
Package execution is a generated GoMock package.
Package execution is a generated GoMock package.
Package execution is a generated GoMock package.
Package execution is a generated GoMock package.
Index ¶
- Constants
- Variables
- func CopyActivityInfo(sourceInfo *persistence.ActivityInfo) *persistence.ActivityInfo
- func CopyCancellationInfo(sourceInfo *persistence.RequestCancelInfo) *persistence.RequestCancelInfo
- func CopyChildInfo(sourceInfo *persistence.ChildExecutionInfo) *persistence.ChildExecutionInfo
- func CopyReplicationState(source *persistence.ReplicationState) *persistence.ReplicationState
- func CopySignalInfo(sourceInfo *persistence.SignalInfo) *persistence.SignalInfo
- func CopyTimerInfo(sourceInfo *persistence.TimerInfo) *persistence.TimerInfo
- func CopyWorkflowExecutionInfo(sourceInfo *persistence.WorkflowExecutionInfo) *persistence.WorkflowExecutionInfo
- func CreatePersistenceMutableState(ms MutableState) *persistence.WorkflowMutableState
- func FailDecision(mutableState MutableState, decision *DecisionInfo, ...) error
- func FindAutoResetPoint(timeSource clock.TimeSource, badBinaries *workflow.BadBinaries, ...) (string, *workflow.ResetPointInfo)
- func ScheduleDecision(mutableState MutableState) error
- func TerminateWorkflow(mutableState MutableState, eventBatchFirstEventID int64, ...) error
- func TimerTypeToReason(timerType TimerType) string
- func TimerTypeToThrift(TimerType TimerType) shared.TimeoutType
- func TimerTypeToTimerMask(TimerType TimerType) int32
- type Cache
- func (c *Cache) GetAndCreateWorkflowExecution(ctx context.Context, domainID string, execution workflow.WorkflowExecution) (Context, Context, ReleaseFunc, bool, error)
- func (c *Cache) GetOrCreateCurrentWorkflowExecution(ctx context.Context, domainID string, workflowID string) (Context, ReleaseFunc, error)
- func (c *Cache) GetOrCreateWorkflowExecution(ctx context.Context, domainID string, execution workflow.WorkflowExecution) (Context, ReleaseFunc, error)
- func (c *Cache) GetOrCreateWorkflowExecutionForBackground(domainID string, execution workflow.WorkflowExecution) (Context, ReleaseFunc, error)
- func (c *Cache) GetOrCreateWorkflowExecutionWithTimeout(domainID string, execution workflow.WorkflowExecution, timeout time.Duration) (Context, ReleaseFunc, error)
- type Context
- type DecisionInfo
- type HistoryBuilder
- func (b *HistoryBuilder) AddActivityTaskCancelRequestedEvent(decisionCompletedEventID int64, activityID string) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddActivityTaskCanceledEvent(scheduleEventID, startedEventID int64, latestCancelRequestedEventID int64, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddActivityTaskCompletedEvent(scheduleEventID, startedEventID int64, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddActivityTaskFailedEvent(scheduleEventID, startedEventID int64, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddActivityTaskScheduledEvent(decisionCompletedEventID int64, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddActivityTaskStartedEvent(scheduleEventID int64, attempt int32, requestID string, identity string, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddActivityTaskTimedOutEvent(scheduleEventID, startedEventID int64, timeoutType workflow.TimeoutType, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddCancelTimerFailedEvent(timerID string, decisionTaskCompletedEventID int64, cause string, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddChildWorkflowExecutionCanceledEvent(domain *string, execution *workflow.WorkflowExecution, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddChildWorkflowExecutionCompletedEvent(domain *string, execution *workflow.WorkflowExecution, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddChildWorkflowExecutionFailedEvent(domain *string, execution *workflow.WorkflowExecution, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddChildWorkflowExecutionStartedEvent(domain *string, execution *workflow.WorkflowExecution, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddChildWorkflowExecutionTerminatedEvent(domain *string, execution *workflow.WorkflowExecution, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddChildWorkflowExecutionTimedOutEvent(domain *string, execution *workflow.WorkflowExecution, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddCompletedWorkflowEvent(decisionCompletedEventID int64, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddContinuedAsNewEvent(decisionCompletedEventID int64, newRunID string, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddDecisionTaskCompletedEvent(scheduleEventID, startedEventID int64, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddDecisionTaskFailedEvent(attr workflow.DecisionTaskFailedEventAttributes) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddDecisionTaskScheduledEvent(taskList string, startToCloseTimeoutSeconds int32, attempt int64) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddDecisionTaskStartedEvent(scheduleEventID int64, requestID string, identity string) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddDecisionTaskTimedOutEvent(scheduleEventID int64, startedEventID int64, timeoutType workflow.TimeoutType) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddExternalWorkflowExecutionCancelRequested(initiatedEventID int64, domain, workflowID, runID string) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddExternalWorkflowExecutionSignaled(initiatedEventID int64, domain, workflowID, runID string, control []byte) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddFailWorkflowEvent(decisionCompletedEventID int64, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddMarkerRecordedEvent(decisionCompletedEventID int64, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddRequestCancelActivityTaskFailedEvent(decisionCompletedEventID int64, activityID string, cause string) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddRequestCancelExternalWorkflowExecutionFailedEvent(decisionTaskCompletedEventID, initiatedEventID int64, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddRequestCancelExternalWorkflowExecutionInitiatedEvent(decisionTaskCompletedEventID int64, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddSignalExternalWorkflowExecutionFailedEvent(decisionTaskCompletedEventID, initiatedEventID int64, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddSignalExternalWorkflowExecutionInitiatedEvent(decisionTaskCompletedEventID int64, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddStartChildWorkflowExecutionFailedEvent(initiatedID int64, cause workflow.ChildWorkflowExecutionFailedCause, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddStartChildWorkflowExecutionInitiatedEvent(decisionCompletedEventID int64, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddTimeoutWorkflowEvent() *workflow.HistoryEvent
- func (b *HistoryBuilder) AddTimerCanceledEvent(startedEventID int64, decisionTaskCompletedEventID int64, timerID string, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddTimerFiredEvent(startedEventID int64, timerID string) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddTimerStartedEvent(decisionCompletedEventID int64, request *workflow.StartTimerDecisionAttributes) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddTransientDecisionTaskScheduledEvent(taskList string, startToCloseTimeoutSeconds int32, attempt int64, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddTransientDecisionTaskStartedEvent(scheduleEventID int64, requestID string, identity string, timestamp int64) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddUpsertWorkflowSearchAttributesEvent(decisionTaskCompletedEventID int64, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddWorkflowExecutionCancelRequestedEvent(cause string, request *h.RequestCancelWorkflowExecutionRequest) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddWorkflowExecutionCanceledEvent(decisionTaskCompletedEventID int64, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddWorkflowExecutionSignaledEvent(signalName string, input []byte, identity string) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddWorkflowExecutionStartedEvent(request *h.StartWorkflowExecutionRequest, ...) *workflow.HistoryEvent
- func (b *HistoryBuilder) AddWorkflowExecutionTerminatedEvent(reason string, details []byte, identity string) *workflow.HistoryEvent
- func (b *HistoryBuilder) GetFirstEvent() *workflow.HistoryEvent
- func (b *HistoryBuilder) GetHistory() *workflow.History
- func (b *HistoryBuilder) HasTransientEvents() bool
- func (b *HistoryBuilder) SetHistory(history *workflow.History)
- type MockContext
- func (m *MockContext) Clear()
- func (m *MockContext) ConflictResolveWorkflowExecution(now time.Time, conflictResolveMode persistence.ConflictResolveWorkflowMode, ...) error
- func (m *MockContext) CreateWorkflowExecution(newWorkflow *persistence.WorkflowSnapshot, historySize int64, now time.Time, ...) error
- func (m *MockContext) EXPECT() *MockContextMockRecorder
- func (m *MockContext) GetDomainID() string
- func (m *MockContext) GetDomainName() string
- func (m *MockContext) GetExecution() *shared.WorkflowExecution
- func (m *MockContext) GetHistorySize() int64
- func (m *MockContext) GetWorkflowExecution() MutableState
- func (m *MockContext) LoadExecutionStats() (*persistence.ExecutionStats, error)
- func (m *MockContext) LoadWorkflowExecution() (MutableState, error)
- func (m *MockContext) LoadWorkflowExecutionForReplication(incomingVersion int64) (MutableState, error)
- func (m *MockContext) Lock(ctx context.Context) error
- func (m *MockContext) PersistFirstWorkflowEvents(workflowEvents *persistence.WorkflowEvents) (int64, error)
- func (m *MockContext) PersistNonFirstWorkflowEvents(workflowEvents *persistence.WorkflowEvents) (int64, error)
- func (m *MockContext) ReapplyEvents(eventBatches []*persistence.WorkflowEvents) error
- func (m *MockContext) ResetWorkflowExecution(currMutableState MutableState, updateCurr bool, ...) error
- func (m *MockContext) SetHistorySize(size int64)
- func (m *MockContext) SetWorkflowExecution(mutableState MutableState)
- func (m *MockContext) Unlock()
- func (m *MockContext) UpdateWorkflowExecutionAsActive(now time.Time) error
- func (m *MockContext) UpdateWorkflowExecutionAsPassive(now time.Time) error
- func (m *MockContext) UpdateWorkflowExecutionWithNew(now time.Time, updateMode persistence.UpdateWorkflowMode, newContext Context, ...) error
- func (m *MockContext) UpdateWorkflowExecutionWithNewAsActive(now time.Time, newContext Context, newMutableState MutableState) error
- func (m *MockContext) UpdateWorkflowExecutionWithNewAsPassive(now time.Time, newContext Context, newMutableState MutableState) error
- type MockContextMockRecorder
- func (mr *MockContextMockRecorder) Clear() *gomock.Call
- func (mr *MockContextMockRecorder) ConflictResolveWorkflowExecution(...) *gomock.Call
- func (mr *MockContextMockRecorder) CreateWorkflowExecution(...) *gomock.Call
- func (mr *MockContextMockRecorder) GetDomainID() *gomock.Call
- func (mr *MockContextMockRecorder) GetDomainName() *gomock.Call
- func (mr *MockContextMockRecorder) GetExecution() *gomock.Call
- func (mr *MockContextMockRecorder) GetHistorySize() *gomock.Call
- func (mr *MockContextMockRecorder) GetWorkflowExecution() *gomock.Call
- func (mr *MockContextMockRecorder) LoadExecutionStats() *gomock.Call
- func (mr *MockContextMockRecorder) LoadWorkflowExecution() *gomock.Call
- func (mr *MockContextMockRecorder) LoadWorkflowExecutionForReplication(incomingVersion interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Lock(ctx interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) PersistFirstWorkflowEvents(workflowEvents interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) PersistNonFirstWorkflowEvents(workflowEvents interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ReapplyEvents(eventBatches interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ResetWorkflowExecution(...) *gomock.Call
- func (mr *MockContextMockRecorder) SetHistorySize(size interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) SetWorkflowExecution(mutableState interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Unlock() *gomock.Call
- func (mr *MockContextMockRecorder) UpdateWorkflowExecutionAsActive(now interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) UpdateWorkflowExecutionAsPassive(now interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) UpdateWorkflowExecutionWithNew(...) *gomock.Call
- func (mr *MockContextMockRecorder) UpdateWorkflowExecutionWithNewAsActive(now, newContext, newMutableState interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) UpdateWorkflowExecutionWithNewAsPassive(now, newContext, newMutableState interface{}) *gomock.Call
- type MockMutableState
- func (m *MockMutableState) AddActivityTaskCancelRequestedEvent(arg0 int64, arg1, arg2 string) (*shared.HistoryEvent, *persistence.ActivityInfo, error)
- func (m *MockMutableState) AddActivityTaskCanceledEvent(arg0, arg1, arg2 int64, arg3 []uint8, arg4 string) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddActivityTaskCompletedEvent(arg0, arg1 int64, arg2 *shared.RespondActivityTaskCompletedRequest) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddActivityTaskFailedEvent(arg0, arg1 int64, arg2 *shared.RespondActivityTaskFailedRequest) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddActivityTaskScheduledEvent(arg0 int64, arg1 *shared.ScheduleActivityTaskDecisionAttributes) (*shared.HistoryEvent, *persistence.ActivityInfo, error)
- func (m *MockMutableState) AddActivityTaskStartedEvent(arg0 *persistence.ActivityInfo, arg1 int64, arg2, arg3 string) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddActivityTaskTimedOutEvent(arg0, arg1 int64, arg2 shared.TimeoutType, arg3 []uint8) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddCancelTimerFailedEvent(arg0 int64, arg1 *shared.CancelTimerDecisionAttributes, arg2 string) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddChildWorkflowExecutionCanceledEvent(arg0 int64, arg1 *shared.WorkflowExecution, ...) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddChildWorkflowExecutionCompletedEvent(arg0 int64, arg1 *shared.WorkflowExecution, ...) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddChildWorkflowExecutionFailedEvent(arg0 int64, arg1 *shared.WorkflowExecution, ...) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddChildWorkflowExecutionStartedEvent(arg0 *string, arg1 *shared.WorkflowExecution, arg2 *shared.WorkflowType, ...) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddChildWorkflowExecutionTerminatedEvent(arg0 int64, arg1 *shared.WorkflowExecution, ...) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddChildWorkflowExecutionTimedOutEvent(arg0 int64, arg1 *shared.WorkflowExecution, ...) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddCompletedWorkflowEvent(arg0 int64, arg1 *shared.CompleteWorkflowExecutionDecisionAttributes) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddContinueAsNewEvent(arg0, arg1 int64, arg2 string, ...) (*shared.HistoryEvent, MutableState, error)
- func (m *MockMutableState) AddDecisionTaskCompletedEvent(arg0, arg1 int64, arg2 *shared.RespondDecisionTaskCompletedRequest, arg3 int) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddDecisionTaskFailedEvent(scheduleEventID, startedEventID int64, cause shared.DecisionTaskFailedCause, ...) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddDecisionTaskScheduleToStartTimeoutEvent(arg0 int64) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddDecisionTaskScheduledEvent(bypassTaskGeneration bool) (*DecisionInfo, error)
- func (m *MockMutableState) AddDecisionTaskScheduledEventAsHeartbeat(bypassTaskGeneration bool, originalScheduledTimestamp int64) (*DecisionInfo, error)
- func (m *MockMutableState) AddDecisionTaskStartedEvent(arg0 int64, arg1 string, arg2 *shared.PollForDecisionTaskRequest) (*shared.HistoryEvent, *DecisionInfo, error)
- func (m *MockMutableState) AddDecisionTaskTimedOutEvent(arg0, arg1 int64) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddExternalWorkflowExecutionCancelRequested(arg0 int64, arg1, arg2, arg3 string) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddExternalWorkflowExecutionSignaled(arg0 int64, arg1, arg2, arg3 string, arg4 []uint8) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddFailWorkflowEvent(arg0 int64, arg1 *shared.FailWorkflowExecutionDecisionAttributes) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddFirstDecisionTaskScheduled(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) AddRecordMarkerEvent(arg0 int64, arg1 *shared.RecordMarkerDecisionAttributes) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddRequestCancelActivityTaskFailedEvent(arg0 int64, arg1, arg2 string) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddRequestCancelExternalWorkflowExecutionFailedEvent(arg0, arg1 int64, arg2, arg3, arg4 string, ...) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddRequestCancelExternalWorkflowExecutionInitiatedEvent(arg0 int64, arg1 string, ...) (*shared.HistoryEvent, *persistence.RequestCancelInfo, error)
- func (m *MockMutableState) AddSignalExternalWorkflowExecutionFailedEvent(arg0, arg1 int64, arg2, arg3, arg4 string, arg5 []uint8, ...) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddSignalExternalWorkflowExecutionInitiatedEvent(arg0 int64, arg1 string, ...) (*shared.HistoryEvent, *persistence.SignalInfo, error)
- func (m *MockMutableState) AddSignalRequested(requestID string)
- func (m *MockMutableState) AddStartChildWorkflowExecutionFailedEvent(arg0 int64, arg1 shared.ChildWorkflowExecutionFailedCause, ...) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddStartChildWorkflowExecutionInitiatedEvent(arg0 int64, arg1 string, ...) (*shared.HistoryEvent, *persistence.ChildExecutionInfo, error)
- func (m *MockMutableState) AddTimeoutWorkflowEvent(arg0 int64) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddTimerCanceledEvent(arg0 int64, arg1 *shared.CancelTimerDecisionAttributes, arg2 string) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddTimerFiredEvent(arg0 string) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddTimerStartedEvent(arg0 int64, arg1 *shared.StartTimerDecisionAttributes) (*shared.HistoryEvent, *persistence.TimerInfo, error)
- func (m *MockMutableState) AddTimerTasks(timerTasks ...persistence.Task)
- func (m *MockMutableState) AddTransferTasks(transferTasks ...persistence.Task)
- func (m *MockMutableState) AddUpsertWorkflowSearchAttributesEvent(arg0 int64, arg1 *shared.UpsertWorkflowSearchAttributesDecisionAttributes) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddWorkflowExecutionCancelRequestedEvent(arg0 string, arg1 *history.RequestCancelWorkflowExecutionRequest) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddWorkflowExecutionCanceledEvent(arg0 int64, arg1 *shared.CancelWorkflowExecutionDecisionAttributes) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddWorkflowExecutionSignaled(signalName string, input []byte, identity string) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddWorkflowExecutionStartedEvent(arg0 shared.WorkflowExecution, arg1 *history.StartWorkflowExecutionRequest) (*shared.HistoryEvent, error)
- func (m *MockMutableState) AddWorkflowExecutionTerminatedEvent(firstEventID int64, reason string, details []byte, identity string) (*shared.HistoryEvent, error)
- func (m *MockMutableState) CheckResettable() error
- func (m *MockMutableState) ClearStickyness()
- func (m *MockMutableState) CloseTransactionAsMutation(now time.Time, transactionPolicy TransactionPolicy) (*persistence.WorkflowMutation, []*persistence.WorkflowEvents, error)
- func (m *MockMutableState) CloseTransactionAsSnapshot(now time.Time, transactionPolicy TransactionPolicy) (*persistence.WorkflowSnapshot, []*persistence.WorkflowEvents, error)
- func (m *MockMutableState) CopyToPersistence() *persistence.WorkflowMutableState
- func (m *MockMutableState) CreateNewHistoryEvent(eventType shared.EventType) *shared.HistoryEvent
- func (m *MockMutableState) CreateNewHistoryEventWithTimestamp(eventType shared.EventType, timestamp int64) *shared.HistoryEvent
- func (m *MockMutableState) CreateTransientDecisionEvents(di *DecisionInfo, identity string) (*shared.HistoryEvent, *shared.HistoryEvent)
- func (m *MockMutableState) DeleteDecision()
- func (m *MockMutableState) DeleteSignalRequested(requestID string)
- func (m *MockMutableState) DeleteTimerTasks()
- func (m *MockMutableState) DeleteTransferTasks()
- func (m *MockMutableState) EXPECT() *MockMutableStateMockRecorder
- func (m *MockMutableState) FailDecision(arg0 bool)
- func (m *MockMutableState) FlushBufferedEvents() error
- func (m *MockMutableState) GetActivityByActivityID(arg0 string) (*persistence.ActivityInfo, bool)
- func (m *MockMutableState) GetActivityInfo(arg0 int64) (*persistence.ActivityInfo, bool)
- func (m *MockMutableState) GetActivityScheduledEvent(arg0 int64) (*shared.HistoryEvent, error)
- func (m *MockMutableState) GetChildExecutionInfo(arg0 int64) (*persistence.ChildExecutionInfo, bool)
- func (m *MockMutableState) GetChildExecutionInitiatedEvent(arg0 int64) (*shared.HistoryEvent, error)
- func (m *MockMutableState) GetCompletionEvent() (*shared.HistoryEvent, error)
- func (m *MockMutableState) GetCronBackoffDuration() (time.Duration, error)
- func (m *MockMutableState) GetCurrentBranchToken() ([]byte, error)
- func (m *MockMutableState) GetCurrentVersion() int64
- func (m *MockMutableState) GetDecisionInfo(arg0 int64) (*DecisionInfo, bool)
- func (m *MockMutableState) GetDomainEntry() *cache.DomainCacheEntry
- func (m *MockMutableState) GetExecutionInfo() *persistence.WorkflowExecutionInfo
- func (m *MockMutableState) GetHistoryBuilder() *HistoryBuilder
- func (m *MockMutableState) GetInFlightDecision() (*DecisionInfo, bool)
- func (m *MockMutableState) GetLastFirstEventID() int64
- func (m *MockMutableState) GetLastWriteVersion() (int64, error)
- func (m *MockMutableState) GetNextEventID() int64
- func (m *MockMutableState) GetPendingActivityInfos() map[int64]*persistence.ActivityInfo
- func (m *MockMutableState) GetPendingChildExecutionInfos() map[int64]*persistence.ChildExecutionInfo
- func (m *MockMutableState) GetPendingDecision() (*DecisionInfo, bool)
- func (m *MockMutableState) GetPendingRequestCancelExternalInfos() map[int64]*persistence.RequestCancelInfo
- func (m *MockMutableState) GetPendingSignalExternalInfos() map[int64]*persistence.SignalInfo
- func (m *MockMutableState) GetPendingTimerInfos() map[string]*persistence.TimerInfo
- func (m *MockMutableState) GetPreviousStartedEventID() int64
- func (m *MockMutableState) GetQueryRegistry() query.Registry
- func (m *MockMutableState) GetReplicationState() *persistence.ReplicationState
- func (m *MockMutableState) GetRequestCancelInfo(arg0 int64) (*persistence.RequestCancelInfo, bool)
- func (m *MockMutableState) GetRetryBackoffDuration(errReason string) time.Duration
- func (m *MockMutableState) GetSignalInfo(arg0 int64) (*persistence.SignalInfo, bool)
- func (m *MockMutableState) GetStartEvent() (*shared.HistoryEvent, error)
- func (m *MockMutableState) GetStartVersion() (int64, error)
- func (m *MockMutableState) GetTimerTasks() []persistence.Task
- func (m *MockMutableState) GetTransferTasks() []persistence.Task
- func (m *MockMutableState) GetUpdateCondition() int64
- func (m *MockMutableState) GetUserTimerInfo(arg0 string) (*persistence.TimerInfo, bool)
- func (m *MockMutableState) GetUserTimerInfoByEventID(arg0 int64) (*persistence.TimerInfo, bool)
- func (m *MockMutableState) GetVersionHistories() *persistence.VersionHistories
- func (m *MockMutableState) GetWorkflowStateCloseStatus() (int, int)
- func (m *MockMutableState) GetWorkflowType() *shared.WorkflowType
- func (m *MockMutableState) HasBufferedEvents() bool
- func (m *MockMutableState) HasInFlightDecision() bool
- func (m *MockMutableState) HasParentExecution() bool
- func (m *MockMutableState) HasPendingDecision() bool
- func (m *MockMutableState) HasProcessedOrPendingDecision() bool
- func (m *MockMutableState) IsCancelRequested() (bool, string)
- func (m *MockMutableState) IsCurrentWorkflowGuaranteed() bool
- func (m *MockMutableState) IsResourceDuplicated(resourceDedupKey definition.DeduplicationID) bool
- func (m *MockMutableState) IsSignalRequested(requestID string) bool
- func (m *MockMutableState) IsStickyTaskListEnabled() bool
- func (m *MockMutableState) IsWorkflowExecutionRunning() bool
- func (m *MockMutableState) Load(arg0 *persistence.WorkflowMutableState)
- func (m *MockMutableState) ReplicateActivityInfo(arg0 *history.SyncActivityRequest, arg1 bool) error
- func (m *MockMutableState) ReplicateActivityTaskCancelRequestedEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateActivityTaskCanceledEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateActivityTaskCompletedEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateActivityTaskFailedEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateActivityTaskScheduledEvent(arg0 int64, arg1 *shared.HistoryEvent) (*persistence.ActivityInfo, error)
- func (m *MockMutableState) ReplicateActivityTaskStartedEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateActivityTaskTimedOutEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateChildWorkflowExecutionCanceledEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateChildWorkflowExecutionCompletedEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateChildWorkflowExecutionFailedEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateChildWorkflowExecutionStartedEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateChildWorkflowExecutionTerminatedEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateChildWorkflowExecutionTimedOutEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateDecisionTaskCompletedEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateDecisionTaskFailedEvent() error
- func (m *MockMutableState) ReplicateDecisionTaskScheduledEvent(arg0, arg1 int64, arg2 string, arg3 int32, arg4, arg5, arg6 int64) (*DecisionInfo, error)
- func (m *MockMutableState) ReplicateDecisionTaskStartedEvent(arg0 *DecisionInfo, arg1, arg2, arg3 int64, arg4 string, arg5 int64) (*DecisionInfo, error)
- func (m *MockMutableState) ReplicateDecisionTaskTimedOutEvent(arg0 shared.TimeoutType) error
- func (m *MockMutableState) ReplicateExternalWorkflowExecutionCancelRequested(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateExternalWorkflowExecutionSignaled(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateRequestCancelExternalWorkflowExecutionFailedEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateRequestCancelExternalWorkflowExecutionInitiatedEvent(arg0 int64, arg1 *shared.HistoryEvent, arg2 string) (*persistence.RequestCancelInfo, error)
- func (m *MockMutableState) ReplicateSignalExternalWorkflowExecutionFailedEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateSignalExternalWorkflowExecutionInitiatedEvent(arg0 int64, arg1 *shared.HistoryEvent, arg2 string) (*persistence.SignalInfo, error)
- func (m *MockMutableState) ReplicateStartChildWorkflowExecutionFailedEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateStartChildWorkflowExecutionInitiatedEvent(arg0 int64, arg1 *shared.HistoryEvent, arg2 string) (*persistence.ChildExecutionInfo, error)
- func (m *MockMutableState) ReplicateTimerCanceledEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateTimerFiredEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateTimerStartedEvent(arg0 *shared.HistoryEvent) (*persistence.TimerInfo, error)
- func (m *MockMutableState) ReplicateTransientDecisionTaskScheduled() (*DecisionInfo, error)
- func (m *MockMutableState) ReplicateUpsertWorkflowSearchAttributesEvent(arg0 *shared.HistoryEvent)
- func (m *MockMutableState) ReplicateWorkflowExecutionCancelRequestedEvent(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateWorkflowExecutionCanceledEvent(arg0 int64, arg1 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateWorkflowExecutionCompletedEvent(arg0 int64, arg1 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateWorkflowExecutionContinuedAsNewEvent(arg0 int64, arg1 string, arg2 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateWorkflowExecutionFailedEvent(arg0 int64, arg1 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateWorkflowExecutionSignaled(arg0 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateWorkflowExecutionStartedEvent(arg0 *string, arg1 shared.WorkflowExecution, arg2 string, ...) error
- func (m *MockMutableState) ReplicateWorkflowExecutionTerminatedEvent(arg0 int64, arg1 *shared.HistoryEvent) error
- func (m *MockMutableState) ReplicateWorkflowExecutionTimedoutEvent(arg0 int64, arg1 *shared.HistoryEvent) error
- func (m *MockMutableState) RetryActivity(ai *persistence.ActivityInfo, failureReason string, failureDetails []byte) (bool, error)
- func (m *MockMutableState) SetCurrentBranchToken(branchToken []byte) error
- func (m *MockMutableState) SetHistoryBuilder(hBuilder *HistoryBuilder)
- func (m *MockMutableState) SetHistoryTree(treeID string) error
- func (m *MockMutableState) SetQueryRegistry(arg0 query.Registry)
- func (m *MockMutableState) SetUpdateCondition(arg0 int64)
- func (m *MockMutableState) SetVersionHistories(arg0 *persistence.VersionHistories) error
- func (m *MockMutableState) StartTransaction(entry *cache.DomainCacheEntry) (bool, error)
- func (m *MockMutableState) StartTransactionSkipDecisionFail(entry *cache.DomainCacheEntry) error
- func (m *MockMutableState) UpdateActivity(arg0 *persistence.ActivityInfo) error
- func (m *MockMutableState) UpdateActivityProgress(ai *persistence.ActivityInfo, ...)
- func (m *MockMutableState) UpdateCurrentVersion(version int64, forceUpdate bool) error
- func (m *MockMutableState) UpdateDecision(arg0 *DecisionInfo)
- func (m *MockMutableState) UpdateDuplicatedResource(resourceDedupKey definition.DeduplicationID)
- func (m *MockMutableState) UpdateReplicationStateLastEventID(arg0, arg1 int64)
- func (m *MockMutableState) UpdateReplicationStateVersion(arg0 int64, arg1 bool)
- func (m *MockMutableState) UpdateUserTimer(arg0 *persistence.TimerInfo) error
- func (m *MockMutableState) UpdateWorkflowStateCloseStatus(state, closeStatus int) error
- type MockMutableStateMockRecorder
- func (mr *MockMutableStateMockRecorder) AddActivityTaskCancelRequestedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddActivityTaskCanceledEvent(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddActivityTaskCompletedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddActivityTaskFailedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddActivityTaskScheduledEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddActivityTaskStartedEvent(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddActivityTaskTimedOutEvent(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddCancelTimerFailedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddChildWorkflowExecutionCanceledEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddChildWorkflowExecutionCompletedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddChildWorkflowExecutionFailedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddChildWorkflowExecutionStartedEvent(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddChildWorkflowExecutionTerminatedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddChildWorkflowExecutionTimedOutEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddCompletedWorkflowEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddContinueAsNewEvent(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddDecisionTaskCompletedEvent(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddDecisionTaskFailedEvent(...) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddDecisionTaskScheduleToStartTimeoutEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddDecisionTaskScheduledEvent(bypassTaskGeneration interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddDecisionTaskScheduledEventAsHeartbeat(bypassTaskGeneration, originalScheduledTimestamp interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddDecisionTaskStartedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddDecisionTaskTimedOutEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddExternalWorkflowExecutionCancelRequested(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddExternalWorkflowExecutionSignaled(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddFailWorkflowEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddFirstDecisionTaskScheduled(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddRecordMarkerEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddRequestCancelActivityTaskFailedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddRequestCancelExternalWorkflowExecutionFailedEvent(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddRequestCancelExternalWorkflowExecutionInitiatedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddSignalExternalWorkflowExecutionFailedEvent(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddSignalExternalWorkflowExecutionInitiatedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddSignalRequested(requestID interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddStartChildWorkflowExecutionFailedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddStartChildWorkflowExecutionInitiatedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddTimeoutWorkflowEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddTimerCanceledEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddTimerFiredEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddTimerStartedEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddTimerTasks(timerTasks ...interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddTransferTasks(transferTasks ...interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddUpsertWorkflowSearchAttributesEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddWorkflowExecutionCancelRequestedEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddWorkflowExecutionCanceledEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddWorkflowExecutionSignaled(signalName, input, identity interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddWorkflowExecutionStartedEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) AddWorkflowExecutionTerminatedEvent(firstEventID, reason, details, identity interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) CheckResettable() *gomock.Call
- func (mr *MockMutableStateMockRecorder) ClearStickyness() *gomock.Call
- func (mr *MockMutableStateMockRecorder) CloseTransactionAsMutation(now, transactionPolicy interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) CloseTransactionAsSnapshot(now, transactionPolicy interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) CopyToPersistence() *gomock.Call
- func (mr *MockMutableStateMockRecorder) CreateNewHistoryEvent(eventType interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) CreateNewHistoryEventWithTimestamp(eventType, timestamp interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) CreateTransientDecisionEvents(di, identity interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) DeleteDecision() *gomock.Call
- func (mr *MockMutableStateMockRecorder) DeleteSignalRequested(requestID interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) DeleteTimerTasks() *gomock.Call
- func (mr *MockMutableStateMockRecorder) DeleteTransferTasks() *gomock.Call
- func (mr *MockMutableStateMockRecorder) FailDecision(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) FlushBufferedEvents() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetActivityByActivityID(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetActivityInfo(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetActivityScheduledEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetChildExecutionInfo(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetChildExecutionInitiatedEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetCompletionEvent() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetCronBackoffDuration() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetCurrentBranchToken() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetCurrentVersion() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetDecisionInfo(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetDomainEntry() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetExecutionInfo() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetHistoryBuilder() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetInFlightDecision() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetLastFirstEventID() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetLastWriteVersion() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetNextEventID() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetPendingActivityInfos() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetPendingChildExecutionInfos() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetPendingDecision() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetPendingRequestCancelExternalInfos() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetPendingSignalExternalInfos() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetPendingTimerInfos() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetPreviousStartedEventID() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetQueryRegistry() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetReplicationState() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetRequestCancelInfo(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetRetryBackoffDuration(errReason interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetSignalInfo(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetStartEvent() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetStartVersion() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetTimerTasks() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetTransferTasks() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetUpdateCondition() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetUserTimerInfo(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetUserTimerInfoByEventID(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetVersionHistories() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetWorkflowStateCloseStatus() *gomock.Call
- func (mr *MockMutableStateMockRecorder) GetWorkflowType() *gomock.Call
- func (mr *MockMutableStateMockRecorder) HasBufferedEvents() *gomock.Call
- func (mr *MockMutableStateMockRecorder) HasInFlightDecision() *gomock.Call
- func (mr *MockMutableStateMockRecorder) HasParentExecution() *gomock.Call
- func (mr *MockMutableStateMockRecorder) HasPendingDecision() *gomock.Call
- func (mr *MockMutableStateMockRecorder) HasProcessedOrPendingDecision() *gomock.Call
- func (mr *MockMutableStateMockRecorder) IsCancelRequested() *gomock.Call
- func (mr *MockMutableStateMockRecorder) IsCurrentWorkflowGuaranteed() *gomock.Call
- func (mr *MockMutableStateMockRecorder) IsResourceDuplicated(resourceDedupKey interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) IsSignalRequested(requestID interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) IsStickyTaskListEnabled() *gomock.Call
- func (mr *MockMutableStateMockRecorder) IsWorkflowExecutionRunning() *gomock.Call
- func (mr *MockMutableStateMockRecorder) Load(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateActivityInfo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateActivityTaskCancelRequestedEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateActivityTaskCanceledEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateActivityTaskCompletedEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateActivityTaskFailedEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateActivityTaskScheduledEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateActivityTaskStartedEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateActivityTaskTimedOutEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateChildWorkflowExecutionCanceledEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateChildWorkflowExecutionCompletedEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateChildWorkflowExecutionFailedEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateChildWorkflowExecutionStartedEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateChildWorkflowExecutionTerminatedEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateChildWorkflowExecutionTimedOutEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateDecisionTaskCompletedEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateDecisionTaskFailedEvent() *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateDecisionTaskScheduledEvent(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateDecisionTaskStartedEvent(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateDecisionTaskTimedOutEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateExternalWorkflowExecutionCancelRequested(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateExternalWorkflowExecutionSignaled(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateRequestCancelExternalWorkflowExecutionFailedEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateRequestCancelExternalWorkflowExecutionInitiatedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateSignalExternalWorkflowExecutionFailedEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateSignalExternalWorkflowExecutionInitiatedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateStartChildWorkflowExecutionFailedEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateStartChildWorkflowExecutionInitiatedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateTimerCanceledEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateTimerFiredEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateTimerStartedEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateTransientDecisionTaskScheduled() *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateUpsertWorkflowSearchAttributesEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateWorkflowExecutionCancelRequestedEvent(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateWorkflowExecutionCanceledEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateWorkflowExecutionCompletedEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateWorkflowExecutionContinuedAsNewEvent(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateWorkflowExecutionFailedEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateWorkflowExecutionSignaled(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateWorkflowExecutionStartedEvent(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateWorkflowExecutionTerminatedEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) ReplicateWorkflowExecutionTimedoutEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) RetryActivity(ai, failureReason, failureDetails interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) SetCurrentBranchToken(branchToken interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) SetHistoryBuilder(hBuilder interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) SetHistoryTree(treeID interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) SetQueryRegistry(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) SetUpdateCondition(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) SetVersionHistories(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) StartTransaction(entry interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) StartTransactionSkipDecisionFail(entry interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) UpdateActivity(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) UpdateActivityProgress(ai, request interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) UpdateCurrentVersion(version, forceUpdate interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) UpdateDecision(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) UpdateDuplicatedResource(resourceDedupKey interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) UpdateReplicationStateLastEventID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) UpdateReplicationStateVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) UpdateUserTimer(arg0 interface{}) *gomock.Call
- func (mr *MockMutableStateMockRecorder) UpdateWorkflowStateCloseStatus(state, closeStatus interface{}) *gomock.Call
- type MockMutableStateTaskGenerator
- func (m *MockMutableStateTaskGenerator) EXPECT() *MockMutableStateTaskGeneratorMockRecorder
- func (m *MockMutableStateTaskGenerator) GenerateActivityRetryTasks(activityScheduleID int64) error
- func (m *MockMutableStateTaskGenerator) GenerateActivityTimerTasks(now time.Time) error
- func (m *MockMutableStateTaskGenerator) GenerateActivityTransferTasks(now time.Time, event *shared.HistoryEvent) error
- func (m *MockMutableStateTaskGenerator) GenerateChildWorkflowTasks(now time.Time, event *shared.HistoryEvent) error
- func (m *MockMutableStateTaskGenerator) GenerateDecisionScheduleTasks(now time.Time, decisionScheduleID int64) error
- func (m *MockMutableStateTaskGenerator) GenerateDecisionStartTasks(now time.Time, decisionScheduleID int64) error
- func (m *MockMutableStateTaskGenerator) GenerateDelayedDecisionTasks(now time.Time, startEvent *shared.HistoryEvent) error
- func (m *MockMutableStateTaskGenerator) GenerateRecordWorkflowStartedTasks(now time.Time, startEvent *shared.HistoryEvent) error
- func (m *MockMutableStateTaskGenerator) GenerateRequestCancelExternalTasks(now time.Time, event *shared.HistoryEvent) error
- func (m *MockMutableStateTaskGenerator) GenerateSignalExternalTasks(now time.Time, event *shared.HistoryEvent) error
- func (m *MockMutableStateTaskGenerator) GenerateUserTimerTasks(now time.Time) error
- func (m *MockMutableStateTaskGenerator) GenerateWorkflowCloseTasks(now time.Time) error
- func (m *MockMutableStateTaskGenerator) GenerateWorkflowResetTasks(now time.Time) error
- func (m *MockMutableStateTaskGenerator) GenerateWorkflowSearchAttrTasks(now time.Time) error
- func (m *MockMutableStateTaskGenerator) GenerateWorkflowStartTasks(now time.Time, startEvent *shared.HistoryEvent) error
- type MockMutableStateTaskGeneratorMockRecorder
- func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateActivityRetryTasks(activityScheduleID interface{}) *gomock.Call
- func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateActivityTimerTasks(now interface{}) *gomock.Call
- func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateActivityTransferTasks(now, event interface{}) *gomock.Call
- func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateChildWorkflowTasks(now, event interface{}) *gomock.Call
- func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateDecisionScheduleTasks(now, decisionScheduleID interface{}) *gomock.Call
- func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateDecisionStartTasks(now, decisionScheduleID interface{}) *gomock.Call
- func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateDelayedDecisionTasks(now, startEvent interface{}) *gomock.Call
- func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateRecordWorkflowStartedTasks(now, startEvent interface{}) *gomock.Call
- func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateRequestCancelExternalTasks(now, event interface{}) *gomock.Call
- func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateSignalExternalTasks(now, event interface{}) *gomock.Call
- func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateUserTimerTasks(now interface{}) *gomock.Call
- func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateWorkflowCloseTasks(now interface{}) *gomock.Call
- func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateWorkflowResetTasks(now interface{}) *gomock.Call
- func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateWorkflowSearchAttrTasks(now interface{}) *gomock.Call
- func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateWorkflowStartTasks(now, startEvent interface{}) *gomock.Call
- type MockMutableStateTaskRefresher
- type MockMutableStateTaskRefresherMockRecorder
- type MockStateBuilder
- type MockStateBuilderMockRecorder
- type MockStateRebuilder
- type MockStateRebuilderMockRecorder
- type MockTimerSequence
- func (m *MockTimerSequence) CreateNextActivityTimer() (bool, error)
- func (m *MockTimerSequence) CreateNextUserTimer() (bool, error)
- func (m *MockTimerSequence) EXPECT() *MockTimerSequenceMockRecorder
- func (m *MockTimerSequence) IsExpired(referenceTime time.Time, TimerSequenceID TimerSequenceID) bool
- func (m *MockTimerSequence) LoadAndSortActivityTimers() []TimerSequenceID
- func (m *MockTimerSequence) LoadAndSortUserTimers() []TimerSequenceID
- type MockTimerSequenceMockRecorder
- func (mr *MockTimerSequenceMockRecorder) CreateNextActivityTimer() *gomock.Call
- func (mr *MockTimerSequenceMockRecorder) CreateNextUserTimer() *gomock.Call
- func (mr *MockTimerSequenceMockRecorder) IsExpired(referenceTime, TimerSequenceID interface{}) *gomock.Call
- func (mr *MockTimerSequenceMockRecorder) LoadAndSortActivityTimers() *gomock.Call
- func (mr *MockTimerSequenceMockRecorder) LoadAndSortUserTimers() *gomock.Call
- type MockWorkflow
- func (m *MockWorkflow) EXPECT() *MockWorkflowMockRecorder
- func (m *MockWorkflow) FlushBufferedEvents() error
- func (m *MockWorkflow) GetContext() Context
- func (m *MockWorkflow) GetMutableState() MutableState
- func (m *MockWorkflow) GetReleaseFn() ReleaseFunc
- func (m *MockWorkflow) GetVectorClock() (int64, int64, error)
- func (m *MockWorkflow) HappensAfter(that Workflow) (bool, error)
- func (m *MockWorkflow) Revive() error
- func (m *MockWorkflow) SuppressBy(incomingWorkflow Workflow) (TransactionPolicy, error)
- type MockWorkflowMockRecorder
- func (mr *MockWorkflowMockRecorder) FlushBufferedEvents() *gomock.Call
- func (mr *MockWorkflowMockRecorder) GetContext() *gomock.Call
- func (mr *MockWorkflowMockRecorder) GetMutableState() *gomock.Call
- func (mr *MockWorkflowMockRecorder) GetReleaseFn() *gomock.Call
- func (mr *MockWorkflowMockRecorder) GetVectorClock() *gomock.Call
- func (mr *MockWorkflowMockRecorder) HappensAfter(that interface{}) *gomock.Call
- func (mr *MockWorkflowMockRecorder) Revive() *gomock.Call
- func (mr *MockWorkflowMockRecorder) SuppressBy(incomingWorkflow interface{}) *gomock.Call
- type MockmutableStateDecisionTaskManager
- func (m *MockmutableStateDecisionTaskManager) AddDecisionTaskCompletedEvent(scheduleEventID, startedEventID int64, ...) (*shared.HistoryEvent, error)
- func (m *MockmutableStateDecisionTaskManager) AddDecisionTaskFailedEvent(scheduleEventID, startedEventID int64, cause shared.DecisionTaskFailedCause, ...) (*shared.HistoryEvent, error)
- func (m *MockmutableStateDecisionTaskManager) AddDecisionTaskScheduleToStartTimeoutEvent(scheduleEventID int64) (*shared.HistoryEvent, error)
- func (m *MockmutableStateDecisionTaskManager) AddDecisionTaskScheduledEvent(bypassTaskGeneration bool) (*DecisionInfo, error)
- func (m *MockmutableStateDecisionTaskManager) AddDecisionTaskScheduledEventAsHeartbeat(bypassTaskGeneration bool, originalScheduledTimestamp int64) (*DecisionInfo, error)
- func (m *MockmutableStateDecisionTaskManager) AddDecisionTaskStartedEvent(scheduleEventID int64, requestID string, ...) (*shared.HistoryEvent, *DecisionInfo, error)
- func (m *MockmutableStateDecisionTaskManager) AddDecisionTaskTimedOutEvent(scheduleEventID, startedEventID int64) (*shared.HistoryEvent, error)
- func (m *MockmutableStateDecisionTaskManager) AddFirstDecisionTaskScheduled(startEvent *shared.HistoryEvent) error
- func (m *MockmutableStateDecisionTaskManager) CreateTransientDecisionEvents(decision *DecisionInfo, identity string) (*shared.HistoryEvent, *shared.HistoryEvent)
- func (m *MockmutableStateDecisionTaskManager) DeleteDecision()
- func (m *MockmutableStateDecisionTaskManager) EXPECT() *MockmutableStateDecisionTaskManagerMockRecorder
- func (m *MockmutableStateDecisionTaskManager) FailDecision(incrementAttempt bool)
- func (m *MockmutableStateDecisionTaskManager) GetDecisionInfo(scheduleEventID int64) (*DecisionInfo, bool)
- func (m *MockmutableStateDecisionTaskManager) GetInFlightDecision() (*DecisionInfo, bool)
- func (m *MockmutableStateDecisionTaskManager) GetPendingDecision() (*DecisionInfo, bool)
- func (m *MockmutableStateDecisionTaskManager) HasInFlightDecision() bool
- func (m *MockmutableStateDecisionTaskManager) HasPendingDecision() bool
- func (m *MockmutableStateDecisionTaskManager) HasProcessedOrPendingDecision() bool
- func (m *MockmutableStateDecisionTaskManager) ReplicateDecisionTaskCompletedEvent(event *shared.HistoryEvent) error
- func (m *MockmutableStateDecisionTaskManager) ReplicateDecisionTaskFailedEvent() error
- func (m *MockmutableStateDecisionTaskManager) ReplicateDecisionTaskScheduledEvent(version, scheduleID int64, taskList string, startToCloseTimeoutSeconds int32, ...) (*DecisionInfo, error)
- func (m *MockmutableStateDecisionTaskManager) ReplicateDecisionTaskStartedEvent(decision *DecisionInfo, version, scheduleID, startedID int64, requestID string, ...) (*DecisionInfo, error)
- func (m *MockmutableStateDecisionTaskManager) ReplicateDecisionTaskTimedOutEvent(timeoutType shared.TimeoutType) error
- func (m *MockmutableStateDecisionTaskManager) ReplicateTransientDecisionTaskScheduled() (*DecisionInfo, error)
- func (m *MockmutableStateDecisionTaskManager) UpdateDecision(decision *DecisionInfo)
- type MockmutableStateDecisionTaskManagerMockRecorder
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskCompletedEvent(scheduleEventID, startedEventID, request, maxResetPoints interface{}) *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskFailedEvent(...) *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskScheduleToStartTimeoutEvent(scheduleEventID interface{}) *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskScheduledEvent(bypassTaskGeneration interface{}) *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskScheduledEventAsHeartbeat(bypassTaskGeneration, originalScheduledTimestamp interface{}) *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskStartedEvent(scheduleEventID, requestID, request interface{}) *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskTimedOutEvent(scheduleEventID, startedEventID interface{}) *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) AddFirstDecisionTaskScheduled(startEvent interface{}) *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) CreateTransientDecisionEvents(decision, identity interface{}) *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) DeleteDecision() *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) FailDecision(incrementAttempt interface{}) *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) GetDecisionInfo(scheduleEventID interface{}) *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) GetInFlightDecision() *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) GetPendingDecision() *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) HasInFlightDecision() *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) HasPendingDecision() *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) HasProcessedOrPendingDecision() *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) ReplicateDecisionTaskCompletedEvent(event interface{}) *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) ReplicateDecisionTaskFailedEvent() *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) ReplicateDecisionTaskScheduledEvent(...) *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) ReplicateDecisionTaskStartedEvent(decision, version, scheduleID, startedID, requestID, timestamp interface{}) *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) ReplicateDecisionTaskTimedOutEvent(timeoutType interface{}) *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) ReplicateTransientDecisionTaskScheduled() *gomock.Call
- func (mr *MockmutableStateDecisionTaskManagerMockRecorder) UpdateDecision(decision interface{}) *gomock.Call
- type MutableState
- func NewMutableStateBuilder(shard shard.Context, logger log.Logger, domainEntry *cache.DomainCacheEntry) MutableState
- func NewMutableStateBuilderWithEventV2(shard shard.Context, logger log.Logger, runID string, ...) MutableState
- func NewMutableStateBuilderWithReplicationState(shard shard.Context, logger log.Logger, domainEntry *cache.DomainCacheEntry) MutableState
- func NewMutableStateBuilderWithReplicationStateWithEventV2(shard shard.Context, logger log.Logger, version int64, runID string, ...) MutableState
- func NewMutableStateBuilderWithVersionHistories(shard shard.Context, logger log.Logger, domainEntry *cache.DomainCacheEntry) MutableState
- type MutableStateTaskGenerator
- type MutableStateTaskRefresher
- type ReleaseFunc
- type StateBuilder
- type StateRebuilder
- type TimerSequence
- type TimerSequenceID
- type TimerSequenceIDs
- type TimerType
- type TransactionPolicy
- type Workflow
Constants ¶
const ( // TimerTypeStartToClose is the timer type for activity startToClose timer TimerTypeStartToClose = TimerType(shared.TimeoutTypeStartToClose) // TimerTypeScheduleToStart is the timer type for activity scheduleToStart timer TimerTypeScheduleToStart = TimerType(shared.TimeoutTypeScheduleToStart) // TimerTypeScheduleToClose is the timer type for activity scheduleToClose timer TimerTypeScheduleToClose = TimerType(shared.TimeoutTypeScheduleToClose) // TimerTypeHeartbeat is the timer type for activity heartbeat timer TimerTypeHeartbeat = TimerType(shared.TimeoutTypeHeartbeat) )
const ( // TimerTaskStatusNone indicates activity / user timer task has not been created TimerTaskStatusNone = iota // TimerTaskStatusCreated indicates user timer task has been created TimerTaskStatusCreated )
const ( // TimerTaskStatusCreatedStartToClose indicates activity startToClose timer has been created TimerTaskStatusCreatedStartToClose = 1 << iota // TimerTaskStatusCreatedScheduleToStart indicates activity scheduleToStart timer has been created TimerTaskStatusCreatedScheduleToStart // TimerTaskStatusCreatedScheduleToClose indicates activity scheduleToClose timer has been created TimerTaskStatusCreatedScheduleToClose // TimerTaskStatusCreatedHeartbeat indicates activity heartbeat timer has been created TimerTaskStatusCreatedHeartbeat )
const ( // IdentityHistoryService is the service role identity IdentityHistoryService = "history-service" // WorkflowTerminationIdentity is the component which decides to terminate the workflow WorkflowTerminationIdentity = "worker-service" // WorkflowTerminationReason is the reason for terminating workflow due to version conflit WorkflowTerminationReason = "Terminate Workflow Due To Version Conflict." )
const (
// NDCDefaultPageSize is the default pagination size for ndc
NDCDefaultPageSize = 100
)
Variables ¶
var ( // ErrWorkflowFinished indicates trying to mutate mutable state after workflow finished ErrWorkflowFinished = &workflow.InternalServiceError{Message: "invalid mutable state action: mutation after finish"} // ErrMissingTimerInfo indicates missing timer info ErrMissingTimerInfo = &workflow.InternalServiceError{Message: "unable to get timer info"} // ErrMissingActivityInfo indicates missing activity info ErrMissingActivityInfo = &workflow.InternalServiceError{Message: "unable to get activity info"} // ErrMissingChildWorkflowInfo indicates missing child workflow info ErrMissingChildWorkflowInfo = &workflow.InternalServiceError{Message: "unable to get child workflow info"} // ErrMissingWorkflowStartEvent indicates missing workflow start event ErrMissingWorkflowStartEvent = &workflow.InternalServiceError{Message: "unable to get workflow start event"} // ErrMissingWorkflowCompletionEvent indicates missing workflow completion event ErrMissingWorkflowCompletionEvent = &workflow.InternalServiceError{Message: "unable to get workflow completion event"} // ErrMissingActivityScheduledEvent indicates missing workflow activity scheduled event ErrMissingActivityScheduledEvent = &workflow.InternalServiceError{Message: "unable to get activity scheduled event"} // ErrMissingChildWorkflowInitiatedEvent indicates missing child workflow initiated event ErrMissingChildWorkflowInitiatedEvent = &workflow.InternalServiceError{Message: "unable to get child workflow initiated event"} // ErrEventsAfterWorkflowFinish is the error indicating server error trying to write events after workflow finish event ErrEventsAfterWorkflowFinish = &workflow.InternalServiceError{Message: "error validating last event being workflow finish event"} )
var ( // ErrConflict is exported temporarily for integration test ErrConflict = errors.New("conditional update failed") )
Functions ¶
func CopyActivityInfo ¶
func CopyActivityInfo(sourceInfo *persistence.ActivityInfo) *persistence.ActivityInfo
CopyActivityInfo copies ActivityInfo
func CopyCancellationInfo ¶
func CopyCancellationInfo(sourceInfo *persistence.RequestCancelInfo) *persistence.RequestCancelInfo
CopyCancellationInfo copies RequestCancelInfo
func CopyChildInfo ¶
func CopyChildInfo(sourceInfo *persistence.ChildExecutionInfo) *persistence.ChildExecutionInfo
CopyChildInfo copies ChildExecutionInfo
func CopyReplicationState ¶
func CopyReplicationState(source *persistence.ReplicationState) *persistence.ReplicationState
CopyReplicationState copies workflow ReplicationState
func CopySignalInfo ¶
func CopySignalInfo(sourceInfo *persistence.SignalInfo) *persistence.SignalInfo
CopySignalInfo copies SignalInfo
func CopyTimerInfo ¶
func CopyTimerInfo(sourceInfo *persistence.TimerInfo) *persistence.TimerInfo
CopyTimerInfo copies TimerInfo
func CopyWorkflowExecutionInfo ¶
func CopyWorkflowExecutionInfo(sourceInfo *persistence.WorkflowExecutionInfo) *persistence.WorkflowExecutionInfo
CopyWorkflowExecutionInfo copies WorkflowExecutionInfo
func CreatePersistenceMutableState ¶
func CreatePersistenceMutableState(ms MutableState) *persistence.WorkflowMutableState
CreatePersistenceMutableState creates a persistence mutable state based on the its in-memory version
func FailDecision ¶
func FailDecision( mutableState MutableState, decision *DecisionInfo, decisionFailureCause workflow.DecisionTaskFailedCause, ) error
FailDecision fails the current decision task
func FindAutoResetPoint ¶
func FindAutoResetPoint( timeSource clock.TimeSource, badBinaries *workflow.BadBinaries, autoResetPoints *workflow.ResetPoints, ) (string, *workflow.ResetPointInfo)
FindAutoResetPoint returns the auto reset point
func ScheduleDecision ¶
func ScheduleDecision( mutableState MutableState, ) error
ScheduleDecision schedules a new decision task
func TerminateWorkflow ¶
func TerminateWorkflow( mutableState MutableState, eventBatchFirstEventID int64, terminateReason string, terminateDetails []byte, terminateIdentity string, ) error
TerminateWorkflow is a helper function to terminate workflow
func TimerTypeToReason ¶
TimerTypeToReason creates timeout reason based on the TimeType
func TimerTypeToThrift ¶
func TimerTypeToThrift( TimerType TimerType, ) shared.TimeoutType
TimerTypeToThrift converts TimeType to its thrift representation
func TimerTypeToTimerMask ¶
TimerTypeToTimerMask converts TimerType into the TimerTaskStatus flag
Types ¶
type Cache ¶
Cache caches workflow execution context
func (*Cache) GetAndCreateWorkflowExecution ¶
func (c *Cache) GetAndCreateWorkflowExecution( ctx context.Context, domainID string, execution workflow.WorkflowExecution, ) (Context, Context, ReleaseFunc, bool, error)
GetAndCreateWorkflowExecution is for analyzing mutableState, it will try getting Context from cache and also load from database
func (*Cache) GetOrCreateCurrentWorkflowExecution ¶
func (c *Cache) GetOrCreateCurrentWorkflowExecution( ctx context.Context, domainID string, workflowID string, ) (Context, ReleaseFunc, error)
GetOrCreateCurrentWorkflowExecution gets or creates workflow execution context for the current run
func (*Cache) GetOrCreateWorkflowExecution ¶
func (c *Cache) GetOrCreateWorkflowExecution( ctx context.Context, domainID string, execution workflow.WorkflowExecution, ) (Context, ReleaseFunc, error)
GetOrCreateWorkflowExecution gets or creates workflow execution context
func (*Cache) GetOrCreateWorkflowExecutionForBackground ¶
func (c *Cache) GetOrCreateWorkflowExecutionForBackground( domainID string, execution workflow.WorkflowExecution, ) (Context, ReleaseFunc, error)
GetOrCreateWorkflowExecutionForBackground gets or creates workflow execution context with background context currently only used in tests
func (*Cache) GetOrCreateWorkflowExecutionWithTimeout ¶ added in v0.14.0
func (c *Cache) GetOrCreateWorkflowExecutionWithTimeout( domainID string, execution workflow.WorkflowExecution, timeout time.Duration, ) (Context, ReleaseFunc, error)
GetOrCreateWorkflowExecutionWithTimeout gets or creates workflow execution context with timeout
type Context ¶
type Context interface { GetDomainName() string GetDomainID() string GetExecution() *workflow.WorkflowExecution GetWorkflowExecution() MutableState SetWorkflowExecution(mutableState MutableState) LoadWorkflowExecution() (MutableState, error) LoadWorkflowExecutionForReplication(incomingVersion int64) (MutableState, error) LoadExecutionStats() (*persistence.ExecutionStats, error) Clear() Lock(ctx context.Context) error Unlock() GetHistorySize() int64 SetHistorySize(size int64) ReapplyEvents( eventBatches []*persistence.WorkflowEvents, ) error PersistFirstWorkflowEvents( workflowEvents *persistence.WorkflowEvents, ) (int64, error) PersistNonFirstWorkflowEvents( workflowEvents *persistence.WorkflowEvents, ) (int64, error) CreateWorkflowExecution( newWorkflow *persistence.WorkflowSnapshot, historySize int64, now time.Time, createMode persistence.CreateWorkflowMode, prevRunID string, prevLastWriteVersion int64, ) error ConflictResolveWorkflowExecution( now time.Time, conflictResolveMode persistence.ConflictResolveWorkflowMode, resetMutableState MutableState, newContext Context, newMutableState MutableState, currentContext Context, currentMutableState MutableState, currentTransactionPolicy *TransactionPolicy, workflowCAS *persistence.CurrentWorkflowCAS, ) error UpdateWorkflowExecutionAsActive( now time.Time, ) error UpdateWorkflowExecutionWithNewAsActive( now time.Time, newContext Context, newMutableState MutableState, ) error UpdateWorkflowExecutionAsPassive( now time.Time, ) error UpdateWorkflowExecutionWithNewAsPassive( now time.Time, newContext Context, newMutableState MutableState, ) error UpdateWorkflowExecutionWithNew( now time.Time, updateMode persistence.UpdateWorkflowMode, newContext Context, newMutableState MutableState, currentWorkflowTransactionPolicy TransactionPolicy, newWorkflowTransactionPolicy *TransactionPolicy, ) error ResetWorkflowExecution( currMutableState MutableState, updateCurr bool, closeTask persistence.Task, cleanupTask persistence.Task, newMutableState MutableState, newHistorySize int64, newTransferTasks []persistence.Task, newTimerTasks []persistence.Task, currentReplicationTasks []persistence.Task, newReplicationTasks []persistence.Task, baseRunID string, baseRunNextEventID int64, ) (retError error) }
Context is the processing context for all operations on workflow execution
func NewContext ¶
func NewContext( domainID string, execution workflow.WorkflowExecution, shard shard.Context, executionManager persistence.ExecutionManager, logger log.Logger, ) Context
NewContext creates a new workflow execution context
type DecisionInfo ¶
type DecisionInfo struct { Version int64 ScheduleID int64 StartedID int64 RequestID string DecisionTimeout int32 TaskList string // This is only needed to communicate tasklist used after AddDecisionTaskScheduledEvent Attempt int64 // Scheduled and Started timestamps are useful for transient decision: when transient decision finally completes, // use these timestamp to create scheduled/started events. // Also used for recording latency metrics ScheduledTimestamp int64 StartedTimestamp int64 // OriginalScheduledTimestamp is to record the first scheduled decision during decision heartbeat. // Client may heartbeat decision by RespondDecisionTaskComplete with ForceCreateNewDecisionTask == true // In this case, OriginalScheduledTimestamp won't change. Then when current time - OriginalScheduledTimestamp exceeds // some threshold, server can interrupt the heartbeat by enforcing to timeout the decision. OriginalScheduledTimestamp int64 }
DecisionInfo should be part of persistence layer
type HistoryBuilder ¶
type HistoryBuilder struct {
// contains filtered or unexported fields
}
HistoryBuilder builds and stores workflow history events
func NewHistoryBuilder ¶
func NewHistoryBuilder(msBuilder MutableState, logger log.Logger) *HistoryBuilder
NewHistoryBuilder creates a new history builder
func NewHistoryBuilderFromEvents ¶
func NewHistoryBuilderFromEvents(history []*workflow.HistoryEvent, logger log.Logger) *HistoryBuilder
NewHistoryBuilderFromEvents creates a new history builder based on the given workflow history events
func (*HistoryBuilder) AddActivityTaskCancelRequestedEvent ¶
func (b *HistoryBuilder) AddActivityTaskCancelRequestedEvent(decisionCompletedEventID int64, activityID string) *workflow.HistoryEvent
AddActivityTaskCancelRequestedEvent add ActivityTaskCancelRequested event to history
func (*HistoryBuilder) AddActivityTaskCanceledEvent ¶
func (b *HistoryBuilder) AddActivityTaskCanceledEvent(scheduleEventID, startedEventID int64, latestCancelRequestedEventID int64, details []byte, identity string) *workflow.HistoryEvent
AddActivityTaskCanceledEvent adds ActivityTaskCanceled event to history
func (*HistoryBuilder) AddActivityTaskCompletedEvent ¶
func (b *HistoryBuilder) AddActivityTaskCompletedEvent(scheduleEventID, startedEventID int64, request *workflow.RespondActivityTaskCompletedRequest) *workflow.HistoryEvent
AddActivityTaskCompletedEvent adds ActivityTaskCompleted event to history
func (*HistoryBuilder) AddActivityTaskFailedEvent ¶
func (b *HistoryBuilder) AddActivityTaskFailedEvent(scheduleEventID, startedEventID int64, request *workflow.RespondActivityTaskFailedRequest) *workflow.HistoryEvent
AddActivityTaskFailedEvent adds ActivityTaskFailed event to history
func (*HistoryBuilder) AddActivityTaskScheduledEvent ¶
func (b *HistoryBuilder) AddActivityTaskScheduledEvent(decisionCompletedEventID int64, attributes *workflow.ScheduleActivityTaskDecisionAttributes) *workflow.HistoryEvent
AddActivityTaskScheduledEvent adds ActivityTaskScheduled event to history
func (*HistoryBuilder) AddActivityTaskStartedEvent ¶
func (b *HistoryBuilder) AddActivityTaskStartedEvent( scheduleEventID int64, attempt int32, requestID string, identity string, lastFailureReason string, lastFailureDetails []byte, ) *workflow.HistoryEvent
AddActivityTaskStartedEvent adds ActivityTaskStarted event to history
func (*HistoryBuilder) AddActivityTaskTimedOutEvent ¶
func (b *HistoryBuilder) AddActivityTaskTimedOutEvent( scheduleEventID, startedEventID int64, timeoutType workflow.TimeoutType, lastHeartBeatDetails []byte, lastFailureReason string, lastFailureDetail []byte, ) *workflow.HistoryEvent
AddActivityTaskTimedOutEvent adds ActivityTaskTimedOut event to history
func (*HistoryBuilder) AddCancelTimerFailedEvent ¶
func (b *HistoryBuilder) AddCancelTimerFailedEvent(timerID string, decisionTaskCompletedEventID int64, cause string, identity string) *workflow.HistoryEvent
AddCancelTimerFailedEvent adds CancelTimerFailed event to history
func (*HistoryBuilder) AddChildWorkflowExecutionCanceledEvent ¶
func (b *HistoryBuilder) AddChildWorkflowExecutionCanceledEvent(domain *string, execution *workflow.WorkflowExecution, workflowType *workflow.WorkflowType, initiatedID, startedID int64, canceledAttributes *workflow.WorkflowExecutionCanceledEventAttributes) *workflow.HistoryEvent
AddChildWorkflowExecutionCanceledEvent adds ChildWorkflowExecutionCanceled event to history
func (*HistoryBuilder) AddChildWorkflowExecutionCompletedEvent ¶
func (b *HistoryBuilder) AddChildWorkflowExecutionCompletedEvent(domain *string, execution *workflow.WorkflowExecution, workflowType *workflow.WorkflowType, initiatedID, startedID int64, completedAttributes *workflow.WorkflowExecutionCompletedEventAttributes) *workflow.HistoryEvent
AddChildWorkflowExecutionCompletedEvent adds ChildWorkflowExecutionCompleted event to history
func (*HistoryBuilder) AddChildWorkflowExecutionFailedEvent ¶
func (b *HistoryBuilder) AddChildWorkflowExecutionFailedEvent(domain *string, execution *workflow.WorkflowExecution, workflowType *workflow.WorkflowType, initiatedID, startedID int64, failedAttributes *workflow.WorkflowExecutionFailedEventAttributes) *workflow.HistoryEvent
AddChildWorkflowExecutionFailedEvent adds ChildWorkflowExecutionFailed event to history
func (*HistoryBuilder) AddChildWorkflowExecutionStartedEvent ¶
func (b *HistoryBuilder) AddChildWorkflowExecutionStartedEvent( domain *string, execution *workflow.WorkflowExecution, workflowType *workflow.WorkflowType, initiatedID int64, header *workflow.Header, ) *workflow.HistoryEvent
AddChildWorkflowExecutionStartedEvent adds ChildWorkflowExecutionStarted event to history
func (*HistoryBuilder) AddChildWorkflowExecutionTerminatedEvent ¶
func (b *HistoryBuilder) AddChildWorkflowExecutionTerminatedEvent(domain *string, execution *workflow.WorkflowExecution, workflowType *workflow.WorkflowType, initiatedID, startedID int64, terminatedAttributes *workflow.WorkflowExecutionTerminatedEventAttributes) *workflow.HistoryEvent
AddChildWorkflowExecutionTerminatedEvent adds ChildWorkflowExecutionTerminated event to history
func (*HistoryBuilder) AddChildWorkflowExecutionTimedOutEvent ¶
func (b *HistoryBuilder) AddChildWorkflowExecutionTimedOutEvent(domain *string, execution *workflow.WorkflowExecution, workflowType *workflow.WorkflowType, initiatedID, startedID int64, timedOutAttributes *workflow.WorkflowExecutionTimedOutEventAttributes) *workflow.HistoryEvent
AddChildWorkflowExecutionTimedOutEvent adds ChildWorkflowExecutionTimedOut event to history
func (*HistoryBuilder) AddCompletedWorkflowEvent ¶
func (b *HistoryBuilder) AddCompletedWorkflowEvent(decisionCompletedEventID int64, attributes *workflow.CompleteWorkflowExecutionDecisionAttributes) *workflow.HistoryEvent
AddCompletedWorkflowEvent adds WorkflowExecutionCompleted event to history
func (*HistoryBuilder) AddContinuedAsNewEvent ¶
func (b *HistoryBuilder) AddContinuedAsNewEvent(decisionCompletedEventID int64, newRunID string, attributes *workflow.ContinueAsNewWorkflowExecutionDecisionAttributes) *workflow.HistoryEvent
AddContinuedAsNewEvent adds WorkflowExecutionContinuedAsNew event to history
func (*HistoryBuilder) AddDecisionTaskCompletedEvent ¶
func (b *HistoryBuilder) AddDecisionTaskCompletedEvent(scheduleEventID, startedEventID int64, request *workflow.RespondDecisionTaskCompletedRequest) *workflow.HistoryEvent
AddDecisionTaskCompletedEvent adds DecisionTaskCompleted event to history
func (*HistoryBuilder) AddDecisionTaskFailedEvent ¶
func (b *HistoryBuilder) AddDecisionTaskFailedEvent(attr workflow.DecisionTaskFailedEventAttributes) *workflow.HistoryEvent
AddDecisionTaskFailedEvent adds DecisionTaskFailed event to history
func (*HistoryBuilder) AddDecisionTaskScheduledEvent ¶
func (b *HistoryBuilder) AddDecisionTaskScheduledEvent(taskList string, startToCloseTimeoutSeconds int32, attempt int64) *workflow.HistoryEvent
AddDecisionTaskScheduledEvent adds DecisionTaskScheduled event to history
func (*HistoryBuilder) AddDecisionTaskStartedEvent ¶
func (b *HistoryBuilder) AddDecisionTaskStartedEvent(scheduleEventID int64, requestID string, identity string) *workflow.HistoryEvent
AddDecisionTaskStartedEvent adds DecisionTaskStarted event to history
func (*HistoryBuilder) AddDecisionTaskTimedOutEvent ¶
func (b *HistoryBuilder) AddDecisionTaskTimedOutEvent(scheduleEventID int64, startedEventID int64, timeoutType workflow.TimeoutType) *workflow.HistoryEvent
AddDecisionTaskTimedOutEvent adds DecisionTaskTimedOut event to history
func (*HistoryBuilder) AddExternalWorkflowExecutionCancelRequested ¶
func (b *HistoryBuilder) AddExternalWorkflowExecutionCancelRequested(initiatedEventID int64, domain, workflowID, runID string) *workflow.HistoryEvent
AddExternalWorkflowExecutionCancelRequested adds ExternalWorkflowExecutionCancelRequested event to history
func (*HistoryBuilder) AddExternalWorkflowExecutionSignaled ¶
func (b *HistoryBuilder) AddExternalWorkflowExecutionSignaled(initiatedEventID int64, domain, workflowID, runID string, control []byte) *workflow.HistoryEvent
AddExternalWorkflowExecutionSignaled adds ExternalWorkflowExecutionSignaled event to history
func (*HistoryBuilder) AddFailWorkflowEvent ¶
func (b *HistoryBuilder) AddFailWorkflowEvent(decisionCompletedEventID int64, attributes *workflow.FailWorkflowExecutionDecisionAttributes) *workflow.HistoryEvent
AddFailWorkflowEvent adds WorkflowExecutionFailed event to history
func (*HistoryBuilder) AddMarkerRecordedEvent ¶
func (b *HistoryBuilder) AddMarkerRecordedEvent(decisionCompletedEventID int64, attributes *workflow.RecordMarkerDecisionAttributes) *workflow.HistoryEvent
AddMarkerRecordedEvent adds MarkerRecorded event to history
func (*HistoryBuilder) AddRequestCancelActivityTaskFailedEvent ¶
func (b *HistoryBuilder) AddRequestCancelActivityTaskFailedEvent(decisionCompletedEventID int64, activityID string, cause string) *workflow.HistoryEvent
AddRequestCancelActivityTaskFailedEvent add RequestCancelActivityTaskFailed event to history
func (*HistoryBuilder) AddRequestCancelExternalWorkflowExecutionFailedEvent ¶
func (b *HistoryBuilder) AddRequestCancelExternalWorkflowExecutionFailedEvent(decisionTaskCompletedEventID, initiatedEventID int64, domain, workflowID, runID string, cause workflow.CancelExternalWorkflowExecutionFailedCause) *workflow.HistoryEvent
AddRequestCancelExternalWorkflowExecutionFailedEvent adds RequestCancelExternalWorkflowExecutionFailed event to history
func (*HistoryBuilder) AddRequestCancelExternalWorkflowExecutionInitiatedEvent ¶
func (b *HistoryBuilder) AddRequestCancelExternalWorkflowExecutionInitiatedEvent(decisionTaskCompletedEventID int64, request *workflow.RequestCancelExternalWorkflowExecutionDecisionAttributes) *workflow.HistoryEvent
AddRequestCancelExternalWorkflowExecutionInitiatedEvent adds RequestCancelExternalWorkflowExecutionInitiated event to history
func (*HistoryBuilder) AddSignalExternalWorkflowExecutionFailedEvent ¶
func (b *HistoryBuilder) AddSignalExternalWorkflowExecutionFailedEvent(decisionTaskCompletedEventID, initiatedEventID int64, domain, workflowID, runID string, control []byte, cause workflow.SignalExternalWorkflowExecutionFailedCause) *workflow.HistoryEvent
AddSignalExternalWorkflowExecutionFailedEvent adds SignalExternalWorkflowExecutionFailed event to history
func (*HistoryBuilder) AddSignalExternalWorkflowExecutionInitiatedEvent ¶
func (b *HistoryBuilder) AddSignalExternalWorkflowExecutionInitiatedEvent(decisionTaskCompletedEventID int64, attributes *workflow.SignalExternalWorkflowExecutionDecisionAttributes) *workflow.HistoryEvent
AddSignalExternalWorkflowExecutionInitiatedEvent adds SignalExternalWorkflowExecutionInitiated event to history
func (*HistoryBuilder) AddStartChildWorkflowExecutionFailedEvent ¶
func (b *HistoryBuilder) AddStartChildWorkflowExecutionFailedEvent(initiatedID int64, cause workflow.ChildWorkflowExecutionFailedCause, initiatedEventAttributes *workflow.StartChildWorkflowExecutionInitiatedEventAttributes) *workflow.HistoryEvent
AddStartChildWorkflowExecutionFailedEvent adds ChildWorkflowExecutionFailed event to history
func (*HistoryBuilder) AddStartChildWorkflowExecutionInitiatedEvent ¶
func (b *HistoryBuilder) AddStartChildWorkflowExecutionInitiatedEvent(decisionCompletedEventID int64, attributes *workflow.StartChildWorkflowExecutionDecisionAttributes) *workflow.HistoryEvent
AddStartChildWorkflowExecutionInitiatedEvent adds ChildWorkflowExecutionInitiated event to history
func (*HistoryBuilder) AddTimeoutWorkflowEvent ¶
func (b *HistoryBuilder) AddTimeoutWorkflowEvent() *workflow.HistoryEvent
AddTimeoutWorkflowEvent adds WorkflowExecutionTimedout event to history
func (*HistoryBuilder) AddTimerCanceledEvent ¶
func (b *HistoryBuilder) AddTimerCanceledEvent(startedEventID int64, decisionTaskCompletedEventID int64, timerID string, identity string) *workflow.HistoryEvent
AddTimerCanceledEvent adds TimerCanceled event to history
func (*HistoryBuilder) AddTimerFiredEvent ¶
func (b *HistoryBuilder) AddTimerFiredEvent( startedEventID int64, timerID string, ) *workflow.HistoryEvent
AddTimerFiredEvent adds TimerFired event to history
func (*HistoryBuilder) AddTimerStartedEvent ¶
func (b *HistoryBuilder) AddTimerStartedEvent(decisionCompletedEventID int64, request *workflow.StartTimerDecisionAttributes) *workflow.HistoryEvent
AddTimerStartedEvent adds TimerStart event to history
func (*HistoryBuilder) AddTransientDecisionTaskScheduledEvent ¶
func (b *HistoryBuilder) AddTransientDecisionTaskScheduledEvent(taskList string, startToCloseTimeoutSeconds int32, attempt int64, timestamp int64) *workflow.HistoryEvent
AddTransientDecisionTaskScheduledEvent adds transient DecisionTaskScheduled event
func (*HistoryBuilder) AddTransientDecisionTaskStartedEvent ¶
func (b *HistoryBuilder) AddTransientDecisionTaskStartedEvent(scheduleEventID int64, requestID string, identity string, timestamp int64) *workflow.HistoryEvent
AddTransientDecisionTaskStartedEvent adds transient DecisionTaskStarted event
func (*HistoryBuilder) AddUpsertWorkflowSearchAttributesEvent ¶
func (b *HistoryBuilder) AddUpsertWorkflowSearchAttributesEvent( decisionTaskCompletedEventID int64, attributes *workflow.UpsertWorkflowSearchAttributesDecisionAttributes) *workflow.HistoryEvent
AddUpsertWorkflowSearchAttributesEvent adds UpsertWorkflowSearchAttributes event to history
func (*HistoryBuilder) AddWorkflowExecutionCancelRequestedEvent ¶
func (b *HistoryBuilder) AddWorkflowExecutionCancelRequestedEvent(cause string, request *h.RequestCancelWorkflowExecutionRequest) *workflow.HistoryEvent
AddWorkflowExecutionCancelRequestedEvent adds WorkflowExecutionCancelRequested event to history
func (*HistoryBuilder) AddWorkflowExecutionCanceledEvent ¶
func (b *HistoryBuilder) AddWorkflowExecutionCanceledEvent(decisionTaskCompletedEventID int64, attributes *workflow.CancelWorkflowExecutionDecisionAttributes) *workflow.HistoryEvent
AddWorkflowExecutionCanceledEvent adds WorkflowExecutionCanceled event to history
func (*HistoryBuilder) AddWorkflowExecutionSignaledEvent ¶
func (b *HistoryBuilder) AddWorkflowExecutionSignaledEvent( signalName string, input []byte, identity string) *workflow.HistoryEvent
AddWorkflowExecutionSignaledEvent adds WorkflowExecutionSignaled event to history
func (*HistoryBuilder) AddWorkflowExecutionStartedEvent ¶
func (b *HistoryBuilder) AddWorkflowExecutionStartedEvent(request *h.StartWorkflowExecutionRequest, previousExecution *persistence.WorkflowExecutionInfo, firstRunID, originalRunID string) *workflow.HistoryEvent
AddWorkflowExecutionStartedEvent adds WorkflowExecutionStarted event to history originalRunID is the runID when the WorkflowExecutionStarted event is written firstRunID is the very first runID along the chain of ContinueAsNew and Reset
func (*HistoryBuilder) AddWorkflowExecutionTerminatedEvent ¶
func (b *HistoryBuilder) AddWorkflowExecutionTerminatedEvent( reason string, details []byte, identity string, ) *workflow.HistoryEvent
AddWorkflowExecutionTerminatedEvent add WorkflowExecutionTerminated event to history
func (*HistoryBuilder) GetFirstEvent ¶
func (b *HistoryBuilder) GetFirstEvent() *workflow.HistoryEvent
GetFirstEvent gets the first event in workflow history it returns the first transient history event if exists
func (*HistoryBuilder) GetHistory ¶
func (b *HistoryBuilder) GetHistory() *workflow.History
GetHistory gets workflow history stored inside history builder
func (*HistoryBuilder) HasTransientEvents ¶
func (b *HistoryBuilder) HasTransientEvents() bool
HasTransientEvents returns true if there are transient history events
func (*HistoryBuilder) SetHistory ¶
func (b *HistoryBuilder) SetHistory(history *workflow.History)
SetHistory sets workflow history inside history builder
type MockContext ¶
type MockContext struct {
// contains filtered or unexported fields
}
MockContext is a mock of Context interface
func NewMockContext ¶
func NewMockContext(ctrl *gomock.Controller) *MockContext
NewMockContext creates a new mock instance
func (*MockContext) ConflictResolveWorkflowExecution ¶
func (m *MockContext) ConflictResolveWorkflowExecution(now time.Time, conflictResolveMode persistence.ConflictResolveWorkflowMode, resetMutableState MutableState, newContext Context, newMutableState MutableState, currentContext Context, currentMutableState MutableState, currentTransactionPolicy *TransactionPolicy, workflowCAS *persistence.CurrentWorkflowCAS) error
ConflictResolveWorkflowExecution mocks base method
func (*MockContext) CreateWorkflowExecution ¶
func (m *MockContext) CreateWorkflowExecution(newWorkflow *persistence.WorkflowSnapshot, historySize int64, now time.Time, createMode persistence.CreateWorkflowMode, prevRunID string, prevLastWriteVersion int64) error
CreateWorkflowExecution mocks base method
func (*MockContext) EXPECT ¶
func (m *MockContext) EXPECT() *MockContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockContext) GetDomainID ¶
func (m *MockContext) GetDomainID() string
GetDomainID mocks base method
func (*MockContext) GetDomainName ¶
func (m *MockContext) GetDomainName() string
GetDomainName mocks base method
func (*MockContext) GetExecution ¶
func (m *MockContext) GetExecution() *shared.WorkflowExecution
GetExecution mocks base method
func (*MockContext) GetHistorySize ¶
func (m *MockContext) GetHistorySize() int64
GetHistorySize mocks base method
func (*MockContext) GetWorkflowExecution ¶
func (m *MockContext) GetWorkflowExecution() MutableState
GetWorkflowExecution mocks base method
func (*MockContext) LoadExecutionStats ¶
func (m *MockContext) LoadExecutionStats() (*persistence.ExecutionStats, error)
LoadExecutionStats mocks base method
func (*MockContext) LoadWorkflowExecution ¶
func (m *MockContext) LoadWorkflowExecution() (MutableState, error)
LoadWorkflowExecution mocks base method
func (*MockContext) LoadWorkflowExecutionForReplication ¶
func (m *MockContext) LoadWorkflowExecutionForReplication(incomingVersion int64) (MutableState, error)
LoadWorkflowExecutionForReplication mocks base method
func (*MockContext) Lock ¶
func (m *MockContext) Lock(ctx context.Context) error
Lock mocks base method
func (*MockContext) PersistFirstWorkflowEvents ¶
func (m *MockContext) PersistFirstWorkflowEvents(workflowEvents *persistence.WorkflowEvents) (int64, error)
PersistFirstWorkflowEvents mocks base method
func (*MockContext) PersistNonFirstWorkflowEvents ¶
func (m *MockContext) PersistNonFirstWorkflowEvents(workflowEvents *persistence.WorkflowEvents) (int64, error)
PersistNonFirstWorkflowEvents mocks base method
func (*MockContext) ReapplyEvents ¶
func (m *MockContext) ReapplyEvents(eventBatches []*persistence.WorkflowEvents) error
ReapplyEvents mocks base method
func (*MockContext) ResetWorkflowExecution ¶
func (m *MockContext) ResetWorkflowExecution(currMutableState MutableState, updateCurr bool, closeTask, cleanupTask persistence.Task, newMutableState MutableState, newHistorySize int64, newTransferTasks, newTimerTasks, currentReplicationTasks, newReplicationTasks []persistence.Task, baseRunID string, baseRunNextEventID int64) error
ResetWorkflowExecution mocks base method
func (*MockContext) SetHistorySize ¶
func (m *MockContext) SetHistorySize(size int64)
SetHistorySize mocks base method
func (*MockContext) SetWorkflowExecution ¶
func (m *MockContext) SetWorkflowExecution(mutableState MutableState)
SetWorkflowExecution mocks base method
func (*MockContext) UpdateWorkflowExecutionAsActive ¶
func (m *MockContext) UpdateWorkflowExecutionAsActive(now time.Time) error
UpdateWorkflowExecutionAsActive mocks base method
func (*MockContext) UpdateWorkflowExecutionAsPassive ¶
func (m *MockContext) UpdateWorkflowExecutionAsPassive(now time.Time) error
UpdateWorkflowExecutionAsPassive mocks base method
func (*MockContext) UpdateWorkflowExecutionWithNew ¶
func (m *MockContext) UpdateWorkflowExecutionWithNew(now time.Time, updateMode persistence.UpdateWorkflowMode, newContext Context, newMutableState MutableState, currentWorkflowTransactionPolicy TransactionPolicy, newWorkflowTransactionPolicy *TransactionPolicy) error
UpdateWorkflowExecutionWithNew mocks base method
func (*MockContext) UpdateWorkflowExecutionWithNewAsActive ¶
func (m *MockContext) UpdateWorkflowExecutionWithNewAsActive(now time.Time, newContext Context, newMutableState MutableState) error
UpdateWorkflowExecutionWithNewAsActive mocks base method
func (*MockContext) UpdateWorkflowExecutionWithNewAsPassive ¶
func (m *MockContext) UpdateWorkflowExecutionWithNewAsPassive(now time.Time, newContext Context, newMutableState MutableState) error
UpdateWorkflowExecutionWithNewAsPassive mocks base method
type MockContextMockRecorder ¶
type MockContextMockRecorder struct {
// contains filtered or unexported fields
}
MockContextMockRecorder is the mock recorder for MockContext
func (*MockContextMockRecorder) Clear ¶
func (mr *MockContextMockRecorder) Clear() *gomock.Call
Clear indicates an expected call of Clear
func (*MockContextMockRecorder) ConflictResolveWorkflowExecution ¶
func (mr *MockContextMockRecorder) ConflictResolveWorkflowExecution(now, conflictResolveMode, resetMutableState, newContext, newMutableState, currentContext, currentMutableState, currentTransactionPolicy, workflowCAS interface{}) *gomock.Call
ConflictResolveWorkflowExecution indicates an expected call of ConflictResolveWorkflowExecution
func (*MockContextMockRecorder) CreateWorkflowExecution ¶
func (mr *MockContextMockRecorder) CreateWorkflowExecution(newWorkflow, historySize, now, createMode, prevRunID, prevLastWriteVersion interface{}) *gomock.Call
CreateWorkflowExecution indicates an expected call of CreateWorkflowExecution
func (*MockContextMockRecorder) GetDomainID ¶
func (mr *MockContextMockRecorder) GetDomainID() *gomock.Call
GetDomainID indicates an expected call of GetDomainID
func (*MockContextMockRecorder) GetDomainName ¶
func (mr *MockContextMockRecorder) GetDomainName() *gomock.Call
GetDomainName indicates an expected call of GetDomainName
func (*MockContextMockRecorder) GetExecution ¶
func (mr *MockContextMockRecorder) GetExecution() *gomock.Call
GetExecution indicates an expected call of GetExecution
func (*MockContextMockRecorder) GetHistorySize ¶
func (mr *MockContextMockRecorder) GetHistorySize() *gomock.Call
GetHistorySize indicates an expected call of GetHistorySize
func (*MockContextMockRecorder) GetWorkflowExecution ¶
func (mr *MockContextMockRecorder) GetWorkflowExecution() *gomock.Call
GetWorkflowExecution indicates an expected call of GetWorkflowExecution
func (*MockContextMockRecorder) LoadExecutionStats ¶
func (mr *MockContextMockRecorder) LoadExecutionStats() *gomock.Call
LoadExecutionStats indicates an expected call of LoadExecutionStats
func (*MockContextMockRecorder) LoadWorkflowExecution ¶
func (mr *MockContextMockRecorder) LoadWorkflowExecution() *gomock.Call
LoadWorkflowExecution indicates an expected call of LoadWorkflowExecution
func (*MockContextMockRecorder) LoadWorkflowExecutionForReplication ¶
func (mr *MockContextMockRecorder) LoadWorkflowExecutionForReplication(incomingVersion interface{}) *gomock.Call
LoadWorkflowExecutionForReplication indicates an expected call of LoadWorkflowExecutionForReplication
func (*MockContextMockRecorder) Lock ¶
func (mr *MockContextMockRecorder) Lock(ctx interface{}) *gomock.Call
Lock indicates an expected call of Lock
func (*MockContextMockRecorder) PersistFirstWorkflowEvents ¶
func (mr *MockContextMockRecorder) PersistFirstWorkflowEvents(workflowEvents interface{}) *gomock.Call
PersistFirstWorkflowEvents indicates an expected call of PersistFirstWorkflowEvents
func (*MockContextMockRecorder) PersistNonFirstWorkflowEvents ¶
func (mr *MockContextMockRecorder) PersistNonFirstWorkflowEvents(workflowEvents interface{}) *gomock.Call
PersistNonFirstWorkflowEvents indicates an expected call of PersistNonFirstWorkflowEvents
func (*MockContextMockRecorder) ReapplyEvents ¶
func (mr *MockContextMockRecorder) ReapplyEvents(eventBatches interface{}) *gomock.Call
ReapplyEvents indicates an expected call of ReapplyEvents
func (*MockContextMockRecorder) ResetWorkflowExecution ¶
func (mr *MockContextMockRecorder) ResetWorkflowExecution(currMutableState, updateCurr, closeTask, cleanupTask, newMutableState, newHistorySize, newTransferTasks, newTimerTasks, currentReplicationTasks, newReplicationTasks, baseRunID, baseRunNextEventID interface{}) *gomock.Call
ResetWorkflowExecution indicates an expected call of ResetWorkflowExecution
func (*MockContextMockRecorder) SetHistorySize ¶
func (mr *MockContextMockRecorder) SetHistorySize(size interface{}) *gomock.Call
SetHistorySize indicates an expected call of SetHistorySize
func (*MockContextMockRecorder) SetWorkflowExecution ¶
func (mr *MockContextMockRecorder) SetWorkflowExecution(mutableState interface{}) *gomock.Call
SetWorkflowExecution indicates an expected call of SetWorkflowExecution
func (*MockContextMockRecorder) Unlock ¶
func (mr *MockContextMockRecorder) Unlock() *gomock.Call
Unlock indicates an expected call of Unlock
func (*MockContextMockRecorder) UpdateWorkflowExecutionAsActive ¶
func (mr *MockContextMockRecorder) UpdateWorkflowExecutionAsActive(now interface{}) *gomock.Call
UpdateWorkflowExecutionAsActive indicates an expected call of UpdateWorkflowExecutionAsActive
func (*MockContextMockRecorder) UpdateWorkflowExecutionAsPassive ¶
func (mr *MockContextMockRecorder) UpdateWorkflowExecutionAsPassive(now interface{}) *gomock.Call
UpdateWorkflowExecutionAsPassive indicates an expected call of UpdateWorkflowExecutionAsPassive
func (*MockContextMockRecorder) UpdateWorkflowExecutionWithNew ¶
func (mr *MockContextMockRecorder) UpdateWorkflowExecutionWithNew(now, updateMode, newContext, newMutableState, currentWorkflowTransactionPolicy, newWorkflowTransactionPolicy interface{}) *gomock.Call
UpdateWorkflowExecutionWithNew indicates an expected call of UpdateWorkflowExecutionWithNew
func (*MockContextMockRecorder) UpdateWorkflowExecutionWithNewAsActive ¶
func (mr *MockContextMockRecorder) UpdateWorkflowExecutionWithNewAsActive(now, newContext, newMutableState interface{}) *gomock.Call
UpdateWorkflowExecutionWithNewAsActive indicates an expected call of UpdateWorkflowExecutionWithNewAsActive
func (*MockContextMockRecorder) UpdateWorkflowExecutionWithNewAsPassive ¶
func (mr *MockContextMockRecorder) UpdateWorkflowExecutionWithNewAsPassive(now, newContext, newMutableState interface{}) *gomock.Call
UpdateWorkflowExecutionWithNewAsPassive indicates an expected call of UpdateWorkflowExecutionWithNewAsPassive
type MockMutableState ¶
type MockMutableState struct {
// contains filtered or unexported fields
}
MockMutableState is a mock of MutableState interface
func NewMockMutableState ¶
func NewMockMutableState(ctrl *gomock.Controller) *MockMutableState
NewMockMutableState creates a new mock instance
func (*MockMutableState) AddActivityTaskCancelRequestedEvent ¶
func (m *MockMutableState) AddActivityTaskCancelRequestedEvent(arg0 int64, arg1, arg2 string) (*shared.HistoryEvent, *persistence.ActivityInfo, error)
AddActivityTaskCancelRequestedEvent mocks base method
func (*MockMutableState) AddActivityTaskCanceledEvent ¶
func (m *MockMutableState) AddActivityTaskCanceledEvent(arg0, arg1, arg2 int64, arg3 []uint8, arg4 string) (*shared.HistoryEvent, error)
AddActivityTaskCanceledEvent mocks base method
func (*MockMutableState) AddActivityTaskCompletedEvent ¶
func (m *MockMutableState) AddActivityTaskCompletedEvent(arg0, arg1 int64, arg2 *shared.RespondActivityTaskCompletedRequest) (*shared.HistoryEvent, error)
AddActivityTaskCompletedEvent mocks base method
func (*MockMutableState) AddActivityTaskFailedEvent ¶
func (m *MockMutableState) AddActivityTaskFailedEvent(arg0, arg1 int64, arg2 *shared.RespondActivityTaskFailedRequest) (*shared.HistoryEvent, error)
AddActivityTaskFailedEvent mocks base method
func (*MockMutableState) AddActivityTaskScheduledEvent ¶
func (m *MockMutableState) AddActivityTaskScheduledEvent(arg0 int64, arg1 *shared.ScheduleActivityTaskDecisionAttributes) (*shared.HistoryEvent, *persistence.ActivityInfo, error)
AddActivityTaskScheduledEvent mocks base method
func (*MockMutableState) AddActivityTaskStartedEvent ¶
func (m *MockMutableState) AddActivityTaskStartedEvent(arg0 *persistence.ActivityInfo, arg1 int64, arg2, arg3 string) (*shared.HistoryEvent, error)
AddActivityTaskStartedEvent mocks base method
func (*MockMutableState) AddActivityTaskTimedOutEvent ¶
func (m *MockMutableState) AddActivityTaskTimedOutEvent(arg0, arg1 int64, arg2 shared.TimeoutType, arg3 []uint8) (*shared.HistoryEvent, error)
AddActivityTaskTimedOutEvent mocks base method
func (*MockMutableState) AddCancelTimerFailedEvent ¶
func (m *MockMutableState) AddCancelTimerFailedEvent(arg0 int64, arg1 *shared.CancelTimerDecisionAttributes, arg2 string) (*shared.HistoryEvent, error)
AddCancelTimerFailedEvent mocks base method
func (*MockMutableState) AddChildWorkflowExecutionCanceledEvent ¶
func (m *MockMutableState) AddChildWorkflowExecutionCanceledEvent(arg0 int64, arg1 *shared.WorkflowExecution, arg2 *shared.WorkflowExecutionCanceledEventAttributes) (*shared.HistoryEvent, error)
AddChildWorkflowExecutionCanceledEvent mocks base method
func (*MockMutableState) AddChildWorkflowExecutionCompletedEvent ¶
func (m *MockMutableState) AddChildWorkflowExecutionCompletedEvent(arg0 int64, arg1 *shared.WorkflowExecution, arg2 *shared.WorkflowExecutionCompletedEventAttributes) (*shared.HistoryEvent, error)
AddChildWorkflowExecutionCompletedEvent mocks base method
func (*MockMutableState) AddChildWorkflowExecutionFailedEvent ¶
func (m *MockMutableState) AddChildWorkflowExecutionFailedEvent(arg0 int64, arg1 *shared.WorkflowExecution, arg2 *shared.WorkflowExecutionFailedEventAttributes) (*shared.HistoryEvent, error)
AddChildWorkflowExecutionFailedEvent mocks base method
func (*MockMutableState) AddChildWorkflowExecutionStartedEvent ¶
func (m *MockMutableState) AddChildWorkflowExecutionStartedEvent(arg0 *string, arg1 *shared.WorkflowExecution, arg2 *shared.WorkflowType, arg3 int64, arg4 *shared.Header) (*shared.HistoryEvent, error)
AddChildWorkflowExecutionStartedEvent mocks base method
func (*MockMutableState) AddChildWorkflowExecutionTerminatedEvent ¶
func (m *MockMutableState) AddChildWorkflowExecutionTerminatedEvent(arg0 int64, arg1 *shared.WorkflowExecution, arg2 *shared.WorkflowExecutionTerminatedEventAttributes) (*shared.HistoryEvent, error)
AddChildWorkflowExecutionTerminatedEvent mocks base method
func (*MockMutableState) AddChildWorkflowExecutionTimedOutEvent ¶
func (m *MockMutableState) AddChildWorkflowExecutionTimedOutEvent(arg0 int64, arg1 *shared.WorkflowExecution, arg2 *shared.WorkflowExecutionTimedOutEventAttributes) (*shared.HistoryEvent, error)
AddChildWorkflowExecutionTimedOutEvent mocks base method
func (*MockMutableState) AddCompletedWorkflowEvent ¶
func (m *MockMutableState) AddCompletedWorkflowEvent(arg0 int64, arg1 *shared.CompleteWorkflowExecutionDecisionAttributes) (*shared.HistoryEvent, error)
AddCompletedWorkflowEvent mocks base method
func (*MockMutableState) AddContinueAsNewEvent ¶
func (m *MockMutableState) AddContinueAsNewEvent(arg0, arg1 int64, arg2 string, arg3 *shared.ContinueAsNewWorkflowExecutionDecisionAttributes) (*shared.HistoryEvent, MutableState, error)
AddContinueAsNewEvent mocks base method
func (*MockMutableState) AddDecisionTaskCompletedEvent ¶
func (m *MockMutableState) AddDecisionTaskCompletedEvent(arg0, arg1 int64, arg2 *shared.RespondDecisionTaskCompletedRequest, arg3 int) (*shared.HistoryEvent, error)
AddDecisionTaskCompletedEvent mocks base method
func (*MockMutableState) AddDecisionTaskFailedEvent ¶
func (m *MockMutableState) AddDecisionTaskFailedEvent(scheduleEventID, startedEventID int64, cause shared.DecisionTaskFailedCause, details []byte, identity, reason, binChecksum, baseRunID, newRunID string, forkEventVersion int64) (*shared.HistoryEvent, error)
AddDecisionTaskFailedEvent mocks base method
func (*MockMutableState) AddDecisionTaskScheduleToStartTimeoutEvent ¶
func (m *MockMutableState) AddDecisionTaskScheduleToStartTimeoutEvent(arg0 int64) (*shared.HistoryEvent, error)
AddDecisionTaskScheduleToStartTimeoutEvent mocks base method
func (*MockMutableState) AddDecisionTaskScheduledEvent ¶
func (m *MockMutableState) AddDecisionTaskScheduledEvent(bypassTaskGeneration bool) (*DecisionInfo, error)
AddDecisionTaskScheduledEvent mocks base method
func (*MockMutableState) AddDecisionTaskScheduledEventAsHeartbeat ¶
func (m *MockMutableState) AddDecisionTaskScheduledEventAsHeartbeat(bypassTaskGeneration bool, originalScheduledTimestamp int64) (*DecisionInfo, error)
AddDecisionTaskScheduledEventAsHeartbeat mocks base method
func (*MockMutableState) AddDecisionTaskStartedEvent ¶
func (m *MockMutableState) AddDecisionTaskStartedEvent(arg0 int64, arg1 string, arg2 *shared.PollForDecisionTaskRequest) (*shared.HistoryEvent, *DecisionInfo, error)
AddDecisionTaskStartedEvent mocks base method
func (*MockMutableState) AddDecisionTaskTimedOutEvent ¶
func (m *MockMutableState) AddDecisionTaskTimedOutEvent(arg0, arg1 int64) (*shared.HistoryEvent, error)
AddDecisionTaskTimedOutEvent mocks base method
func (*MockMutableState) AddExternalWorkflowExecutionCancelRequested ¶
func (m *MockMutableState) AddExternalWorkflowExecutionCancelRequested(arg0 int64, arg1, arg2, arg3 string) (*shared.HistoryEvent, error)
AddExternalWorkflowExecutionCancelRequested mocks base method
func (*MockMutableState) AddExternalWorkflowExecutionSignaled ¶
func (m *MockMutableState) AddExternalWorkflowExecutionSignaled(arg0 int64, arg1, arg2, arg3 string, arg4 []uint8) (*shared.HistoryEvent, error)
AddExternalWorkflowExecutionSignaled mocks base method
func (*MockMutableState) AddFailWorkflowEvent ¶
func (m *MockMutableState) AddFailWorkflowEvent(arg0 int64, arg1 *shared.FailWorkflowExecutionDecisionAttributes) (*shared.HistoryEvent, error)
AddFailWorkflowEvent mocks base method
func (*MockMutableState) AddFirstDecisionTaskScheduled ¶
func (m *MockMutableState) AddFirstDecisionTaskScheduled(arg0 *shared.HistoryEvent) error
AddFirstDecisionTaskScheduled mocks base method
func (*MockMutableState) AddRecordMarkerEvent ¶
func (m *MockMutableState) AddRecordMarkerEvent(arg0 int64, arg1 *shared.RecordMarkerDecisionAttributes) (*shared.HistoryEvent, error)
AddRecordMarkerEvent mocks base method
func (*MockMutableState) AddRequestCancelActivityTaskFailedEvent ¶
func (m *MockMutableState) AddRequestCancelActivityTaskFailedEvent(arg0 int64, arg1, arg2 string) (*shared.HistoryEvent, error)
AddRequestCancelActivityTaskFailedEvent mocks base method
func (*MockMutableState) AddRequestCancelExternalWorkflowExecutionFailedEvent ¶
func (m *MockMutableState) AddRequestCancelExternalWorkflowExecutionFailedEvent(arg0, arg1 int64, arg2, arg3, arg4 string, arg5 shared.CancelExternalWorkflowExecutionFailedCause) (*shared.HistoryEvent, error)
AddRequestCancelExternalWorkflowExecutionFailedEvent mocks base method
func (*MockMutableState) AddRequestCancelExternalWorkflowExecutionInitiatedEvent ¶
func (m *MockMutableState) AddRequestCancelExternalWorkflowExecutionInitiatedEvent(arg0 int64, arg1 string, arg2 *shared.RequestCancelExternalWorkflowExecutionDecisionAttributes) (*shared.HistoryEvent, *persistence.RequestCancelInfo, error)
AddRequestCancelExternalWorkflowExecutionInitiatedEvent mocks base method
func (*MockMutableState) AddSignalExternalWorkflowExecutionFailedEvent ¶
func (m *MockMutableState) AddSignalExternalWorkflowExecutionFailedEvent(arg0, arg1 int64, arg2, arg3, arg4 string, arg5 []uint8, arg6 shared.SignalExternalWorkflowExecutionFailedCause) (*shared.HistoryEvent, error)
AddSignalExternalWorkflowExecutionFailedEvent mocks base method
func (*MockMutableState) AddSignalExternalWorkflowExecutionInitiatedEvent ¶
func (m *MockMutableState) AddSignalExternalWorkflowExecutionInitiatedEvent(arg0 int64, arg1 string, arg2 *shared.SignalExternalWorkflowExecutionDecisionAttributes) (*shared.HistoryEvent, *persistence.SignalInfo, error)
AddSignalExternalWorkflowExecutionInitiatedEvent mocks base method
func (*MockMutableState) AddSignalRequested ¶
func (m *MockMutableState) AddSignalRequested(requestID string)
AddSignalRequested mocks base method
func (*MockMutableState) AddStartChildWorkflowExecutionFailedEvent ¶
func (m *MockMutableState) AddStartChildWorkflowExecutionFailedEvent(arg0 int64, arg1 shared.ChildWorkflowExecutionFailedCause, arg2 *shared.StartChildWorkflowExecutionInitiatedEventAttributes) (*shared.HistoryEvent, error)
AddStartChildWorkflowExecutionFailedEvent mocks base method
func (*MockMutableState) AddStartChildWorkflowExecutionInitiatedEvent ¶
func (m *MockMutableState) AddStartChildWorkflowExecutionInitiatedEvent(arg0 int64, arg1 string, arg2 *shared.StartChildWorkflowExecutionDecisionAttributes) (*shared.HistoryEvent, *persistence.ChildExecutionInfo, error)
AddStartChildWorkflowExecutionInitiatedEvent mocks base method
func (*MockMutableState) AddTimeoutWorkflowEvent ¶
func (m *MockMutableState) AddTimeoutWorkflowEvent(arg0 int64) (*shared.HistoryEvent, error)
AddTimeoutWorkflowEvent mocks base method
func (*MockMutableState) AddTimerCanceledEvent ¶
func (m *MockMutableState) AddTimerCanceledEvent(arg0 int64, arg1 *shared.CancelTimerDecisionAttributes, arg2 string) (*shared.HistoryEvent, error)
AddTimerCanceledEvent mocks base method
func (*MockMutableState) AddTimerFiredEvent ¶
func (m *MockMutableState) AddTimerFiredEvent(arg0 string) (*shared.HistoryEvent, error)
AddTimerFiredEvent mocks base method
func (*MockMutableState) AddTimerStartedEvent ¶
func (m *MockMutableState) AddTimerStartedEvent(arg0 int64, arg1 *shared.StartTimerDecisionAttributes) (*shared.HistoryEvent, *persistence.TimerInfo, error)
AddTimerStartedEvent mocks base method
func (*MockMutableState) AddTimerTasks ¶
func (m *MockMutableState) AddTimerTasks(timerTasks ...persistence.Task)
AddTimerTasks mocks base method
func (*MockMutableState) AddTransferTasks ¶
func (m *MockMutableState) AddTransferTasks(transferTasks ...persistence.Task)
AddTransferTasks mocks base method
func (*MockMutableState) AddUpsertWorkflowSearchAttributesEvent ¶
func (m *MockMutableState) AddUpsertWorkflowSearchAttributesEvent(arg0 int64, arg1 *shared.UpsertWorkflowSearchAttributesDecisionAttributes) (*shared.HistoryEvent, error)
AddUpsertWorkflowSearchAttributesEvent mocks base method
func (*MockMutableState) AddWorkflowExecutionCancelRequestedEvent ¶
func (m *MockMutableState) AddWorkflowExecutionCancelRequestedEvent(arg0 string, arg1 *history.RequestCancelWorkflowExecutionRequest) (*shared.HistoryEvent, error)
AddWorkflowExecutionCancelRequestedEvent mocks base method
func (*MockMutableState) AddWorkflowExecutionCanceledEvent ¶
func (m *MockMutableState) AddWorkflowExecutionCanceledEvent(arg0 int64, arg1 *shared.CancelWorkflowExecutionDecisionAttributes) (*shared.HistoryEvent, error)
AddWorkflowExecutionCanceledEvent mocks base method
func (*MockMutableState) AddWorkflowExecutionSignaled ¶
func (m *MockMutableState) AddWorkflowExecutionSignaled(signalName string, input []byte, identity string) (*shared.HistoryEvent, error)
AddWorkflowExecutionSignaled mocks base method
func (*MockMutableState) AddWorkflowExecutionStartedEvent ¶
func (m *MockMutableState) AddWorkflowExecutionStartedEvent(arg0 shared.WorkflowExecution, arg1 *history.StartWorkflowExecutionRequest) (*shared.HistoryEvent, error)
AddWorkflowExecutionStartedEvent mocks base method
func (*MockMutableState) AddWorkflowExecutionTerminatedEvent ¶
func (m *MockMutableState) AddWorkflowExecutionTerminatedEvent(firstEventID int64, reason string, details []byte, identity string) (*shared.HistoryEvent, error)
AddWorkflowExecutionTerminatedEvent mocks base method
func (*MockMutableState) CheckResettable ¶
func (m *MockMutableState) CheckResettable() error
CheckResettable mocks base method
func (*MockMutableState) ClearStickyness ¶
func (m *MockMutableState) ClearStickyness()
ClearStickyness mocks base method
func (*MockMutableState) CloseTransactionAsMutation ¶
func (m *MockMutableState) CloseTransactionAsMutation(now time.Time, transactionPolicy TransactionPolicy) (*persistence.WorkflowMutation, []*persistence.WorkflowEvents, error)
CloseTransactionAsMutation mocks base method
func (*MockMutableState) CloseTransactionAsSnapshot ¶
func (m *MockMutableState) CloseTransactionAsSnapshot(now time.Time, transactionPolicy TransactionPolicy) (*persistence.WorkflowSnapshot, []*persistence.WorkflowEvents, error)
CloseTransactionAsSnapshot mocks base method
func (*MockMutableState) CopyToPersistence ¶
func (m *MockMutableState) CopyToPersistence() *persistence.WorkflowMutableState
CopyToPersistence mocks base method
func (*MockMutableState) CreateNewHistoryEvent ¶
func (m *MockMutableState) CreateNewHistoryEvent(eventType shared.EventType) *shared.HistoryEvent
CreateNewHistoryEvent mocks base method
func (*MockMutableState) CreateNewHistoryEventWithTimestamp ¶
func (m *MockMutableState) CreateNewHistoryEventWithTimestamp(eventType shared.EventType, timestamp int64) *shared.HistoryEvent
CreateNewHistoryEventWithTimestamp mocks base method
func (*MockMutableState) CreateTransientDecisionEvents ¶
func (m *MockMutableState) CreateTransientDecisionEvents(di *DecisionInfo, identity string) (*shared.HistoryEvent, *shared.HistoryEvent)
CreateTransientDecisionEvents mocks base method
func (*MockMutableState) DeleteDecision ¶
func (m *MockMutableState) DeleteDecision()
DeleteDecision mocks base method
func (*MockMutableState) DeleteSignalRequested ¶
func (m *MockMutableState) DeleteSignalRequested(requestID string)
DeleteSignalRequested mocks base method
func (*MockMutableState) DeleteTimerTasks ¶
func (m *MockMutableState) DeleteTimerTasks()
DeleteTimerTasks mocks base method
func (*MockMutableState) DeleteTransferTasks ¶
func (m *MockMutableState) DeleteTransferTasks()
DeleteTransferTasks mocks base method
func (*MockMutableState) EXPECT ¶
func (m *MockMutableState) EXPECT() *MockMutableStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMutableState) FailDecision ¶
func (m *MockMutableState) FailDecision(arg0 bool)
FailDecision mocks base method
func (*MockMutableState) FlushBufferedEvents ¶
func (m *MockMutableState) FlushBufferedEvents() error
FlushBufferedEvents mocks base method
func (*MockMutableState) GetActivityByActivityID ¶
func (m *MockMutableState) GetActivityByActivityID(arg0 string) (*persistence.ActivityInfo, bool)
GetActivityByActivityID mocks base method
func (*MockMutableState) GetActivityInfo ¶
func (m *MockMutableState) GetActivityInfo(arg0 int64) (*persistence.ActivityInfo, bool)
GetActivityInfo mocks base method
func (*MockMutableState) GetActivityScheduledEvent ¶
func (m *MockMutableState) GetActivityScheduledEvent(arg0 int64) (*shared.HistoryEvent, error)
GetActivityScheduledEvent mocks base method
func (*MockMutableState) GetChildExecutionInfo ¶
func (m *MockMutableState) GetChildExecutionInfo(arg0 int64) (*persistence.ChildExecutionInfo, bool)
GetChildExecutionInfo mocks base method
func (*MockMutableState) GetChildExecutionInitiatedEvent ¶
func (m *MockMutableState) GetChildExecutionInitiatedEvent(arg0 int64) (*shared.HistoryEvent, error)
GetChildExecutionInitiatedEvent mocks base method
func (*MockMutableState) GetCompletionEvent ¶
func (m *MockMutableState) GetCompletionEvent() (*shared.HistoryEvent, error)
GetCompletionEvent mocks base method
func (*MockMutableState) GetCronBackoffDuration ¶
func (m *MockMutableState) GetCronBackoffDuration() (time.Duration, error)
GetCronBackoffDuration mocks base method
func (*MockMutableState) GetCurrentBranchToken ¶
func (m *MockMutableState) GetCurrentBranchToken() ([]byte, error)
GetCurrentBranchToken mocks base method
func (*MockMutableState) GetCurrentVersion ¶
func (m *MockMutableState) GetCurrentVersion() int64
GetCurrentVersion mocks base method
func (*MockMutableState) GetDecisionInfo ¶
func (m *MockMutableState) GetDecisionInfo(arg0 int64) (*DecisionInfo, bool)
GetDecisionInfo mocks base method
func (*MockMutableState) GetDomainEntry ¶
func (m *MockMutableState) GetDomainEntry() *cache.DomainCacheEntry
GetDomainEntry mocks base method
func (*MockMutableState) GetExecutionInfo ¶
func (m *MockMutableState) GetExecutionInfo() *persistence.WorkflowExecutionInfo
GetExecutionInfo mocks base method
func (*MockMutableState) GetHistoryBuilder ¶
func (m *MockMutableState) GetHistoryBuilder() *HistoryBuilder
GetHistoryBuilder mocks base method
func (*MockMutableState) GetInFlightDecision ¶
func (m *MockMutableState) GetInFlightDecision() (*DecisionInfo, bool)
GetInFlightDecision mocks base method
func (*MockMutableState) GetLastFirstEventID ¶
func (m *MockMutableState) GetLastFirstEventID() int64
GetLastFirstEventID mocks base method
func (*MockMutableState) GetLastWriteVersion ¶
func (m *MockMutableState) GetLastWriteVersion() (int64, error)
GetLastWriteVersion mocks base method
func (*MockMutableState) GetNextEventID ¶
func (m *MockMutableState) GetNextEventID() int64
GetNextEventID mocks base method
func (*MockMutableState) GetPendingActivityInfos ¶
func (m *MockMutableState) GetPendingActivityInfos() map[int64]*persistence.ActivityInfo
GetPendingActivityInfos mocks base method
func (*MockMutableState) GetPendingChildExecutionInfos ¶
func (m *MockMutableState) GetPendingChildExecutionInfos() map[int64]*persistence.ChildExecutionInfo
GetPendingChildExecutionInfos mocks base method
func (*MockMutableState) GetPendingDecision ¶
func (m *MockMutableState) GetPendingDecision() (*DecisionInfo, bool)
GetPendingDecision mocks base method
func (*MockMutableState) GetPendingRequestCancelExternalInfos ¶
func (m *MockMutableState) GetPendingRequestCancelExternalInfos() map[int64]*persistence.RequestCancelInfo
GetPendingRequestCancelExternalInfos mocks base method
func (*MockMutableState) GetPendingSignalExternalInfos ¶
func (m *MockMutableState) GetPendingSignalExternalInfos() map[int64]*persistence.SignalInfo
GetPendingSignalExternalInfos mocks base method
func (*MockMutableState) GetPendingTimerInfos ¶
func (m *MockMutableState) GetPendingTimerInfos() map[string]*persistence.TimerInfo
GetPendingTimerInfos mocks base method
func (*MockMutableState) GetPreviousStartedEventID ¶
func (m *MockMutableState) GetPreviousStartedEventID() int64
GetPreviousStartedEventID mocks base method
func (*MockMutableState) GetQueryRegistry ¶
func (m *MockMutableState) GetQueryRegistry() query.Registry
GetQueryRegistry mocks base method
func (*MockMutableState) GetReplicationState ¶
func (m *MockMutableState) GetReplicationState() *persistence.ReplicationState
GetReplicationState mocks base method
func (*MockMutableState) GetRequestCancelInfo ¶
func (m *MockMutableState) GetRequestCancelInfo(arg0 int64) (*persistence.RequestCancelInfo, bool)
GetRequestCancelInfo mocks base method
func (*MockMutableState) GetRetryBackoffDuration ¶
func (m *MockMutableState) GetRetryBackoffDuration(errReason string) time.Duration
GetRetryBackoffDuration mocks base method
func (*MockMutableState) GetSignalInfo ¶
func (m *MockMutableState) GetSignalInfo(arg0 int64) (*persistence.SignalInfo, bool)
GetSignalInfo mocks base method
func (*MockMutableState) GetStartEvent ¶
func (m *MockMutableState) GetStartEvent() (*shared.HistoryEvent, error)
GetStartEvent mocks base method
func (*MockMutableState) GetStartVersion ¶
func (m *MockMutableState) GetStartVersion() (int64, error)
GetStartVersion mocks base method
func (*MockMutableState) GetTimerTasks ¶
func (m *MockMutableState) GetTimerTasks() []persistence.Task
GetTimerTasks mocks base method
func (*MockMutableState) GetTransferTasks ¶
func (m *MockMutableState) GetTransferTasks() []persistence.Task
GetTransferTasks mocks base method
func (*MockMutableState) GetUpdateCondition ¶
func (m *MockMutableState) GetUpdateCondition() int64
GetUpdateCondition mocks base method
func (*MockMutableState) GetUserTimerInfo ¶
func (m *MockMutableState) GetUserTimerInfo(arg0 string) (*persistence.TimerInfo, bool)
GetUserTimerInfo mocks base method
func (*MockMutableState) GetUserTimerInfoByEventID ¶
func (m *MockMutableState) GetUserTimerInfoByEventID(arg0 int64) (*persistence.TimerInfo, bool)
GetUserTimerInfoByEventID mocks base method
func (*MockMutableState) GetVersionHistories ¶
func (m *MockMutableState) GetVersionHistories() *persistence.VersionHistories
GetVersionHistories mocks base method
func (*MockMutableState) GetWorkflowStateCloseStatus ¶
func (m *MockMutableState) GetWorkflowStateCloseStatus() (int, int)
GetWorkflowStateCloseStatus mocks base method
func (*MockMutableState) GetWorkflowType ¶
func (m *MockMutableState) GetWorkflowType() *shared.WorkflowType
GetWorkflowType mocks base method
func (*MockMutableState) HasBufferedEvents ¶
func (m *MockMutableState) HasBufferedEvents() bool
HasBufferedEvents mocks base method
func (*MockMutableState) HasInFlightDecision ¶
func (m *MockMutableState) HasInFlightDecision() bool
HasInFlightDecision mocks base method
func (*MockMutableState) HasParentExecution ¶
func (m *MockMutableState) HasParentExecution() bool
HasParentExecution mocks base method
func (*MockMutableState) HasPendingDecision ¶
func (m *MockMutableState) HasPendingDecision() bool
HasPendingDecision mocks base method
func (*MockMutableState) HasProcessedOrPendingDecision ¶
func (m *MockMutableState) HasProcessedOrPendingDecision() bool
HasProcessedOrPendingDecision mocks base method
func (*MockMutableState) IsCancelRequested ¶
func (m *MockMutableState) IsCancelRequested() (bool, string)
IsCancelRequested mocks base method
func (*MockMutableState) IsCurrentWorkflowGuaranteed ¶
func (m *MockMutableState) IsCurrentWorkflowGuaranteed() bool
IsCurrentWorkflowGuaranteed mocks base method
func (*MockMutableState) IsResourceDuplicated ¶
func (m *MockMutableState) IsResourceDuplicated(resourceDedupKey definition.DeduplicationID) bool
IsResourceDuplicated mocks base method
func (*MockMutableState) IsSignalRequested ¶
func (m *MockMutableState) IsSignalRequested(requestID string) bool
IsSignalRequested mocks base method
func (*MockMutableState) IsStickyTaskListEnabled ¶
func (m *MockMutableState) IsStickyTaskListEnabled() bool
IsStickyTaskListEnabled mocks base method
func (*MockMutableState) IsWorkflowExecutionRunning ¶
func (m *MockMutableState) IsWorkflowExecutionRunning() bool
IsWorkflowExecutionRunning mocks base method
func (*MockMutableState) Load ¶
func (m *MockMutableState) Load(arg0 *persistence.WorkflowMutableState)
Load mocks base method
func (*MockMutableState) ReplicateActivityInfo ¶
func (m *MockMutableState) ReplicateActivityInfo(arg0 *history.SyncActivityRequest, arg1 bool) error
ReplicateActivityInfo mocks base method
func (*MockMutableState) ReplicateActivityTaskCancelRequestedEvent ¶
func (m *MockMutableState) ReplicateActivityTaskCancelRequestedEvent(arg0 *shared.HistoryEvent) error
ReplicateActivityTaskCancelRequestedEvent mocks base method
func (*MockMutableState) ReplicateActivityTaskCanceledEvent ¶
func (m *MockMutableState) ReplicateActivityTaskCanceledEvent(arg0 *shared.HistoryEvent) error
ReplicateActivityTaskCanceledEvent mocks base method
func (*MockMutableState) ReplicateActivityTaskCompletedEvent ¶
func (m *MockMutableState) ReplicateActivityTaskCompletedEvent(arg0 *shared.HistoryEvent) error
ReplicateActivityTaskCompletedEvent mocks base method
func (*MockMutableState) ReplicateActivityTaskFailedEvent ¶
func (m *MockMutableState) ReplicateActivityTaskFailedEvent(arg0 *shared.HistoryEvent) error
ReplicateActivityTaskFailedEvent mocks base method
func (*MockMutableState) ReplicateActivityTaskScheduledEvent ¶
func (m *MockMutableState) ReplicateActivityTaskScheduledEvent(arg0 int64, arg1 *shared.HistoryEvent) (*persistence.ActivityInfo, error)
ReplicateActivityTaskScheduledEvent mocks base method
func (*MockMutableState) ReplicateActivityTaskStartedEvent ¶
func (m *MockMutableState) ReplicateActivityTaskStartedEvent(arg0 *shared.HistoryEvent) error
ReplicateActivityTaskStartedEvent mocks base method
func (*MockMutableState) ReplicateActivityTaskTimedOutEvent ¶
func (m *MockMutableState) ReplicateActivityTaskTimedOutEvent(arg0 *shared.HistoryEvent) error
ReplicateActivityTaskTimedOutEvent mocks base method
func (*MockMutableState) ReplicateChildWorkflowExecutionCanceledEvent ¶
func (m *MockMutableState) ReplicateChildWorkflowExecutionCanceledEvent(arg0 *shared.HistoryEvent) error
ReplicateChildWorkflowExecutionCanceledEvent mocks base method
func (*MockMutableState) ReplicateChildWorkflowExecutionCompletedEvent ¶
func (m *MockMutableState) ReplicateChildWorkflowExecutionCompletedEvent(arg0 *shared.HistoryEvent) error
ReplicateChildWorkflowExecutionCompletedEvent mocks base method
func (*MockMutableState) ReplicateChildWorkflowExecutionFailedEvent ¶
func (m *MockMutableState) ReplicateChildWorkflowExecutionFailedEvent(arg0 *shared.HistoryEvent) error
ReplicateChildWorkflowExecutionFailedEvent mocks base method
func (*MockMutableState) ReplicateChildWorkflowExecutionStartedEvent ¶
func (m *MockMutableState) ReplicateChildWorkflowExecutionStartedEvent(arg0 *shared.HistoryEvent) error
ReplicateChildWorkflowExecutionStartedEvent mocks base method
func (*MockMutableState) ReplicateChildWorkflowExecutionTerminatedEvent ¶
func (m *MockMutableState) ReplicateChildWorkflowExecutionTerminatedEvent(arg0 *shared.HistoryEvent) error
ReplicateChildWorkflowExecutionTerminatedEvent mocks base method
func (*MockMutableState) ReplicateChildWorkflowExecutionTimedOutEvent ¶
func (m *MockMutableState) ReplicateChildWorkflowExecutionTimedOutEvent(arg0 *shared.HistoryEvent) error
ReplicateChildWorkflowExecutionTimedOutEvent mocks base method
func (*MockMutableState) ReplicateDecisionTaskCompletedEvent ¶
func (m *MockMutableState) ReplicateDecisionTaskCompletedEvent(arg0 *shared.HistoryEvent) error
ReplicateDecisionTaskCompletedEvent mocks base method
func (*MockMutableState) ReplicateDecisionTaskFailedEvent ¶
func (m *MockMutableState) ReplicateDecisionTaskFailedEvent() error
ReplicateDecisionTaskFailedEvent mocks base method
func (*MockMutableState) ReplicateDecisionTaskScheduledEvent ¶
func (m *MockMutableState) ReplicateDecisionTaskScheduledEvent(arg0, arg1 int64, arg2 string, arg3 int32, arg4, arg5, arg6 int64) (*DecisionInfo, error)
ReplicateDecisionTaskScheduledEvent mocks base method
func (*MockMutableState) ReplicateDecisionTaskStartedEvent ¶
func (m *MockMutableState) ReplicateDecisionTaskStartedEvent(arg0 *DecisionInfo, arg1, arg2, arg3 int64, arg4 string, arg5 int64) (*DecisionInfo, error)
ReplicateDecisionTaskStartedEvent mocks base method
func (*MockMutableState) ReplicateDecisionTaskTimedOutEvent ¶
func (m *MockMutableState) ReplicateDecisionTaskTimedOutEvent(arg0 shared.TimeoutType) error
ReplicateDecisionTaskTimedOutEvent mocks base method
func (*MockMutableState) ReplicateExternalWorkflowExecutionCancelRequested ¶
func (m *MockMutableState) ReplicateExternalWorkflowExecutionCancelRequested(arg0 *shared.HistoryEvent) error
ReplicateExternalWorkflowExecutionCancelRequested mocks base method
func (*MockMutableState) ReplicateExternalWorkflowExecutionSignaled ¶
func (m *MockMutableState) ReplicateExternalWorkflowExecutionSignaled(arg0 *shared.HistoryEvent) error
ReplicateExternalWorkflowExecutionSignaled mocks base method
func (*MockMutableState) ReplicateRequestCancelExternalWorkflowExecutionFailedEvent ¶
func (m *MockMutableState) ReplicateRequestCancelExternalWorkflowExecutionFailedEvent(arg0 *shared.HistoryEvent) error
ReplicateRequestCancelExternalWorkflowExecutionFailedEvent mocks base method
func (*MockMutableState) ReplicateRequestCancelExternalWorkflowExecutionInitiatedEvent ¶
func (m *MockMutableState) ReplicateRequestCancelExternalWorkflowExecutionInitiatedEvent(arg0 int64, arg1 *shared.HistoryEvent, arg2 string) (*persistence.RequestCancelInfo, error)
ReplicateRequestCancelExternalWorkflowExecutionInitiatedEvent mocks base method
func (*MockMutableState) ReplicateSignalExternalWorkflowExecutionFailedEvent ¶
func (m *MockMutableState) ReplicateSignalExternalWorkflowExecutionFailedEvent(arg0 *shared.HistoryEvent) error
ReplicateSignalExternalWorkflowExecutionFailedEvent mocks base method
func (*MockMutableState) ReplicateSignalExternalWorkflowExecutionInitiatedEvent ¶
func (m *MockMutableState) ReplicateSignalExternalWorkflowExecutionInitiatedEvent(arg0 int64, arg1 *shared.HistoryEvent, arg2 string) (*persistence.SignalInfo, error)
ReplicateSignalExternalWorkflowExecutionInitiatedEvent mocks base method
func (*MockMutableState) ReplicateStartChildWorkflowExecutionFailedEvent ¶
func (m *MockMutableState) ReplicateStartChildWorkflowExecutionFailedEvent(arg0 *shared.HistoryEvent) error
ReplicateStartChildWorkflowExecutionFailedEvent mocks base method
func (*MockMutableState) ReplicateStartChildWorkflowExecutionInitiatedEvent ¶
func (m *MockMutableState) ReplicateStartChildWorkflowExecutionInitiatedEvent(arg0 int64, arg1 *shared.HistoryEvent, arg2 string) (*persistence.ChildExecutionInfo, error)
ReplicateStartChildWorkflowExecutionInitiatedEvent mocks base method
func (*MockMutableState) ReplicateTimerCanceledEvent ¶
func (m *MockMutableState) ReplicateTimerCanceledEvent(arg0 *shared.HistoryEvent) error
ReplicateTimerCanceledEvent mocks base method
func (*MockMutableState) ReplicateTimerFiredEvent ¶
func (m *MockMutableState) ReplicateTimerFiredEvent(arg0 *shared.HistoryEvent) error
ReplicateTimerFiredEvent mocks base method
func (*MockMutableState) ReplicateTimerStartedEvent ¶
func (m *MockMutableState) ReplicateTimerStartedEvent(arg0 *shared.HistoryEvent) (*persistence.TimerInfo, error)
ReplicateTimerStartedEvent mocks base method
func (*MockMutableState) ReplicateTransientDecisionTaskScheduled ¶
func (m *MockMutableState) ReplicateTransientDecisionTaskScheduled() (*DecisionInfo, error)
ReplicateTransientDecisionTaskScheduled mocks base method
func (*MockMutableState) ReplicateUpsertWorkflowSearchAttributesEvent ¶
func (m *MockMutableState) ReplicateUpsertWorkflowSearchAttributesEvent(arg0 *shared.HistoryEvent)
ReplicateUpsertWorkflowSearchAttributesEvent mocks base method
func (*MockMutableState) ReplicateWorkflowExecutionCancelRequestedEvent ¶
func (m *MockMutableState) ReplicateWorkflowExecutionCancelRequestedEvent(arg0 *shared.HistoryEvent) error
ReplicateWorkflowExecutionCancelRequestedEvent mocks base method
func (*MockMutableState) ReplicateWorkflowExecutionCanceledEvent ¶
func (m *MockMutableState) ReplicateWorkflowExecutionCanceledEvent(arg0 int64, arg1 *shared.HistoryEvent) error
ReplicateWorkflowExecutionCanceledEvent mocks base method
func (*MockMutableState) ReplicateWorkflowExecutionCompletedEvent ¶
func (m *MockMutableState) ReplicateWorkflowExecutionCompletedEvent(arg0 int64, arg1 *shared.HistoryEvent) error
ReplicateWorkflowExecutionCompletedEvent mocks base method
func (*MockMutableState) ReplicateWorkflowExecutionContinuedAsNewEvent ¶
func (m *MockMutableState) ReplicateWorkflowExecutionContinuedAsNewEvent(arg0 int64, arg1 string, arg2 *shared.HistoryEvent) error
ReplicateWorkflowExecutionContinuedAsNewEvent mocks base method
func (*MockMutableState) ReplicateWorkflowExecutionFailedEvent ¶
func (m *MockMutableState) ReplicateWorkflowExecutionFailedEvent(arg0 int64, arg1 *shared.HistoryEvent) error
ReplicateWorkflowExecutionFailedEvent mocks base method
func (*MockMutableState) ReplicateWorkflowExecutionSignaled ¶
func (m *MockMutableState) ReplicateWorkflowExecutionSignaled(arg0 *shared.HistoryEvent) error
ReplicateWorkflowExecutionSignaled mocks base method
func (*MockMutableState) ReplicateWorkflowExecutionStartedEvent ¶
func (m *MockMutableState) ReplicateWorkflowExecutionStartedEvent(arg0 *string, arg1 shared.WorkflowExecution, arg2 string, arg3 *shared.HistoryEvent) error
ReplicateWorkflowExecutionStartedEvent mocks base method
func (*MockMutableState) ReplicateWorkflowExecutionTerminatedEvent ¶
func (m *MockMutableState) ReplicateWorkflowExecutionTerminatedEvent(arg0 int64, arg1 *shared.HistoryEvent) error
ReplicateWorkflowExecutionTerminatedEvent mocks base method
func (*MockMutableState) ReplicateWorkflowExecutionTimedoutEvent ¶
func (m *MockMutableState) ReplicateWorkflowExecutionTimedoutEvent(arg0 int64, arg1 *shared.HistoryEvent) error
ReplicateWorkflowExecutionTimedoutEvent mocks base method
func (*MockMutableState) RetryActivity ¶
func (m *MockMutableState) RetryActivity(ai *persistence.ActivityInfo, failureReason string, failureDetails []byte) (bool, error)
RetryActivity mocks base method
func (*MockMutableState) SetCurrentBranchToken ¶
func (m *MockMutableState) SetCurrentBranchToken(branchToken []byte) error
SetCurrentBranchToken mocks base method
func (*MockMutableState) SetHistoryBuilder ¶
func (m *MockMutableState) SetHistoryBuilder(hBuilder *HistoryBuilder)
SetHistoryBuilder mocks base method
func (*MockMutableState) SetHistoryTree ¶
func (m *MockMutableState) SetHistoryTree(treeID string) error
SetHistoryTree mocks base method
func (*MockMutableState) SetQueryRegistry ¶
func (m *MockMutableState) SetQueryRegistry(arg0 query.Registry)
SetQueryRegistry mocks base method
func (*MockMutableState) SetUpdateCondition ¶
func (m *MockMutableState) SetUpdateCondition(arg0 int64)
SetUpdateCondition mocks base method
func (*MockMutableState) SetVersionHistories ¶
func (m *MockMutableState) SetVersionHistories(arg0 *persistence.VersionHistories) error
SetVersionHistories mocks base method
func (*MockMutableState) StartTransaction ¶
func (m *MockMutableState) StartTransaction(entry *cache.DomainCacheEntry) (bool, error)
StartTransaction mocks base method
func (*MockMutableState) StartTransactionSkipDecisionFail ¶
func (m *MockMutableState) StartTransactionSkipDecisionFail(entry *cache.DomainCacheEntry) error
StartTransactionSkipDecisionFail mocks base method
func (*MockMutableState) UpdateActivity ¶
func (m *MockMutableState) UpdateActivity(arg0 *persistence.ActivityInfo) error
UpdateActivity mocks base method
func (*MockMutableState) UpdateActivityProgress ¶
func (m *MockMutableState) UpdateActivityProgress(ai *persistence.ActivityInfo, request *shared.RecordActivityTaskHeartbeatRequest)
UpdateActivityProgress mocks base method
func (*MockMutableState) UpdateCurrentVersion ¶
func (m *MockMutableState) UpdateCurrentVersion(version int64, forceUpdate bool) error
UpdateCurrentVersion mocks base method
func (*MockMutableState) UpdateDecision ¶
func (m *MockMutableState) UpdateDecision(arg0 *DecisionInfo)
UpdateDecision mocks base method
func (*MockMutableState) UpdateDuplicatedResource ¶
func (m *MockMutableState) UpdateDuplicatedResource(resourceDedupKey definition.DeduplicationID)
UpdateDuplicatedResource mocks base method
func (*MockMutableState) UpdateReplicationStateLastEventID ¶
func (m *MockMutableState) UpdateReplicationStateLastEventID(arg0, arg1 int64)
UpdateReplicationStateLastEventID mocks base method
func (*MockMutableState) UpdateReplicationStateVersion ¶
func (m *MockMutableState) UpdateReplicationStateVersion(arg0 int64, arg1 bool)
UpdateReplicationStateVersion mocks base method
func (*MockMutableState) UpdateUserTimer ¶
func (m *MockMutableState) UpdateUserTimer(arg0 *persistence.TimerInfo) error
UpdateUserTimer mocks base method
func (*MockMutableState) UpdateWorkflowStateCloseStatus ¶
func (m *MockMutableState) UpdateWorkflowStateCloseStatus(state, closeStatus int) error
UpdateWorkflowStateCloseStatus mocks base method
type MockMutableStateMockRecorder ¶
type MockMutableStateMockRecorder struct {
// contains filtered or unexported fields
}
MockMutableStateMockRecorder is the mock recorder for MockMutableState
func (*MockMutableStateMockRecorder) AddActivityTaskCancelRequestedEvent ¶
func (mr *MockMutableStateMockRecorder) AddActivityTaskCancelRequestedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
AddActivityTaskCancelRequestedEvent indicates an expected call of AddActivityTaskCancelRequestedEvent
func (*MockMutableStateMockRecorder) AddActivityTaskCanceledEvent ¶
func (mr *MockMutableStateMockRecorder) AddActivityTaskCanceledEvent(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AddActivityTaskCanceledEvent indicates an expected call of AddActivityTaskCanceledEvent
func (*MockMutableStateMockRecorder) AddActivityTaskCompletedEvent ¶
func (mr *MockMutableStateMockRecorder) AddActivityTaskCompletedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
AddActivityTaskCompletedEvent indicates an expected call of AddActivityTaskCompletedEvent
func (*MockMutableStateMockRecorder) AddActivityTaskFailedEvent ¶
func (mr *MockMutableStateMockRecorder) AddActivityTaskFailedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
AddActivityTaskFailedEvent indicates an expected call of AddActivityTaskFailedEvent
func (*MockMutableStateMockRecorder) AddActivityTaskScheduledEvent ¶
func (mr *MockMutableStateMockRecorder) AddActivityTaskScheduledEvent(arg0, arg1 interface{}) *gomock.Call
AddActivityTaskScheduledEvent indicates an expected call of AddActivityTaskScheduledEvent
func (*MockMutableStateMockRecorder) AddActivityTaskStartedEvent ¶
func (mr *MockMutableStateMockRecorder) AddActivityTaskStartedEvent(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddActivityTaskStartedEvent indicates an expected call of AddActivityTaskStartedEvent
func (*MockMutableStateMockRecorder) AddActivityTaskTimedOutEvent ¶
func (mr *MockMutableStateMockRecorder) AddActivityTaskTimedOutEvent(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddActivityTaskTimedOutEvent indicates an expected call of AddActivityTaskTimedOutEvent
func (*MockMutableStateMockRecorder) AddCancelTimerFailedEvent ¶
func (mr *MockMutableStateMockRecorder) AddCancelTimerFailedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
AddCancelTimerFailedEvent indicates an expected call of AddCancelTimerFailedEvent
func (*MockMutableStateMockRecorder) AddChildWorkflowExecutionCanceledEvent ¶
func (mr *MockMutableStateMockRecorder) AddChildWorkflowExecutionCanceledEvent(arg0, arg1, arg2 interface{}) *gomock.Call
AddChildWorkflowExecutionCanceledEvent indicates an expected call of AddChildWorkflowExecutionCanceledEvent
func (*MockMutableStateMockRecorder) AddChildWorkflowExecutionCompletedEvent ¶
func (mr *MockMutableStateMockRecorder) AddChildWorkflowExecutionCompletedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
AddChildWorkflowExecutionCompletedEvent indicates an expected call of AddChildWorkflowExecutionCompletedEvent
func (*MockMutableStateMockRecorder) AddChildWorkflowExecutionFailedEvent ¶
func (mr *MockMutableStateMockRecorder) AddChildWorkflowExecutionFailedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
AddChildWorkflowExecutionFailedEvent indicates an expected call of AddChildWorkflowExecutionFailedEvent
func (*MockMutableStateMockRecorder) AddChildWorkflowExecutionStartedEvent ¶
func (mr *MockMutableStateMockRecorder) AddChildWorkflowExecutionStartedEvent(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AddChildWorkflowExecutionStartedEvent indicates an expected call of AddChildWorkflowExecutionStartedEvent
func (*MockMutableStateMockRecorder) AddChildWorkflowExecutionTerminatedEvent ¶
func (mr *MockMutableStateMockRecorder) AddChildWorkflowExecutionTerminatedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
AddChildWorkflowExecutionTerminatedEvent indicates an expected call of AddChildWorkflowExecutionTerminatedEvent
func (*MockMutableStateMockRecorder) AddChildWorkflowExecutionTimedOutEvent ¶
func (mr *MockMutableStateMockRecorder) AddChildWorkflowExecutionTimedOutEvent(arg0, arg1, arg2 interface{}) *gomock.Call
AddChildWorkflowExecutionTimedOutEvent indicates an expected call of AddChildWorkflowExecutionTimedOutEvent
func (*MockMutableStateMockRecorder) AddCompletedWorkflowEvent ¶
func (mr *MockMutableStateMockRecorder) AddCompletedWorkflowEvent(arg0, arg1 interface{}) *gomock.Call
AddCompletedWorkflowEvent indicates an expected call of AddCompletedWorkflowEvent
func (*MockMutableStateMockRecorder) AddContinueAsNewEvent ¶
func (mr *MockMutableStateMockRecorder) AddContinueAsNewEvent(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddContinueAsNewEvent indicates an expected call of AddContinueAsNewEvent
func (*MockMutableStateMockRecorder) AddDecisionTaskCompletedEvent ¶
func (mr *MockMutableStateMockRecorder) AddDecisionTaskCompletedEvent(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddDecisionTaskCompletedEvent indicates an expected call of AddDecisionTaskCompletedEvent
func (*MockMutableStateMockRecorder) AddDecisionTaskFailedEvent ¶
func (mr *MockMutableStateMockRecorder) AddDecisionTaskFailedEvent(scheduleEventID, startedEventID, cause, details, identity, reason, binChecksum, baseRunID, newRunID, forkEventVersion interface{}) *gomock.Call
AddDecisionTaskFailedEvent indicates an expected call of AddDecisionTaskFailedEvent
func (*MockMutableStateMockRecorder) AddDecisionTaskScheduleToStartTimeoutEvent ¶
func (mr *MockMutableStateMockRecorder) AddDecisionTaskScheduleToStartTimeoutEvent(arg0 interface{}) *gomock.Call
AddDecisionTaskScheduleToStartTimeoutEvent indicates an expected call of AddDecisionTaskScheduleToStartTimeoutEvent
func (*MockMutableStateMockRecorder) AddDecisionTaskScheduledEvent ¶
func (mr *MockMutableStateMockRecorder) AddDecisionTaskScheduledEvent(bypassTaskGeneration interface{}) *gomock.Call
AddDecisionTaskScheduledEvent indicates an expected call of AddDecisionTaskScheduledEvent
func (*MockMutableStateMockRecorder) AddDecisionTaskScheduledEventAsHeartbeat ¶
func (mr *MockMutableStateMockRecorder) AddDecisionTaskScheduledEventAsHeartbeat(bypassTaskGeneration, originalScheduledTimestamp interface{}) *gomock.Call
AddDecisionTaskScheduledEventAsHeartbeat indicates an expected call of AddDecisionTaskScheduledEventAsHeartbeat
func (*MockMutableStateMockRecorder) AddDecisionTaskStartedEvent ¶
func (mr *MockMutableStateMockRecorder) AddDecisionTaskStartedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
AddDecisionTaskStartedEvent indicates an expected call of AddDecisionTaskStartedEvent
func (*MockMutableStateMockRecorder) AddDecisionTaskTimedOutEvent ¶
func (mr *MockMutableStateMockRecorder) AddDecisionTaskTimedOutEvent(arg0, arg1 interface{}) *gomock.Call
AddDecisionTaskTimedOutEvent indicates an expected call of AddDecisionTaskTimedOutEvent
func (*MockMutableStateMockRecorder) AddExternalWorkflowExecutionCancelRequested ¶
func (mr *MockMutableStateMockRecorder) AddExternalWorkflowExecutionCancelRequested(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddExternalWorkflowExecutionCancelRequested indicates an expected call of AddExternalWorkflowExecutionCancelRequested
func (*MockMutableStateMockRecorder) AddExternalWorkflowExecutionSignaled ¶
func (mr *MockMutableStateMockRecorder) AddExternalWorkflowExecutionSignaled(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AddExternalWorkflowExecutionSignaled indicates an expected call of AddExternalWorkflowExecutionSignaled
func (*MockMutableStateMockRecorder) AddFailWorkflowEvent ¶
func (mr *MockMutableStateMockRecorder) AddFailWorkflowEvent(arg0, arg1 interface{}) *gomock.Call
AddFailWorkflowEvent indicates an expected call of AddFailWorkflowEvent
func (*MockMutableStateMockRecorder) AddFirstDecisionTaskScheduled ¶
func (mr *MockMutableStateMockRecorder) AddFirstDecisionTaskScheduled(arg0 interface{}) *gomock.Call
AddFirstDecisionTaskScheduled indicates an expected call of AddFirstDecisionTaskScheduled
func (*MockMutableStateMockRecorder) AddRecordMarkerEvent ¶
func (mr *MockMutableStateMockRecorder) AddRecordMarkerEvent(arg0, arg1 interface{}) *gomock.Call
AddRecordMarkerEvent indicates an expected call of AddRecordMarkerEvent
func (*MockMutableStateMockRecorder) AddRequestCancelActivityTaskFailedEvent ¶
func (mr *MockMutableStateMockRecorder) AddRequestCancelActivityTaskFailedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
AddRequestCancelActivityTaskFailedEvent indicates an expected call of AddRequestCancelActivityTaskFailedEvent
func (*MockMutableStateMockRecorder) AddRequestCancelExternalWorkflowExecutionFailedEvent ¶
func (mr *MockMutableStateMockRecorder) AddRequestCancelExternalWorkflowExecutionFailedEvent(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
AddRequestCancelExternalWorkflowExecutionFailedEvent indicates an expected call of AddRequestCancelExternalWorkflowExecutionFailedEvent
func (*MockMutableStateMockRecorder) AddRequestCancelExternalWorkflowExecutionInitiatedEvent ¶
func (mr *MockMutableStateMockRecorder) AddRequestCancelExternalWorkflowExecutionInitiatedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
AddRequestCancelExternalWorkflowExecutionInitiatedEvent indicates an expected call of AddRequestCancelExternalWorkflowExecutionInitiatedEvent
func (*MockMutableStateMockRecorder) AddSignalExternalWorkflowExecutionFailedEvent ¶
func (mr *MockMutableStateMockRecorder) AddSignalExternalWorkflowExecutionFailedEvent(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
AddSignalExternalWorkflowExecutionFailedEvent indicates an expected call of AddSignalExternalWorkflowExecutionFailedEvent
func (*MockMutableStateMockRecorder) AddSignalExternalWorkflowExecutionInitiatedEvent ¶
func (mr *MockMutableStateMockRecorder) AddSignalExternalWorkflowExecutionInitiatedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
AddSignalExternalWorkflowExecutionInitiatedEvent indicates an expected call of AddSignalExternalWorkflowExecutionInitiatedEvent
func (*MockMutableStateMockRecorder) AddSignalRequested ¶
func (mr *MockMutableStateMockRecorder) AddSignalRequested(requestID interface{}) *gomock.Call
AddSignalRequested indicates an expected call of AddSignalRequested
func (*MockMutableStateMockRecorder) AddStartChildWorkflowExecutionFailedEvent ¶
func (mr *MockMutableStateMockRecorder) AddStartChildWorkflowExecutionFailedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
AddStartChildWorkflowExecutionFailedEvent indicates an expected call of AddStartChildWorkflowExecutionFailedEvent
func (*MockMutableStateMockRecorder) AddStartChildWorkflowExecutionInitiatedEvent ¶
func (mr *MockMutableStateMockRecorder) AddStartChildWorkflowExecutionInitiatedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
AddStartChildWorkflowExecutionInitiatedEvent indicates an expected call of AddStartChildWorkflowExecutionInitiatedEvent
func (*MockMutableStateMockRecorder) AddTimeoutWorkflowEvent ¶
func (mr *MockMutableStateMockRecorder) AddTimeoutWorkflowEvent(arg0 interface{}) *gomock.Call
AddTimeoutWorkflowEvent indicates an expected call of AddTimeoutWorkflowEvent
func (*MockMutableStateMockRecorder) AddTimerCanceledEvent ¶
func (mr *MockMutableStateMockRecorder) AddTimerCanceledEvent(arg0, arg1, arg2 interface{}) *gomock.Call
AddTimerCanceledEvent indicates an expected call of AddTimerCanceledEvent
func (*MockMutableStateMockRecorder) AddTimerFiredEvent ¶
func (mr *MockMutableStateMockRecorder) AddTimerFiredEvent(arg0 interface{}) *gomock.Call
AddTimerFiredEvent indicates an expected call of AddTimerFiredEvent
func (*MockMutableStateMockRecorder) AddTimerStartedEvent ¶
func (mr *MockMutableStateMockRecorder) AddTimerStartedEvent(arg0, arg1 interface{}) *gomock.Call
AddTimerStartedEvent indicates an expected call of AddTimerStartedEvent
func (*MockMutableStateMockRecorder) AddTimerTasks ¶
func (mr *MockMutableStateMockRecorder) AddTimerTasks(timerTasks ...interface{}) *gomock.Call
AddTimerTasks indicates an expected call of AddTimerTasks
func (*MockMutableStateMockRecorder) AddTransferTasks ¶
func (mr *MockMutableStateMockRecorder) AddTransferTasks(transferTasks ...interface{}) *gomock.Call
AddTransferTasks indicates an expected call of AddTransferTasks
func (*MockMutableStateMockRecorder) AddUpsertWorkflowSearchAttributesEvent ¶
func (mr *MockMutableStateMockRecorder) AddUpsertWorkflowSearchAttributesEvent(arg0, arg1 interface{}) *gomock.Call
AddUpsertWorkflowSearchAttributesEvent indicates an expected call of AddUpsertWorkflowSearchAttributesEvent
func (*MockMutableStateMockRecorder) AddWorkflowExecutionCancelRequestedEvent ¶
func (mr *MockMutableStateMockRecorder) AddWorkflowExecutionCancelRequestedEvent(arg0, arg1 interface{}) *gomock.Call
AddWorkflowExecutionCancelRequestedEvent indicates an expected call of AddWorkflowExecutionCancelRequestedEvent
func (*MockMutableStateMockRecorder) AddWorkflowExecutionCanceledEvent ¶
func (mr *MockMutableStateMockRecorder) AddWorkflowExecutionCanceledEvent(arg0, arg1 interface{}) *gomock.Call
AddWorkflowExecutionCanceledEvent indicates an expected call of AddWorkflowExecutionCanceledEvent
func (*MockMutableStateMockRecorder) AddWorkflowExecutionSignaled ¶
func (mr *MockMutableStateMockRecorder) AddWorkflowExecutionSignaled(signalName, input, identity interface{}) *gomock.Call
AddWorkflowExecutionSignaled indicates an expected call of AddWorkflowExecutionSignaled
func (*MockMutableStateMockRecorder) AddWorkflowExecutionStartedEvent ¶
func (mr *MockMutableStateMockRecorder) AddWorkflowExecutionStartedEvent(arg0, arg1 interface{}) *gomock.Call
AddWorkflowExecutionStartedEvent indicates an expected call of AddWorkflowExecutionStartedEvent
func (*MockMutableStateMockRecorder) AddWorkflowExecutionTerminatedEvent ¶
func (mr *MockMutableStateMockRecorder) AddWorkflowExecutionTerminatedEvent(firstEventID, reason, details, identity interface{}) *gomock.Call
AddWorkflowExecutionTerminatedEvent indicates an expected call of AddWorkflowExecutionTerminatedEvent
func (*MockMutableStateMockRecorder) CheckResettable ¶
func (mr *MockMutableStateMockRecorder) CheckResettable() *gomock.Call
CheckResettable indicates an expected call of CheckResettable
func (*MockMutableStateMockRecorder) ClearStickyness ¶
func (mr *MockMutableStateMockRecorder) ClearStickyness() *gomock.Call
ClearStickyness indicates an expected call of ClearStickyness
func (*MockMutableStateMockRecorder) CloseTransactionAsMutation ¶
func (mr *MockMutableStateMockRecorder) CloseTransactionAsMutation(now, transactionPolicy interface{}) *gomock.Call
CloseTransactionAsMutation indicates an expected call of CloseTransactionAsMutation
func (*MockMutableStateMockRecorder) CloseTransactionAsSnapshot ¶
func (mr *MockMutableStateMockRecorder) CloseTransactionAsSnapshot(now, transactionPolicy interface{}) *gomock.Call
CloseTransactionAsSnapshot indicates an expected call of CloseTransactionAsSnapshot
func (*MockMutableStateMockRecorder) CopyToPersistence ¶
func (mr *MockMutableStateMockRecorder) CopyToPersistence() *gomock.Call
CopyToPersistence indicates an expected call of CopyToPersistence
func (*MockMutableStateMockRecorder) CreateNewHistoryEvent ¶
func (mr *MockMutableStateMockRecorder) CreateNewHistoryEvent(eventType interface{}) *gomock.Call
CreateNewHistoryEvent indicates an expected call of CreateNewHistoryEvent
func (*MockMutableStateMockRecorder) CreateNewHistoryEventWithTimestamp ¶
func (mr *MockMutableStateMockRecorder) CreateNewHistoryEventWithTimestamp(eventType, timestamp interface{}) *gomock.Call
CreateNewHistoryEventWithTimestamp indicates an expected call of CreateNewHistoryEventWithTimestamp
func (*MockMutableStateMockRecorder) CreateTransientDecisionEvents ¶
func (mr *MockMutableStateMockRecorder) CreateTransientDecisionEvents(di, identity interface{}) *gomock.Call
CreateTransientDecisionEvents indicates an expected call of CreateTransientDecisionEvents
func (*MockMutableStateMockRecorder) DeleteDecision ¶
func (mr *MockMutableStateMockRecorder) DeleteDecision() *gomock.Call
DeleteDecision indicates an expected call of DeleteDecision
func (*MockMutableStateMockRecorder) DeleteSignalRequested ¶
func (mr *MockMutableStateMockRecorder) DeleteSignalRequested(requestID interface{}) *gomock.Call
DeleteSignalRequested indicates an expected call of DeleteSignalRequested
func (*MockMutableStateMockRecorder) DeleteTimerTasks ¶
func (mr *MockMutableStateMockRecorder) DeleteTimerTasks() *gomock.Call
DeleteTimerTasks indicates an expected call of DeleteTimerTasks
func (*MockMutableStateMockRecorder) DeleteTransferTasks ¶
func (mr *MockMutableStateMockRecorder) DeleteTransferTasks() *gomock.Call
DeleteTransferTasks indicates an expected call of DeleteTransferTasks
func (*MockMutableStateMockRecorder) FailDecision ¶
func (mr *MockMutableStateMockRecorder) FailDecision(arg0 interface{}) *gomock.Call
FailDecision indicates an expected call of FailDecision
func (*MockMutableStateMockRecorder) FlushBufferedEvents ¶
func (mr *MockMutableStateMockRecorder) FlushBufferedEvents() *gomock.Call
FlushBufferedEvents indicates an expected call of FlushBufferedEvents
func (*MockMutableStateMockRecorder) GetActivityByActivityID ¶
func (mr *MockMutableStateMockRecorder) GetActivityByActivityID(arg0 interface{}) *gomock.Call
GetActivityByActivityID indicates an expected call of GetActivityByActivityID
func (*MockMutableStateMockRecorder) GetActivityInfo ¶
func (mr *MockMutableStateMockRecorder) GetActivityInfo(arg0 interface{}) *gomock.Call
GetActivityInfo indicates an expected call of GetActivityInfo
func (*MockMutableStateMockRecorder) GetActivityScheduledEvent ¶
func (mr *MockMutableStateMockRecorder) GetActivityScheduledEvent(arg0 interface{}) *gomock.Call
GetActivityScheduledEvent indicates an expected call of GetActivityScheduledEvent
func (*MockMutableStateMockRecorder) GetChildExecutionInfo ¶
func (mr *MockMutableStateMockRecorder) GetChildExecutionInfo(arg0 interface{}) *gomock.Call
GetChildExecutionInfo indicates an expected call of GetChildExecutionInfo
func (*MockMutableStateMockRecorder) GetChildExecutionInitiatedEvent ¶
func (mr *MockMutableStateMockRecorder) GetChildExecutionInitiatedEvent(arg0 interface{}) *gomock.Call
GetChildExecutionInitiatedEvent indicates an expected call of GetChildExecutionInitiatedEvent
func (*MockMutableStateMockRecorder) GetCompletionEvent ¶
func (mr *MockMutableStateMockRecorder) GetCompletionEvent() *gomock.Call
GetCompletionEvent indicates an expected call of GetCompletionEvent
func (*MockMutableStateMockRecorder) GetCronBackoffDuration ¶
func (mr *MockMutableStateMockRecorder) GetCronBackoffDuration() *gomock.Call
GetCronBackoffDuration indicates an expected call of GetCronBackoffDuration
func (*MockMutableStateMockRecorder) GetCurrentBranchToken ¶
func (mr *MockMutableStateMockRecorder) GetCurrentBranchToken() *gomock.Call
GetCurrentBranchToken indicates an expected call of GetCurrentBranchToken
func (*MockMutableStateMockRecorder) GetCurrentVersion ¶
func (mr *MockMutableStateMockRecorder) GetCurrentVersion() *gomock.Call
GetCurrentVersion indicates an expected call of GetCurrentVersion
func (*MockMutableStateMockRecorder) GetDecisionInfo ¶
func (mr *MockMutableStateMockRecorder) GetDecisionInfo(arg0 interface{}) *gomock.Call
GetDecisionInfo indicates an expected call of GetDecisionInfo
func (*MockMutableStateMockRecorder) GetDomainEntry ¶
func (mr *MockMutableStateMockRecorder) GetDomainEntry() *gomock.Call
GetDomainEntry indicates an expected call of GetDomainEntry
func (*MockMutableStateMockRecorder) GetExecutionInfo ¶
func (mr *MockMutableStateMockRecorder) GetExecutionInfo() *gomock.Call
GetExecutionInfo indicates an expected call of GetExecutionInfo
func (*MockMutableStateMockRecorder) GetHistoryBuilder ¶
func (mr *MockMutableStateMockRecorder) GetHistoryBuilder() *gomock.Call
GetHistoryBuilder indicates an expected call of GetHistoryBuilder
func (*MockMutableStateMockRecorder) GetInFlightDecision ¶
func (mr *MockMutableStateMockRecorder) GetInFlightDecision() *gomock.Call
GetInFlightDecision indicates an expected call of GetInFlightDecision
func (*MockMutableStateMockRecorder) GetLastFirstEventID ¶
func (mr *MockMutableStateMockRecorder) GetLastFirstEventID() *gomock.Call
GetLastFirstEventID indicates an expected call of GetLastFirstEventID
func (*MockMutableStateMockRecorder) GetLastWriteVersion ¶
func (mr *MockMutableStateMockRecorder) GetLastWriteVersion() *gomock.Call
GetLastWriteVersion indicates an expected call of GetLastWriteVersion
func (*MockMutableStateMockRecorder) GetNextEventID ¶
func (mr *MockMutableStateMockRecorder) GetNextEventID() *gomock.Call
GetNextEventID indicates an expected call of GetNextEventID
func (*MockMutableStateMockRecorder) GetPendingActivityInfos ¶
func (mr *MockMutableStateMockRecorder) GetPendingActivityInfos() *gomock.Call
GetPendingActivityInfos indicates an expected call of GetPendingActivityInfos
func (*MockMutableStateMockRecorder) GetPendingChildExecutionInfos ¶
func (mr *MockMutableStateMockRecorder) GetPendingChildExecutionInfos() *gomock.Call
GetPendingChildExecutionInfos indicates an expected call of GetPendingChildExecutionInfos
func (*MockMutableStateMockRecorder) GetPendingDecision ¶
func (mr *MockMutableStateMockRecorder) GetPendingDecision() *gomock.Call
GetPendingDecision indicates an expected call of GetPendingDecision
func (*MockMutableStateMockRecorder) GetPendingRequestCancelExternalInfos ¶
func (mr *MockMutableStateMockRecorder) GetPendingRequestCancelExternalInfos() *gomock.Call
GetPendingRequestCancelExternalInfos indicates an expected call of GetPendingRequestCancelExternalInfos
func (*MockMutableStateMockRecorder) GetPendingSignalExternalInfos ¶
func (mr *MockMutableStateMockRecorder) GetPendingSignalExternalInfos() *gomock.Call
GetPendingSignalExternalInfos indicates an expected call of GetPendingSignalExternalInfos
func (*MockMutableStateMockRecorder) GetPendingTimerInfos ¶
func (mr *MockMutableStateMockRecorder) GetPendingTimerInfos() *gomock.Call
GetPendingTimerInfos indicates an expected call of GetPendingTimerInfos
func (*MockMutableStateMockRecorder) GetPreviousStartedEventID ¶
func (mr *MockMutableStateMockRecorder) GetPreviousStartedEventID() *gomock.Call
GetPreviousStartedEventID indicates an expected call of GetPreviousStartedEventID
func (*MockMutableStateMockRecorder) GetQueryRegistry ¶
func (mr *MockMutableStateMockRecorder) GetQueryRegistry() *gomock.Call
GetQueryRegistry indicates an expected call of GetQueryRegistry
func (*MockMutableStateMockRecorder) GetReplicationState ¶
func (mr *MockMutableStateMockRecorder) GetReplicationState() *gomock.Call
GetReplicationState indicates an expected call of GetReplicationState
func (*MockMutableStateMockRecorder) GetRequestCancelInfo ¶
func (mr *MockMutableStateMockRecorder) GetRequestCancelInfo(arg0 interface{}) *gomock.Call
GetRequestCancelInfo indicates an expected call of GetRequestCancelInfo
func (*MockMutableStateMockRecorder) GetRetryBackoffDuration ¶
func (mr *MockMutableStateMockRecorder) GetRetryBackoffDuration(errReason interface{}) *gomock.Call
GetRetryBackoffDuration indicates an expected call of GetRetryBackoffDuration
func (*MockMutableStateMockRecorder) GetSignalInfo ¶
func (mr *MockMutableStateMockRecorder) GetSignalInfo(arg0 interface{}) *gomock.Call
GetSignalInfo indicates an expected call of GetSignalInfo
func (*MockMutableStateMockRecorder) GetStartEvent ¶
func (mr *MockMutableStateMockRecorder) GetStartEvent() *gomock.Call
GetStartEvent indicates an expected call of GetStartEvent
func (*MockMutableStateMockRecorder) GetStartVersion ¶
func (mr *MockMutableStateMockRecorder) GetStartVersion() *gomock.Call
GetStartVersion indicates an expected call of GetStartVersion
func (*MockMutableStateMockRecorder) GetTimerTasks ¶
func (mr *MockMutableStateMockRecorder) GetTimerTasks() *gomock.Call
GetTimerTasks indicates an expected call of GetTimerTasks
func (*MockMutableStateMockRecorder) GetTransferTasks ¶
func (mr *MockMutableStateMockRecorder) GetTransferTasks() *gomock.Call
GetTransferTasks indicates an expected call of GetTransferTasks
func (*MockMutableStateMockRecorder) GetUpdateCondition ¶
func (mr *MockMutableStateMockRecorder) GetUpdateCondition() *gomock.Call
GetUpdateCondition indicates an expected call of GetUpdateCondition
func (*MockMutableStateMockRecorder) GetUserTimerInfo ¶
func (mr *MockMutableStateMockRecorder) GetUserTimerInfo(arg0 interface{}) *gomock.Call
GetUserTimerInfo indicates an expected call of GetUserTimerInfo
func (*MockMutableStateMockRecorder) GetUserTimerInfoByEventID ¶
func (mr *MockMutableStateMockRecorder) GetUserTimerInfoByEventID(arg0 interface{}) *gomock.Call
GetUserTimerInfoByEventID indicates an expected call of GetUserTimerInfoByEventID
func (*MockMutableStateMockRecorder) GetVersionHistories ¶
func (mr *MockMutableStateMockRecorder) GetVersionHistories() *gomock.Call
GetVersionHistories indicates an expected call of GetVersionHistories
func (*MockMutableStateMockRecorder) GetWorkflowStateCloseStatus ¶
func (mr *MockMutableStateMockRecorder) GetWorkflowStateCloseStatus() *gomock.Call
GetWorkflowStateCloseStatus indicates an expected call of GetWorkflowStateCloseStatus
func (*MockMutableStateMockRecorder) GetWorkflowType ¶
func (mr *MockMutableStateMockRecorder) GetWorkflowType() *gomock.Call
GetWorkflowType indicates an expected call of GetWorkflowType
func (*MockMutableStateMockRecorder) HasBufferedEvents ¶
func (mr *MockMutableStateMockRecorder) HasBufferedEvents() *gomock.Call
HasBufferedEvents indicates an expected call of HasBufferedEvents
func (*MockMutableStateMockRecorder) HasInFlightDecision ¶
func (mr *MockMutableStateMockRecorder) HasInFlightDecision() *gomock.Call
HasInFlightDecision indicates an expected call of HasInFlightDecision
func (*MockMutableStateMockRecorder) HasParentExecution ¶
func (mr *MockMutableStateMockRecorder) HasParentExecution() *gomock.Call
HasParentExecution indicates an expected call of HasParentExecution
func (*MockMutableStateMockRecorder) HasPendingDecision ¶
func (mr *MockMutableStateMockRecorder) HasPendingDecision() *gomock.Call
HasPendingDecision indicates an expected call of HasPendingDecision
func (*MockMutableStateMockRecorder) HasProcessedOrPendingDecision ¶
func (mr *MockMutableStateMockRecorder) HasProcessedOrPendingDecision() *gomock.Call
HasProcessedOrPendingDecision indicates an expected call of HasProcessedOrPendingDecision
func (*MockMutableStateMockRecorder) IsCancelRequested ¶
func (mr *MockMutableStateMockRecorder) IsCancelRequested() *gomock.Call
IsCancelRequested indicates an expected call of IsCancelRequested
func (*MockMutableStateMockRecorder) IsCurrentWorkflowGuaranteed ¶
func (mr *MockMutableStateMockRecorder) IsCurrentWorkflowGuaranteed() *gomock.Call
IsCurrentWorkflowGuaranteed indicates an expected call of IsCurrentWorkflowGuaranteed
func (*MockMutableStateMockRecorder) IsResourceDuplicated ¶
func (mr *MockMutableStateMockRecorder) IsResourceDuplicated(resourceDedupKey interface{}) *gomock.Call
IsResourceDuplicated indicates an expected call of IsResourceDuplicated
func (*MockMutableStateMockRecorder) IsSignalRequested ¶
func (mr *MockMutableStateMockRecorder) IsSignalRequested(requestID interface{}) *gomock.Call
IsSignalRequested indicates an expected call of IsSignalRequested
func (*MockMutableStateMockRecorder) IsStickyTaskListEnabled ¶
func (mr *MockMutableStateMockRecorder) IsStickyTaskListEnabled() *gomock.Call
IsStickyTaskListEnabled indicates an expected call of IsStickyTaskListEnabled
func (*MockMutableStateMockRecorder) IsWorkflowExecutionRunning ¶
func (mr *MockMutableStateMockRecorder) IsWorkflowExecutionRunning() *gomock.Call
IsWorkflowExecutionRunning indicates an expected call of IsWorkflowExecutionRunning
func (*MockMutableStateMockRecorder) Load ¶
func (mr *MockMutableStateMockRecorder) Load(arg0 interface{}) *gomock.Call
Load indicates an expected call of Load
func (*MockMutableStateMockRecorder) ReplicateActivityInfo ¶
func (mr *MockMutableStateMockRecorder) ReplicateActivityInfo(arg0, arg1 interface{}) *gomock.Call
ReplicateActivityInfo indicates an expected call of ReplicateActivityInfo
func (*MockMutableStateMockRecorder) ReplicateActivityTaskCancelRequestedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateActivityTaskCancelRequestedEvent(arg0 interface{}) *gomock.Call
ReplicateActivityTaskCancelRequestedEvent indicates an expected call of ReplicateActivityTaskCancelRequestedEvent
func (*MockMutableStateMockRecorder) ReplicateActivityTaskCanceledEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateActivityTaskCanceledEvent(arg0 interface{}) *gomock.Call
ReplicateActivityTaskCanceledEvent indicates an expected call of ReplicateActivityTaskCanceledEvent
func (*MockMutableStateMockRecorder) ReplicateActivityTaskCompletedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateActivityTaskCompletedEvent(arg0 interface{}) *gomock.Call
ReplicateActivityTaskCompletedEvent indicates an expected call of ReplicateActivityTaskCompletedEvent
func (*MockMutableStateMockRecorder) ReplicateActivityTaskFailedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateActivityTaskFailedEvent(arg0 interface{}) *gomock.Call
ReplicateActivityTaskFailedEvent indicates an expected call of ReplicateActivityTaskFailedEvent
func (*MockMutableStateMockRecorder) ReplicateActivityTaskScheduledEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateActivityTaskScheduledEvent(arg0, arg1 interface{}) *gomock.Call
ReplicateActivityTaskScheduledEvent indicates an expected call of ReplicateActivityTaskScheduledEvent
func (*MockMutableStateMockRecorder) ReplicateActivityTaskStartedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateActivityTaskStartedEvent(arg0 interface{}) *gomock.Call
ReplicateActivityTaskStartedEvent indicates an expected call of ReplicateActivityTaskStartedEvent
func (*MockMutableStateMockRecorder) ReplicateActivityTaskTimedOutEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateActivityTaskTimedOutEvent(arg0 interface{}) *gomock.Call
ReplicateActivityTaskTimedOutEvent indicates an expected call of ReplicateActivityTaskTimedOutEvent
func (*MockMutableStateMockRecorder) ReplicateChildWorkflowExecutionCanceledEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateChildWorkflowExecutionCanceledEvent(arg0 interface{}) *gomock.Call
ReplicateChildWorkflowExecutionCanceledEvent indicates an expected call of ReplicateChildWorkflowExecutionCanceledEvent
func (*MockMutableStateMockRecorder) ReplicateChildWorkflowExecutionCompletedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateChildWorkflowExecutionCompletedEvent(arg0 interface{}) *gomock.Call
ReplicateChildWorkflowExecutionCompletedEvent indicates an expected call of ReplicateChildWorkflowExecutionCompletedEvent
func (*MockMutableStateMockRecorder) ReplicateChildWorkflowExecutionFailedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateChildWorkflowExecutionFailedEvent(arg0 interface{}) *gomock.Call
ReplicateChildWorkflowExecutionFailedEvent indicates an expected call of ReplicateChildWorkflowExecutionFailedEvent
func (*MockMutableStateMockRecorder) ReplicateChildWorkflowExecutionStartedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateChildWorkflowExecutionStartedEvent(arg0 interface{}) *gomock.Call
ReplicateChildWorkflowExecutionStartedEvent indicates an expected call of ReplicateChildWorkflowExecutionStartedEvent
func (*MockMutableStateMockRecorder) ReplicateChildWorkflowExecutionTerminatedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateChildWorkflowExecutionTerminatedEvent(arg0 interface{}) *gomock.Call
ReplicateChildWorkflowExecutionTerminatedEvent indicates an expected call of ReplicateChildWorkflowExecutionTerminatedEvent
func (*MockMutableStateMockRecorder) ReplicateChildWorkflowExecutionTimedOutEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateChildWorkflowExecutionTimedOutEvent(arg0 interface{}) *gomock.Call
ReplicateChildWorkflowExecutionTimedOutEvent indicates an expected call of ReplicateChildWorkflowExecutionTimedOutEvent
func (*MockMutableStateMockRecorder) ReplicateDecisionTaskCompletedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateDecisionTaskCompletedEvent(arg0 interface{}) *gomock.Call
ReplicateDecisionTaskCompletedEvent indicates an expected call of ReplicateDecisionTaskCompletedEvent
func (*MockMutableStateMockRecorder) ReplicateDecisionTaskFailedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateDecisionTaskFailedEvent() *gomock.Call
ReplicateDecisionTaskFailedEvent indicates an expected call of ReplicateDecisionTaskFailedEvent
func (*MockMutableStateMockRecorder) ReplicateDecisionTaskScheduledEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateDecisionTaskScheduledEvent(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
ReplicateDecisionTaskScheduledEvent indicates an expected call of ReplicateDecisionTaskScheduledEvent
func (*MockMutableStateMockRecorder) ReplicateDecisionTaskStartedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateDecisionTaskStartedEvent(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
ReplicateDecisionTaskStartedEvent indicates an expected call of ReplicateDecisionTaskStartedEvent
func (*MockMutableStateMockRecorder) ReplicateDecisionTaskTimedOutEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateDecisionTaskTimedOutEvent(arg0 interface{}) *gomock.Call
ReplicateDecisionTaskTimedOutEvent indicates an expected call of ReplicateDecisionTaskTimedOutEvent
func (*MockMutableStateMockRecorder) ReplicateExternalWorkflowExecutionCancelRequested ¶
func (mr *MockMutableStateMockRecorder) ReplicateExternalWorkflowExecutionCancelRequested(arg0 interface{}) *gomock.Call
ReplicateExternalWorkflowExecutionCancelRequested indicates an expected call of ReplicateExternalWorkflowExecutionCancelRequested
func (*MockMutableStateMockRecorder) ReplicateExternalWorkflowExecutionSignaled ¶
func (mr *MockMutableStateMockRecorder) ReplicateExternalWorkflowExecutionSignaled(arg0 interface{}) *gomock.Call
ReplicateExternalWorkflowExecutionSignaled indicates an expected call of ReplicateExternalWorkflowExecutionSignaled
func (*MockMutableStateMockRecorder) ReplicateRequestCancelExternalWorkflowExecutionFailedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateRequestCancelExternalWorkflowExecutionFailedEvent(arg0 interface{}) *gomock.Call
ReplicateRequestCancelExternalWorkflowExecutionFailedEvent indicates an expected call of ReplicateRequestCancelExternalWorkflowExecutionFailedEvent
func (*MockMutableStateMockRecorder) ReplicateRequestCancelExternalWorkflowExecutionInitiatedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateRequestCancelExternalWorkflowExecutionInitiatedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
ReplicateRequestCancelExternalWorkflowExecutionInitiatedEvent indicates an expected call of ReplicateRequestCancelExternalWorkflowExecutionInitiatedEvent
func (*MockMutableStateMockRecorder) ReplicateSignalExternalWorkflowExecutionFailedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateSignalExternalWorkflowExecutionFailedEvent(arg0 interface{}) *gomock.Call
ReplicateSignalExternalWorkflowExecutionFailedEvent indicates an expected call of ReplicateSignalExternalWorkflowExecutionFailedEvent
func (*MockMutableStateMockRecorder) ReplicateSignalExternalWorkflowExecutionInitiatedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateSignalExternalWorkflowExecutionInitiatedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
ReplicateSignalExternalWorkflowExecutionInitiatedEvent indicates an expected call of ReplicateSignalExternalWorkflowExecutionInitiatedEvent
func (*MockMutableStateMockRecorder) ReplicateStartChildWorkflowExecutionFailedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateStartChildWorkflowExecutionFailedEvent(arg0 interface{}) *gomock.Call
ReplicateStartChildWorkflowExecutionFailedEvent indicates an expected call of ReplicateStartChildWorkflowExecutionFailedEvent
func (*MockMutableStateMockRecorder) ReplicateStartChildWorkflowExecutionInitiatedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateStartChildWorkflowExecutionInitiatedEvent(arg0, arg1, arg2 interface{}) *gomock.Call
ReplicateStartChildWorkflowExecutionInitiatedEvent indicates an expected call of ReplicateStartChildWorkflowExecutionInitiatedEvent
func (*MockMutableStateMockRecorder) ReplicateTimerCanceledEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateTimerCanceledEvent(arg0 interface{}) *gomock.Call
ReplicateTimerCanceledEvent indicates an expected call of ReplicateTimerCanceledEvent
func (*MockMutableStateMockRecorder) ReplicateTimerFiredEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateTimerFiredEvent(arg0 interface{}) *gomock.Call
ReplicateTimerFiredEvent indicates an expected call of ReplicateTimerFiredEvent
func (*MockMutableStateMockRecorder) ReplicateTimerStartedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateTimerStartedEvent(arg0 interface{}) *gomock.Call
ReplicateTimerStartedEvent indicates an expected call of ReplicateTimerStartedEvent
func (*MockMutableStateMockRecorder) ReplicateTransientDecisionTaskScheduled ¶
func (mr *MockMutableStateMockRecorder) ReplicateTransientDecisionTaskScheduled() *gomock.Call
ReplicateTransientDecisionTaskScheduled indicates an expected call of ReplicateTransientDecisionTaskScheduled
func (*MockMutableStateMockRecorder) ReplicateUpsertWorkflowSearchAttributesEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateUpsertWorkflowSearchAttributesEvent(arg0 interface{}) *gomock.Call
ReplicateUpsertWorkflowSearchAttributesEvent indicates an expected call of ReplicateUpsertWorkflowSearchAttributesEvent
func (*MockMutableStateMockRecorder) ReplicateWorkflowExecutionCancelRequestedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateWorkflowExecutionCancelRequestedEvent(arg0 interface{}) *gomock.Call
ReplicateWorkflowExecutionCancelRequestedEvent indicates an expected call of ReplicateWorkflowExecutionCancelRequestedEvent
func (*MockMutableStateMockRecorder) ReplicateWorkflowExecutionCanceledEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateWorkflowExecutionCanceledEvent(arg0, arg1 interface{}) *gomock.Call
ReplicateWorkflowExecutionCanceledEvent indicates an expected call of ReplicateWorkflowExecutionCanceledEvent
func (*MockMutableStateMockRecorder) ReplicateWorkflowExecutionCompletedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateWorkflowExecutionCompletedEvent(arg0, arg1 interface{}) *gomock.Call
ReplicateWorkflowExecutionCompletedEvent indicates an expected call of ReplicateWorkflowExecutionCompletedEvent
func (*MockMutableStateMockRecorder) ReplicateWorkflowExecutionContinuedAsNewEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateWorkflowExecutionContinuedAsNewEvent(arg0, arg1, arg2 interface{}) *gomock.Call
ReplicateWorkflowExecutionContinuedAsNewEvent indicates an expected call of ReplicateWorkflowExecutionContinuedAsNewEvent
func (*MockMutableStateMockRecorder) ReplicateWorkflowExecutionFailedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateWorkflowExecutionFailedEvent(arg0, arg1 interface{}) *gomock.Call
ReplicateWorkflowExecutionFailedEvent indicates an expected call of ReplicateWorkflowExecutionFailedEvent
func (*MockMutableStateMockRecorder) ReplicateWorkflowExecutionSignaled ¶
func (mr *MockMutableStateMockRecorder) ReplicateWorkflowExecutionSignaled(arg0 interface{}) *gomock.Call
ReplicateWorkflowExecutionSignaled indicates an expected call of ReplicateWorkflowExecutionSignaled
func (*MockMutableStateMockRecorder) ReplicateWorkflowExecutionStartedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateWorkflowExecutionStartedEvent(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ReplicateWorkflowExecutionStartedEvent indicates an expected call of ReplicateWorkflowExecutionStartedEvent
func (*MockMutableStateMockRecorder) ReplicateWorkflowExecutionTerminatedEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateWorkflowExecutionTerminatedEvent(arg0, arg1 interface{}) *gomock.Call
ReplicateWorkflowExecutionTerminatedEvent indicates an expected call of ReplicateWorkflowExecutionTerminatedEvent
func (*MockMutableStateMockRecorder) ReplicateWorkflowExecutionTimedoutEvent ¶
func (mr *MockMutableStateMockRecorder) ReplicateWorkflowExecutionTimedoutEvent(arg0, arg1 interface{}) *gomock.Call
ReplicateWorkflowExecutionTimedoutEvent indicates an expected call of ReplicateWorkflowExecutionTimedoutEvent
func (*MockMutableStateMockRecorder) RetryActivity ¶
func (mr *MockMutableStateMockRecorder) RetryActivity(ai, failureReason, failureDetails interface{}) *gomock.Call
RetryActivity indicates an expected call of RetryActivity
func (*MockMutableStateMockRecorder) SetCurrentBranchToken ¶
func (mr *MockMutableStateMockRecorder) SetCurrentBranchToken(branchToken interface{}) *gomock.Call
SetCurrentBranchToken indicates an expected call of SetCurrentBranchToken
func (*MockMutableStateMockRecorder) SetHistoryBuilder ¶
func (mr *MockMutableStateMockRecorder) SetHistoryBuilder(hBuilder interface{}) *gomock.Call
SetHistoryBuilder indicates an expected call of SetHistoryBuilder
func (*MockMutableStateMockRecorder) SetHistoryTree ¶
func (mr *MockMutableStateMockRecorder) SetHistoryTree(treeID interface{}) *gomock.Call
SetHistoryTree indicates an expected call of SetHistoryTree
func (*MockMutableStateMockRecorder) SetQueryRegistry ¶
func (mr *MockMutableStateMockRecorder) SetQueryRegistry(arg0 interface{}) *gomock.Call
SetQueryRegistry indicates an expected call of SetQueryRegistry
func (*MockMutableStateMockRecorder) SetUpdateCondition ¶
func (mr *MockMutableStateMockRecorder) SetUpdateCondition(arg0 interface{}) *gomock.Call
SetUpdateCondition indicates an expected call of SetUpdateCondition
func (*MockMutableStateMockRecorder) SetVersionHistories ¶
func (mr *MockMutableStateMockRecorder) SetVersionHistories(arg0 interface{}) *gomock.Call
SetVersionHistories indicates an expected call of SetVersionHistories
func (*MockMutableStateMockRecorder) StartTransaction ¶
func (mr *MockMutableStateMockRecorder) StartTransaction(entry interface{}) *gomock.Call
StartTransaction indicates an expected call of StartTransaction
func (*MockMutableStateMockRecorder) StartTransactionSkipDecisionFail ¶
func (mr *MockMutableStateMockRecorder) StartTransactionSkipDecisionFail(entry interface{}) *gomock.Call
StartTransactionSkipDecisionFail indicates an expected call of StartTransactionSkipDecisionFail
func (*MockMutableStateMockRecorder) UpdateActivity ¶
func (mr *MockMutableStateMockRecorder) UpdateActivity(arg0 interface{}) *gomock.Call
UpdateActivity indicates an expected call of UpdateActivity
func (*MockMutableStateMockRecorder) UpdateActivityProgress ¶
func (mr *MockMutableStateMockRecorder) UpdateActivityProgress(ai, request interface{}) *gomock.Call
UpdateActivityProgress indicates an expected call of UpdateActivityProgress
func (*MockMutableStateMockRecorder) UpdateCurrentVersion ¶
func (mr *MockMutableStateMockRecorder) UpdateCurrentVersion(version, forceUpdate interface{}) *gomock.Call
UpdateCurrentVersion indicates an expected call of UpdateCurrentVersion
func (*MockMutableStateMockRecorder) UpdateDecision ¶
func (mr *MockMutableStateMockRecorder) UpdateDecision(arg0 interface{}) *gomock.Call
UpdateDecision indicates an expected call of UpdateDecision
func (*MockMutableStateMockRecorder) UpdateDuplicatedResource ¶
func (mr *MockMutableStateMockRecorder) UpdateDuplicatedResource(resourceDedupKey interface{}) *gomock.Call
UpdateDuplicatedResource indicates an expected call of UpdateDuplicatedResource
func (*MockMutableStateMockRecorder) UpdateReplicationStateLastEventID ¶
func (mr *MockMutableStateMockRecorder) UpdateReplicationStateLastEventID(arg0, arg1 interface{}) *gomock.Call
UpdateReplicationStateLastEventID indicates an expected call of UpdateReplicationStateLastEventID
func (*MockMutableStateMockRecorder) UpdateReplicationStateVersion ¶
func (mr *MockMutableStateMockRecorder) UpdateReplicationStateVersion(arg0, arg1 interface{}) *gomock.Call
UpdateReplicationStateVersion indicates an expected call of UpdateReplicationStateVersion
func (*MockMutableStateMockRecorder) UpdateUserTimer ¶
func (mr *MockMutableStateMockRecorder) UpdateUserTimer(arg0 interface{}) *gomock.Call
UpdateUserTimer indicates an expected call of UpdateUserTimer
func (*MockMutableStateMockRecorder) UpdateWorkflowStateCloseStatus ¶
func (mr *MockMutableStateMockRecorder) UpdateWorkflowStateCloseStatus(state, closeStatus interface{}) *gomock.Call
UpdateWorkflowStateCloseStatus indicates an expected call of UpdateWorkflowStateCloseStatus
type MockMutableStateTaskGenerator ¶
type MockMutableStateTaskGenerator struct {
// contains filtered or unexported fields
}
MockMutableStateTaskGenerator is a mock of MutableStateTaskGenerator interface
func NewMockMutableStateTaskGenerator ¶
func NewMockMutableStateTaskGenerator(ctrl *gomock.Controller) *MockMutableStateTaskGenerator
NewMockMutableStateTaskGenerator creates a new mock instance
func (*MockMutableStateTaskGenerator) EXPECT ¶
func (m *MockMutableStateTaskGenerator) EXPECT() *MockMutableStateTaskGeneratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMutableStateTaskGenerator) GenerateActivityRetryTasks ¶
func (m *MockMutableStateTaskGenerator) GenerateActivityRetryTasks(activityScheduleID int64) error
GenerateActivityRetryTasks mocks base method
func (*MockMutableStateTaskGenerator) GenerateActivityTimerTasks ¶
func (m *MockMutableStateTaskGenerator) GenerateActivityTimerTasks(now time.Time) error
GenerateActivityTimerTasks mocks base method
func (*MockMutableStateTaskGenerator) GenerateActivityTransferTasks ¶
func (m *MockMutableStateTaskGenerator) GenerateActivityTransferTasks(now time.Time, event *shared.HistoryEvent) error
GenerateActivityTransferTasks mocks base method
func (*MockMutableStateTaskGenerator) GenerateChildWorkflowTasks ¶
func (m *MockMutableStateTaskGenerator) GenerateChildWorkflowTasks(now time.Time, event *shared.HistoryEvent) error
GenerateChildWorkflowTasks mocks base method
func (*MockMutableStateTaskGenerator) GenerateDecisionScheduleTasks ¶
func (m *MockMutableStateTaskGenerator) GenerateDecisionScheduleTasks(now time.Time, decisionScheduleID int64) error
GenerateDecisionScheduleTasks mocks base method
func (*MockMutableStateTaskGenerator) GenerateDecisionStartTasks ¶
func (m *MockMutableStateTaskGenerator) GenerateDecisionStartTasks(now time.Time, decisionScheduleID int64) error
GenerateDecisionStartTasks mocks base method
func (*MockMutableStateTaskGenerator) GenerateDelayedDecisionTasks ¶
func (m *MockMutableStateTaskGenerator) GenerateDelayedDecisionTasks(now time.Time, startEvent *shared.HistoryEvent) error
GenerateDelayedDecisionTasks mocks base method
func (*MockMutableStateTaskGenerator) GenerateRecordWorkflowStartedTasks ¶
func (m *MockMutableStateTaskGenerator) GenerateRecordWorkflowStartedTasks(now time.Time, startEvent *shared.HistoryEvent) error
GenerateRecordWorkflowStartedTasks mocks base method
func (*MockMutableStateTaskGenerator) GenerateRequestCancelExternalTasks ¶
func (m *MockMutableStateTaskGenerator) GenerateRequestCancelExternalTasks(now time.Time, event *shared.HistoryEvent) error
GenerateRequestCancelExternalTasks mocks base method
func (*MockMutableStateTaskGenerator) GenerateSignalExternalTasks ¶
func (m *MockMutableStateTaskGenerator) GenerateSignalExternalTasks(now time.Time, event *shared.HistoryEvent) error
GenerateSignalExternalTasks mocks base method
func (*MockMutableStateTaskGenerator) GenerateUserTimerTasks ¶
func (m *MockMutableStateTaskGenerator) GenerateUserTimerTasks(now time.Time) error
GenerateUserTimerTasks mocks base method
func (*MockMutableStateTaskGenerator) GenerateWorkflowCloseTasks ¶
func (m *MockMutableStateTaskGenerator) GenerateWorkflowCloseTasks(now time.Time) error
GenerateWorkflowCloseTasks mocks base method
func (*MockMutableStateTaskGenerator) GenerateWorkflowResetTasks ¶
func (m *MockMutableStateTaskGenerator) GenerateWorkflowResetTasks(now time.Time) error
GenerateWorkflowResetTasks mocks base method
func (*MockMutableStateTaskGenerator) GenerateWorkflowSearchAttrTasks ¶
func (m *MockMutableStateTaskGenerator) GenerateWorkflowSearchAttrTasks(now time.Time) error
GenerateWorkflowSearchAttrTasks mocks base method
func (*MockMutableStateTaskGenerator) GenerateWorkflowStartTasks ¶
func (m *MockMutableStateTaskGenerator) GenerateWorkflowStartTasks(now time.Time, startEvent *shared.HistoryEvent) error
GenerateWorkflowStartTasks mocks base method
type MockMutableStateTaskGeneratorMockRecorder ¶
type MockMutableStateTaskGeneratorMockRecorder struct {
// contains filtered or unexported fields
}
MockMutableStateTaskGeneratorMockRecorder is the mock recorder for MockMutableStateTaskGenerator
func (*MockMutableStateTaskGeneratorMockRecorder) GenerateActivityRetryTasks ¶
func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateActivityRetryTasks(activityScheduleID interface{}) *gomock.Call
GenerateActivityRetryTasks indicates an expected call of GenerateActivityRetryTasks
func (*MockMutableStateTaskGeneratorMockRecorder) GenerateActivityTimerTasks ¶
func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateActivityTimerTasks(now interface{}) *gomock.Call
GenerateActivityTimerTasks indicates an expected call of GenerateActivityTimerTasks
func (*MockMutableStateTaskGeneratorMockRecorder) GenerateActivityTransferTasks ¶
func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateActivityTransferTasks(now, event interface{}) *gomock.Call
GenerateActivityTransferTasks indicates an expected call of GenerateActivityTransferTasks
func (*MockMutableStateTaskGeneratorMockRecorder) GenerateChildWorkflowTasks ¶
func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateChildWorkflowTasks(now, event interface{}) *gomock.Call
GenerateChildWorkflowTasks indicates an expected call of GenerateChildWorkflowTasks
func (*MockMutableStateTaskGeneratorMockRecorder) GenerateDecisionScheduleTasks ¶
func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateDecisionScheduleTasks(now, decisionScheduleID interface{}) *gomock.Call
GenerateDecisionScheduleTasks indicates an expected call of GenerateDecisionScheduleTasks
func (*MockMutableStateTaskGeneratorMockRecorder) GenerateDecisionStartTasks ¶
func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateDecisionStartTasks(now, decisionScheduleID interface{}) *gomock.Call
GenerateDecisionStartTasks indicates an expected call of GenerateDecisionStartTasks
func (*MockMutableStateTaskGeneratorMockRecorder) GenerateDelayedDecisionTasks ¶
func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateDelayedDecisionTasks(now, startEvent interface{}) *gomock.Call
GenerateDelayedDecisionTasks indicates an expected call of GenerateDelayedDecisionTasks
func (*MockMutableStateTaskGeneratorMockRecorder) GenerateRecordWorkflowStartedTasks ¶
func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateRecordWorkflowStartedTasks(now, startEvent interface{}) *gomock.Call
GenerateRecordWorkflowStartedTasks indicates an expected call of GenerateRecordWorkflowStartedTasks
func (*MockMutableStateTaskGeneratorMockRecorder) GenerateRequestCancelExternalTasks ¶
func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateRequestCancelExternalTasks(now, event interface{}) *gomock.Call
GenerateRequestCancelExternalTasks indicates an expected call of GenerateRequestCancelExternalTasks
func (*MockMutableStateTaskGeneratorMockRecorder) GenerateSignalExternalTasks ¶
func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateSignalExternalTasks(now, event interface{}) *gomock.Call
GenerateSignalExternalTasks indicates an expected call of GenerateSignalExternalTasks
func (*MockMutableStateTaskGeneratorMockRecorder) GenerateUserTimerTasks ¶
func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateUserTimerTasks(now interface{}) *gomock.Call
GenerateUserTimerTasks indicates an expected call of GenerateUserTimerTasks
func (*MockMutableStateTaskGeneratorMockRecorder) GenerateWorkflowCloseTasks ¶
func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateWorkflowCloseTasks(now interface{}) *gomock.Call
GenerateWorkflowCloseTasks indicates an expected call of GenerateWorkflowCloseTasks
func (*MockMutableStateTaskGeneratorMockRecorder) GenerateWorkflowResetTasks ¶
func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateWorkflowResetTasks(now interface{}) *gomock.Call
GenerateWorkflowResetTasks indicates an expected call of GenerateWorkflowResetTasks
func (*MockMutableStateTaskGeneratorMockRecorder) GenerateWorkflowSearchAttrTasks ¶
func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateWorkflowSearchAttrTasks(now interface{}) *gomock.Call
GenerateWorkflowSearchAttrTasks indicates an expected call of GenerateWorkflowSearchAttrTasks
func (*MockMutableStateTaskGeneratorMockRecorder) GenerateWorkflowStartTasks ¶
func (mr *MockMutableStateTaskGeneratorMockRecorder) GenerateWorkflowStartTasks(now, startEvent interface{}) *gomock.Call
GenerateWorkflowStartTasks indicates an expected call of GenerateWorkflowStartTasks
type MockMutableStateTaskRefresher ¶
type MockMutableStateTaskRefresher struct {
// contains filtered or unexported fields
}
MockMutableStateTaskRefresher is a mock of MutableStateTaskRefresher interface
func NewMockMutableStateTaskRefresher ¶
func NewMockMutableStateTaskRefresher(ctrl *gomock.Controller) *MockMutableStateTaskRefresher
NewMockMutableStateTaskRefresher creates a new mock instance
func (*MockMutableStateTaskRefresher) EXPECT ¶
func (m *MockMutableStateTaskRefresher) EXPECT() *MockMutableStateTaskRefresherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMutableStateTaskRefresher) RefreshTasks ¶
func (m *MockMutableStateTaskRefresher) RefreshTasks(now time.Time, mutableState MutableState) error
RefreshTasks mocks base method
type MockMutableStateTaskRefresherMockRecorder ¶
type MockMutableStateTaskRefresherMockRecorder struct {
// contains filtered or unexported fields
}
MockMutableStateTaskRefresherMockRecorder is the mock recorder for MockMutableStateTaskRefresher
func (*MockMutableStateTaskRefresherMockRecorder) RefreshTasks ¶
func (mr *MockMutableStateTaskRefresherMockRecorder) RefreshTasks(now, mutableState interface{}) *gomock.Call
RefreshTasks indicates an expected call of RefreshTasks
type MockStateBuilder ¶
type MockStateBuilder struct {
// contains filtered or unexported fields
}
MockStateBuilder is a mock of StateBuilder interface
func NewMockStateBuilder ¶
func NewMockStateBuilder(ctrl *gomock.Controller) *MockStateBuilder
NewMockStateBuilder creates a new mock instance
func (*MockStateBuilder) ApplyEvents ¶
func (m *MockStateBuilder) ApplyEvents(domainID, requestID string, workflowExecution shared.WorkflowExecution, history, newRunHistory []*shared.HistoryEvent, newRunNDC bool) (MutableState, error)
ApplyEvents mocks base method
func (*MockStateBuilder) EXPECT ¶
func (m *MockStateBuilder) EXPECT() *MockStateBuilderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStateBuilder) GetMutableState ¶
func (m *MockStateBuilder) GetMutableState() MutableState
GetMutableState mocks base method
type MockStateBuilderMockRecorder ¶
type MockStateBuilderMockRecorder struct {
// contains filtered or unexported fields
}
MockStateBuilderMockRecorder is the mock recorder for MockStateBuilder
func (*MockStateBuilderMockRecorder) ApplyEvents ¶
func (mr *MockStateBuilderMockRecorder) ApplyEvents(domainID, requestID, workflowExecution, history, newRunHistory, newRunNDC interface{}) *gomock.Call
ApplyEvents indicates an expected call of ApplyEvents
func (*MockStateBuilderMockRecorder) GetMutableState ¶
func (mr *MockStateBuilderMockRecorder) GetMutableState() *gomock.Call
GetMutableState indicates an expected call of GetMutableState
type MockStateRebuilder ¶
type MockStateRebuilder struct {
// contains filtered or unexported fields
}
MockStateRebuilder is a mock of StateRebuilder interface
func NewMockStateRebuilder ¶
func NewMockStateRebuilder(ctrl *gomock.Controller) *MockStateRebuilder
NewMockStateRebuilder creates a new mock instance
func (*MockStateRebuilder) EXPECT ¶
func (m *MockStateRebuilder) EXPECT() *MockStateRebuilderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStateRebuilder) Rebuild ¶
func (m *MockStateRebuilder) Rebuild(ctx context.Context, now time.Time, baseWorkflowIdentifier definition.WorkflowIdentifier, baseBranchToken []byte, baseLastEventID, baseLastEventVersion int64, targetWorkflowIdentifier definition.WorkflowIdentifier, targetBranchToken []byte, requestID string) (MutableState, int64, error)
Rebuild mocks base method
type MockStateRebuilderMockRecorder ¶
type MockStateRebuilderMockRecorder struct {
// contains filtered or unexported fields
}
MockStateRebuilderMockRecorder is the mock recorder for MockStateRebuilder
func (*MockStateRebuilderMockRecorder) Rebuild ¶
func (mr *MockStateRebuilderMockRecorder) Rebuild(ctx, now, baseWorkflowIdentifier, baseBranchToken, baseLastEventID, baseLastEventVersion, targetWorkflowIdentifier, targetBranchToken, requestID interface{}) *gomock.Call
Rebuild indicates an expected call of Rebuild
type MockTimerSequence ¶
type MockTimerSequence struct {
// contains filtered or unexported fields
}
MockTimerSequence is a mock of TimerSequence interface
func NewMockTimerSequence ¶
func NewMockTimerSequence(ctrl *gomock.Controller) *MockTimerSequence
NewMockTimerSequence creates a new mock instance
func (*MockTimerSequence) CreateNextActivityTimer ¶
func (m *MockTimerSequence) CreateNextActivityTimer() (bool, error)
CreateNextActivityTimer mocks base method
func (*MockTimerSequence) CreateNextUserTimer ¶
func (m *MockTimerSequence) CreateNextUserTimer() (bool, error)
CreateNextUserTimer mocks base method
func (*MockTimerSequence) EXPECT ¶
func (m *MockTimerSequence) EXPECT() *MockTimerSequenceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTimerSequence) IsExpired ¶
func (m *MockTimerSequence) IsExpired(referenceTime time.Time, TimerSequenceID TimerSequenceID) bool
IsExpired mocks base method
func (*MockTimerSequence) LoadAndSortActivityTimers ¶
func (m *MockTimerSequence) LoadAndSortActivityTimers() []TimerSequenceID
LoadAndSortActivityTimers mocks base method
func (*MockTimerSequence) LoadAndSortUserTimers ¶
func (m *MockTimerSequence) LoadAndSortUserTimers() []TimerSequenceID
LoadAndSortUserTimers mocks base method
type MockTimerSequenceMockRecorder ¶
type MockTimerSequenceMockRecorder struct {
// contains filtered or unexported fields
}
MockTimerSequenceMockRecorder is the mock recorder for MockTimerSequence
func (*MockTimerSequenceMockRecorder) CreateNextActivityTimer ¶
func (mr *MockTimerSequenceMockRecorder) CreateNextActivityTimer() *gomock.Call
CreateNextActivityTimer indicates an expected call of CreateNextActivityTimer
func (*MockTimerSequenceMockRecorder) CreateNextUserTimer ¶
func (mr *MockTimerSequenceMockRecorder) CreateNextUserTimer() *gomock.Call
CreateNextUserTimer indicates an expected call of CreateNextUserTimer
func (*MockTimerSequenceMockRecorder) IsExpired ¶
func (mr *MockTimerSequenceMockRecorder) IsExpired(referenceTime, TimerSequenceID interface{}) *gomock.Call
IsExpired indicates an expected call of IsExpired
func (*MockTimerSequenceMockRecorder) LoadAndSortActivityTimers ¶
func (mr *MockTimerSequenceMockRecorder) LoadAndSortActivityTimers() *gomock.Call
LoadAndSortActivityTimers indicates an expected call of LoadAndSortActivityTimers
func (*MockTimerSequenceMockRecorder) LoadAndSortUserTimers ¶
func (mr *MockTimerSequenceMockRecorder) LoadAndSortUserTimers() *gomock.Call
LoadAndSortUserTimers indicates an expected call of LoadAndSortUserTimers
type MockWorkflow ¶
type MockWorkflow struct {
// contains filtered or unexported fields
}
MockWorkflow is a mock of Workflow interface
func NewMockWorkflow ¶
func NewMockWorkflow(ctrl *gomock.Controller) *MockWorkflow
NewMockWorkflow creates a new mock instance
func (*MockWorkflow) EXPECT ¶
func (m *MockWorkflow) EXPECT() *MockWorkflowMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockWorkflow) FlushBufferedEvents ¶
func (m *MockWorkflow) FlushBufferedEvents() error
FlushBufferedEvents mocks base method
func (*MockWorkflow) GetContext ¶
func (m *MockWorkflow) GetContext() Context
GetContext mocks base method
func (*MockWorkflow) GetMutableState ¶
func (m *MockWorkflow) GetMutableState() MutableState
GetMutableState mocks base method
func (*MockWorkflow) GetReleaseFn ¶
func (m *MockWorkflow) GetReleaseFn() ReleaseFunc
GetReleaseFn mocks base method
func (*MockWorkflow) GetVectorClock ¶
func (m *MockWorkflow) GetVectorClock() (int64, int64, error)
GetVectorClock mocks base method
func (*MockWorkflow) HappensAfter ¶
func (m *MockWorkflow) HappensAfter(that Workflow) (bool, error)
HappensAfter mocks base method
func (*MockWorkflow) SuppressBy ¶
func (m *MockWorkflow) SuppressBy(incomingWorkflow Workflow) (TransactionPolicy, error)
SuppressBy mocks base method
type MockWorkflowMockRecorder ¶
type MockWorkflowMockRecorder struct {
// contains filtered or unexported fields
}
MockWorkflowMockRecorder is the mock recorder for MockWorkflow
func (*MockWorkflowMockRecorder) FlushBufferedEvents ¶
func (mr *MockWorkflowMockRecorder) FlushBufferedEvents() *gomock.Call
FlushBufferedEvents indicates an expected call of FlushBufferedEvents
func (*MockWorkflowMockRecorder) GetContext ¶
func (mr *MockWorkflowMockRecorder) GetContext() *gomock.Call
GetContext indicates an expected call of GetContext
func (*MockWorkflowMockRecorder) GetMutableState ¶
func (mr *MockWorkflowMockRecorder) GetMutableState() *gomock.Call
GetMutableState indicates an expected call of GetMutableState
func (*MockWorkflowMockRecorder) GetReleaseFn ¶
func (mr *MockWorkflowMockRecorder) GetReleaseFn() *gomock.Call
GetReleaseFn indicates an expected call of GetReleaseFn
func (*MockWorkflowMockRecorder) GetVectorClock ¶
func (mr *MockWorkflowMockRecorder) GetVectorClock() *gomock.Call
GetVectorClock indicates an expected call of GetVectorClock
func (*MockWorkflowMockRecorder) HappensAfter ¶
func (mr *MockWorkflowMockRecorder) HappensAfter(that interface{}) *gomock.Call
HappensAfter indicates an expected call of HappensAfter
func (*MockWorkflowMockRecorder) Revive ¶
func (mr *MockWorkflowMockRecorder) Revive() *gomock.Call
Revive indicates an expected call of Revive
func (*MockWorkflowMockRecorder) SuppressBy ¶
func (mr *MockWorkflowMockRecorder) SuppressBy(incomingWorkflow interface{}) *gomock.Call
SuppressBy indicates an expected call of SuppressBy
type MockmutableStateDecisionTaskManager ¶
type MockmutableStateDecisionTaskManager struct {
// contains filtered or unexported fields
}
MockmutableStateDecisionTaskManager is a mock of mutableStateDecisionTaskManager interface
func NewMockmutableStateDecisionTaskManager ¶
func NewMockmutableStateDecisionTaskManager(ctrl *gomock.Controller) *MockmutableStateDecisionTaskManager
NewMockmutableStateDecisionTaskManager creates a new mock instance
func (*MockmutableStateDecisionTaskManager) AddDecisionTaskCompletedEvent ¶
func (m *MockmutableStateDecisionTaskManager) AddDecisionTaskCompletedEvent(scheduleEventID, startedEventID int64, request *shared.RespondDecisionTaskCompletedRequest, maxResetPoints int) (*shared.HistoryEvent, error)
AddDecisionTaskCompletedEvent mocks base method
func (*MockmutableStateDecisionTaskManager) AddDecisionTaskFailedEvent ¶
func (m *MockmutableStateDecisionTaskManager) AddDecisionTaskFailedEvent(scheduleEventID, startedEventID int64, cause shared.DecisionTaskFailedCause, details []byte, identity, reason, binChecksum, baseRunID, newRunID string, forkEventVersion int64) (*shared.HistoryEvent, error)
AddDecisionTaskFailedEvent mocks base method
func (*MockmutableStateDecisionTaskManager) AddDecisionTaskScheduleToStartTimeoutEvent ¶
func (m *MockmutableStateDecisionTaskManager) AddDecisionTaskScheduleToStartTimeoutEvent(scheduleEventID int64) (*shared.HistoryEvent, error)
AddDecisionTaskScheduleToStartTimeoutEvent mocks base method
func (*MockmutableStateDecisionTaskManager) AddDecisionTaskScheduledEvent ¶
func (m *MockmutableStateDecisionTaskManager) AddDecisionTaskScheduledEvent(bypassTaskGeneration bool) (*DecisionInfo, error)
AddDecisionTaskScheduledEvent mocks base method
func (*MockmutableStateDecisionTaskManager) AddDecisionTaskScheduledEventAsHeartbeat ¶
func (m *MockmutableStateDecisionTaskManager) AddDecisionTaskScheduledEventAsHeartbeat(bypassTaskGeneration bool, originalScheduledTimestamp int64) (*DecisionInfo, error)
AddDecisionTaskScheduledEventAsHeartbeat mocks base method
func (*MockmutableStateDecisionTaskManager) AddDecisionTaskStartedEvent ¶
func (m *MockmutableStateDecisionTaskManager) AddDecisionTaskStartedEvent(scheduleEventID int64, requestID string, request *shared.PollForDecisionTaskRequest) (*shared.HistoryEvent, *DecisionInfo, error)
AddDecisionTaskStartedEvent mocks base method
func (*MockmutableStateDecisionTaskManager) AddDecisionTaskTimedOutEvent ¶
func (m *MockmutableStateDecisionTaskManager) AddDecisionTaskTimedOutEvent(scheduleEventID, startedEventID int64) (*shared.HistoryEvent, error)
AddDecisionTaskTimedOutEvent mocks base method
func (*MockmutableStateDecisionTaskManager) AddFirstDecisionTaskScheduled ¶
func (m *MockmutableStateDecisionTaskManager) AddFirstDecisionTaskScheduled(startEvent *shared.HistoryEvent) error
AddFirstDecisionTaskScheduled mocks base method
func (*MockmutableStateDecisionTaskManager) CreateTransientDecisionEvents ¶
func (m *MockmutableStateDecisionTaskManager) CreateTransientDecisionEvents(decision *DecisionInfo, identity string) (*shared.HistoryEvent, *shared.HistoryEvent)
CreateTransientDecisionEvents mocks base method
func (*MockmutableStateDecisionTaskManager) DeleteDecision ¶
func (m *MockmutableStateDecisionTaskManager) DeleteDecision()
DeleteDecision mocks base method
func (*MockmutableStateDecisionTaskManager) EXPECT ¶
func (m *MockmutableStateDecisionTaskManager) EXPECT() *MockmutableStateDecisionTaskManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockmutableStateDecisionTaskManager) FailDecision ¶
func (m *MockmutableStateDecisionTaskManager) FailDecision(incrementAttempt bool)
FailDecision mocks base method
func (*MockmutableStateDecisionTaskManager) GetDecisionInfo ¶
func (m *MockmutableStateDecisionTaskManager) GetDecisionInfo(scheduleEventID int64) (*DecisionInfo, bool)
GetDecisionInfo mocks base method
func (*MockmutableStateDecisionTaskManager) GetInFlightDecision ¶
func (m *MockmutableStateDecisionTaskManager) GetInFlightDecision() (*DecisionInfo, bool)
GetInFlightDecision mocks base method
func (*MockmutableStateDecisionTaskManager) GetPendingDecision ¶
func (m *MockmutableStateDecisionTaskManager) GetPendingDecision() (*DecisionInfo, bool)
GetPendingDecision mocks base method
func (*MockmutableStateDecisionTaskManager) HasInFlightDecision ¶
func (m *MockmutableStateDecisionTaskManager) HasInFlightDecision() bool
HasInFlightDecision mocks base method
func (*MockmutableStateDecisionTaskManager) HasPendingDecision ¶
func (m *MockmutableStateDecisionTaskManager) HasPendingDecision() bool
HasPendingDecision mocks base method
func (*MockmutableStateDecisionTaskManager) HasProcessedOrPendingDecision ¶
func (m *MockmutableStateDecisionTaskManager) HasProcessedOrPendingDecision() bool
HasProcessedOrPendingDecision mocks base method
func (*MockmutableStateDecisionTaskManager) ReplicateDecisionTaskCompletedEvent ¶
func (m *MockmutableStateDecisionTaskManager) ReplicateDecisionTaskCompletedEvent(event *shared.HistoryEvent) error
ReplicateDecisionTaskCompletedEvent mocks base method
func (*MockmutableStateDecisionTaskManager) ReplicateDecisionTaskFailedEvent ¶
func (m *MockmutableStateDecisionTaskManager) ReplicateDecisionTaskFailedEvent() error
ReplicateDecisionTaskFailedEvent mocks base method
func (*MockmutableStateDecisionTaskManager) ReplicateDecisionTaskScheduledEvent ¶
func (m *MockmutableStateDecisionTaskManager) ReplicateDecisionTaskScheduledEvent(version, scheduleID int64, taskList string, startToCloseTimeoutSeconds int32, attempt, scheduleTimestamp, originalScheduledTimestamp int64) (*DecisionInfo, error)
ReplicateDecisionTaskScheduledEvent mocks base method
func (*MockmutableStateDecisionTaskManager) ReplicateDecisionTaskStartedEvent ¶
func (m *MockmutableStateDecisionTaskManager) ReplicateDecisionTaskStartedEvent(decision *DecisionInfo, version, scheduleID, startedID int64, requestID string, timestamp int64) (*DecisionInfo, error)
ReplicateDecisionTaskStartedEvent mocks base method
func (*MockmutableStateDecisionTaskManager) ReplicateDecisionTaskTimedOutEvent ¶
func (m *MockmutableStateDecisionTaskManager) ReplicateDecisionTaskTimedOutEvent(timeoutType shared.TimeoutType) error
ReplicateDecisionTaskTimedOutEvent mocks base method
func (*MockmutableStateDecisionTaskManager) ReplicateTransientDecisionTaskScheduled ¶
func (m *MockmutableStateDecisionTaskManager) ReplicateTransientDecisionTaskScheduled() (*DecisionInfo, error)
ReplicateTransientDecisionTaskScheduled mocks base method
func (*MockmutableStateDecisionTaskManager) UpdateDecision ¶
func (m *MockmutableStateDecisionTaskManager) UpdateDecision(decision *DecisionInfo)
UpdateDecision mocks base method
type MockmutableStateDecisionTaskManagerMockRecorder ¶
type MockmutableStateDecisionTaskManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockmutableStateDecisionTaskManagerMockRecorder is the mock recorder for MockmutableStateDecisionTaskManager
func (*MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskCompletedEvent ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskCompletedEvent(scheduleEventID, startedEventID, request, maxResetPoints interface{}) *gomock.Call
AddDecisionTaskCompletedEvent indicates an expected call of AddDecisionTaskCompletedEvent
func (*MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskFailedEvent ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskFailedEvent(scheduleEventID, startedEventID, cause, details, identity, reason, binChecksum, baseRunID, newRunID, forkEventVersion interface{}) *gomock.Call
AddDecisionTaskFailedEvent indicates an expected call of AddDecisionTaskFailedEvent
func (*MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskScheduleToStartTimeoutEvent ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskScheduleToStartTimeoutEvent(scheduleEventID interface{}) *gomock.Call
AddDecisionTaskScheduleToStartTimeoutEvent indicates an expected call of AddDecisionTaskScheduleToStartTimeoutEvent
func (*MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskScheduledEvent ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskScheduledEvent(bypassTaskGeneration interface{}) *gomock.Call
AddDecisionTaskScheduledEvent indicates an expected call of AddDecisionTaskScheduledEvent
func (*MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskScheduledEventAsHeartbeat ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskScheduledEventAsHeartbeat(bypassTaskGeneration, originalScheduledTimestamp interface{}) *gomock.Call
AddDecisionTaskScheduledEventAsHeartbeat indicates an expected call of AddDecisionTaskScheduledEventAsHeartbeat
func (*MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskStartedEvent ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskStartedEvent(scheduleEventID, requestID, request interface{}) *gomock.Call
AddDecisionTaskStartedEvent indicates an expected call of AddDecisionTaskStartedEvent
func (*MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskTimedOutEvent ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) AddDecisionTaskTimedOutEvent(scheduleEventID, startedEventID interface{}) *gomock.Call
AddDecisionTaskTimedOutEvent indicates an expected call of AddDecisionTaskTimedOutEvent
func (*MockmutableStateDecisionTaskManagerMockRecorder) AddFirstDecisionTaskScheduled ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) AddFirstDecisionTaskScheduled(startEvent interface{}) *gomock.Call
AddFirstDecisionTaskScheduled indicates an expected call of AddFirstDecisionTaskScheduled
func (*MockmutableStateDecisionTaskManagerMockRecorder) CreateTransientDecisionEvents ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) CreateTransientDecisionEvents(decision, identity interface{}) *gomock.Call
CreateTransientDecisionEvents indicates an expected call of CreateTransientDecisionEvents
func (*MockmutableStateDecisionTaskManagerMockRecorder) DeleteDecision ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) DeleteDecision() *gomock.Call
DeleteDecision indicates an expected call of DeleteDecision
func (*MockmutableStateDecisionTaskManagerMockRecorder) FailDecision ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) FailDecision(incrementAttempt interface{}) *gomock.Call
FailDecision indicates an expected call of FailDecision
func (*MockmutableStateDecisionTaskManagerMockRecorder) GetDecisionInfo ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) GetDecisionInfo(scheduleEventID interface{}) *gomock.Call
GetDecisionInfo indicates an expected call of GetDecisionInfo
func (*MockmutableStateDecisionTaskManagerMockRecorder) GetInFlightDecision ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) GetInFlightDecision() *gomock.Call
GetInFlightDecision indicates an expected call of GetInFlightDecision
func (*MockmutableStateDecisionTaskManagerMockRecorder) GetPendingDecision ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) GetPendingDecision() *gomock.Call
GetPendingDecision indicates an expected call of GetPendingDecision
func (*MockmutableStateDecisionTaskManagerMockRecorder) HasInFlightDecision ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) HasInFlightDecision() *gomock.Call
HasInFlightDecision indicates an expected call of HasInFlightDecision
func (*MockmutableStateDecisionTaskManagerMockRecorder) HasPendingDecision ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) HasPendingDecision() *gomock.Call
HasPendingDecision indicates an expected call of HasPendingDecision
func (*MockmutableStateDecisionTaskManagerMockRecorder) HasProcessedOrPendingDecision ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) HasProcessedOrPendingDecision() *gomock.Call
HasProcessedOrPendingDecision indicates an expected call of HasProcessedOrPendingDecision
func (*MockmutableStateDecisionTaskManagerMockRecorder) ReplicateDecisionTaskCompletedEvent ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) ReplicateDecisionTaskCompletedEvent(event interface{}) *gomock.Call
ReplicateDecisionTaskCompletedEvent indicates an expected call of ReplicateDecisionTaskCompletedEvent
func (*MockmutableStateDecisionTaskManagerMockRecorder) ReplicateDecisionTaskFailedEvent ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) ReplicateDecisionTaskFailedEvent() *gomock.Call
ReplicateDecisionTaskFailedEvent indicates an expected call of ReplicateDecisionTaskFailedEvent
func (*MockmutableStateDecisionTaskManagerMockRecorder) ReplicateDecisionTaskScheduledEvent ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) ReplicateDecisionTaskScheduledEvent(version, scheduleID, taskList, startToCloseTimeoutSeconds, attempt, scheduleTimestamp, originalScheduledTimestamp interface{}) *gomock.Call
ReplicateDecisionTaskScheduledEvent indicates an expected call of ReplicateDecisionTaskScheduledEvent
func (*MockmutableStateDecisionTaskManagerMockRecorder) ReplicateDecisionTaskStartedEvent ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) ReplicateDecisionTaskStartedEvent(decision, version, scheduleID, startedID, requestID, timestamp interface{}) *gomock.Call
ReplicateDecisionTaskStartedEvent indicates an expected call of ReplicateDecisionTaskStartedEvent
func (*MockmutableStateDecisionTaskManagerMockRecorder) ReplicateDecisionTaskTimedOutEvent ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) ReplicateDecisionTaskTimedOutEvent(timeoutType interface{}) *gomock.Call
ReplicateDecisionTaskTimedOutEvent indicates an expected call of ReplicateDecisionTaskTimedOutEvent
func (*MockmutableStateDecisionTaskManagerMockRecorder) ReplicateTransientDecisionTaskScheduled ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) ReplicateTransientDecisionTaskScheduled() *gomock.Call
ReplicateTransientDecisionTaskScheduled indicates an expected call of ReplicateTransientDecisionTaskScheduled
func (*MockmutableStateDecisionTaskManagerMockRecorder) UpdateDecision ¶
func (mr *MockmutableStateDecisionTaskManagerMockRecorder) UpdateDecision(decision interface{}) *gomock.Call
UpdateDecision indicates an expected call of UpdateDecision
type MutableState ¶
type MutableState interface { AddActivityTaskCancelRequestedEvent(int64, string, string) (*workflow.HistoryEvent, *persistence.ActivityInfo, error) AddActivityTaskCanceledEvent(int64, int64, int64, []uint8, string) (*workflow.HistoryEvent, error) AddActivityTaskCompletedEvent(int64, int64, *workflow.RespondActivityTaskCompletedRequest) (*workflow.HistoryEvent, error) AddActivityTaskFailedEvent(int64, int64, *workflow.RespondActivityTaskFailedRequest) (*workflow.HistoryEvent, error) AddActivityTaskScheduledEvent(int64, *workflow.ScheduleActivityTaskDecisionAttributes) (*workflow.HistoryEvent, *persistence.ActivityInfo, error) AddActivityTaskStartedEvent(*persistence.ActivityInfo, int64, string, string) (*workflow.HistoryEvent, error) AddActivityTaskTimedOutEvent(int64, int64, workflow.TimeoutType, []uint8) (*workflow.HistoryEvent, error) AddCancelTimerFailedEvent(int64, *workflow.CancelTimerDecisionAttributes, string) (*workflow.HistoryEvent, error) AddChildWorkflowExecutionCanceledEvent(int64, *workflow.WorkflowExecution, *workflow.WorkflowExecutionCanceledEventAttributes) (*workflow.HistoryEvent, error) AddChildWorkflowExecutionCompletedEvent(int64, *workflow.WorkflowExecution, *workflow.WorkflowExecutionCompletedEventAttributes) (*workflow.HistoryEvent, error) AddChildWorkflowExecutionFailedEvent(int64, *workflow.WorkflowExecution, *workflow.WorkflowExecutionFailedEventAttributes) (*workflow.HistoryEvent, error) AddChildWorkflowExecutionStartedEvent(*string, *workflow.WorkflowExecution, *workflow.WorkflowType, int64, *workflow.Header) (*workflow.HistoryEvent, error) AddChildWorkflowExecutionTerminatedEvent(int64, *workflow.WorkflowExecution, *workflow.WorkflowExecutionTerminatedEventAttributes) (*workflow.HistoryEvent, error) AddChildWorkflowExecutionTimedOutEvent(int64, *workflow.WorkflowExecution, *workflow.WorkflowExecutionTimedOutEventAttributes) (*workflow.HistoryEvent, error) AddCompletedWorkflowEvent(int64, *workflow.CompleteWorkflowExecutionDecisionAttributes) (*workflow.HistoryEvent, error) AddContinueAsNewEvent(int64, int64, string, *workflow.ContinueAsNewWorkflowExecutionDecisionAttributes) (*workflow.HistoryEvent, MutableState, error) AddDecisionTaskCompletedEvent(int64, int64, *workflow.RespondDecisionTaskCompletedRequest, int) (*workflow.HistoryEvent, error) AddDecisionTaskFailedEvent(scheduleEventID int64, startedEventID int64, cause workflow.DecisionTaskFailedCause, details []byte, identity, reason, binChecksum, baseRunID, newRunID string, forkEventVersion int64) (*workflow.HistoryEvent, error) AddDecisionTaskScheduleToStartTimeoutEvent(int64) (*workflow.HistoryEvent, error) AddFirstDecisionTaskScheduled(*workflow.HistoryEvent) error AddDecisionTaskScheduledEvent(bypassTaskGeneration bool) (*DecisionInfo, error) AddDecisionTaskScheduledEventAsHeartbeat(bypassTaskGeneration bool, originalScheduledTimestamp int64) (*DecisionInfo, error) AddDecisionTaskStartedEvent(int64, string, *workflow.PollForDecisionTaskRequest) (*workflow.HistoryEvent, *DecisionInfo, error) AddDecisionTaskTimedOutEvent(int64, int64) (*workflow.HistoryEvent, error) AddExternalWorkflowExecutionCancelRequested(int64, string, string, string) (*workflow.HistoryEvent, error) AddExternalWorkflowExecutionSignaled(int64, string, string, string, []uint8) (*workflow.HistoryEvent, error) AddFailWorkflowEvent(int64, *workflow.FailWorkflowExecutionDecisionAttributes) (*workflow.HistoryEvent, error) AddRecordMarkerEvent(int64, *workflow.RecordMarkerDecisionAttributes) (*workflow.HistoryEvent, error) AddRequestCancelActivityTaskFailedEvent(int64, string, string) (*workflow.HistoryEvent, error) AddRequestCancelExternalWorkflowExecutionFailedEvent(int64, int64, string, string, string, workflow.CancelExternalWorkflowExecutionFailedCause) (*workflow.HistoryEvent, error) AddRequestCancelExternalWorkflowExecutionInitiatedEvent(int64, string, *workflow.RequestCancelExternalWorkflowExecutionDecisionAttributes) (*workflow.HistoryEvent, *persistence.RequestCancelInfo, error) AddSignalExternalWorkflowExecutionFailedEvent(int64, int64, string, string, string, []uint8, workflow.SignalExternalWorkflowExecutionFailedCause) (*workflow.HistoryEvent, error) AddSignalExternalWorkflowExecutionInitiatedEvent(int64, string, *workflow.SignalExternalWorkflowExecutionDecisionAttributes) (*workflow.HistoryEvent, *persistence.SignalInfo, error) AddSignalRequested(requestID string) AddStartChildWorkflowExecutionFailedEvent(int64, workflow.ChildWorkflowExecutionFailedCause, *workflow.StartChildWorkflowExecutionInitiatedEventAttributes) (*workflow.HistoryEvent, error) AddStartChildWorkflowExecutionInitiatedEvent(int64, string, *workflow.StartChildWorkflowExecutionDecisionAttributes) (*workflow.HistoryEvent, *persistence.ChildExecutionInfo, error) AddTimeoutWorkflowEvent(int64) (*workflow.HistoryEvent, error) AddTimerCanceledEvent(int64, *workflow.CancelTimerDecisionAttributes, string) (*workflow.HistoryEvent, error) AddTimerFiredEvent(string) (*workflow.HistoryEvent, error) AddTimerStartedEvent(int64, *workflow.StartTimerDecisionAttributes) (*workflow.HistoryEvent, *persistence.TimerInfo, error) AddUpsertWorkflowSearchAttributesEvent(int64, *workflow.UpsertWorkflowSearchAttributesDecisionAttributes) (*workflow.HistoryEvent, error) AddWorkflowExecutionCancelRequestedEvent(string, *h.RequestCancelWorkflowExecutionRequest) (*workflow.HistoryEvent, error) AddWorkflowExecutionCanceledEvent(int64, *workflow.CancelWorkflowExecutionDecisionAttributes) (*workflow.HistoryEvent, error) AddWorkflowExecutionSignaled(signalName string, input []byte, identity string) (*workflow.HistoryEvent, error) AddWorkflowExecutionStartedEvent(workflow.WorkflowExecution, *h.StartWorkflowExecutionRequest) (*workflow.HistoryEvent, error) AddWorkflowExecutionTerminatedEvent(firstEventID int64, reason string, details []byte, identity string) (*workflow.HistoryEvent, error) ClearStickyness() CheckResettable() error CopyToPersistence() *persistence.WorkflowMutableState RetryActivity(ai *persistence.ActivityInfo, failureReason string, failureDetails []byte) (bool, error) CreateNewHistoryEvent(eventType workflow.EventType) *workflow.HistoryEvent CreateNewHistoryEventWithTimestamp(eventType workflow.EventType, timestamp int64) *workflow.HistoryEvent CreateTransientDecisionEvents(di *DecisionInfo, identity string) (*workflow.HistoryEvent, *workflow.HistoryEvent) DeleteDecision() DeleteSignalRequested(requestID string) FailDecision(bool) FlushBufferedEvents() error GetActivityByActivityID(string) (*persistence.ActivityInfo, bool) GetActivityInfo(int64) (*persistence.ActivityInfo, bool) GetActivityScheduledEvent(int64) (*workflow.HistoryEvent, error) GetChildExecutionInfo(int64) (*persistence.ChildExecutionInfo, bool) GetChildExecutionInitiatedEvent(int64) (*workflow.HistoryEvent, error) GetCompletionEvent() (*workflow.HistoryEvent, error) GetDecisionInfo(int64) (*DecisionInfo, bool) GetDomainEntry() *cache.DomainCacheEntry GetStartEvent() (*workflow.HistoryEvent, error) GetCurrentBranchToken() ([]byte, error) GetVersionHistories() *persistence.VersionHistories GetCurrentVersion() int64 GetExecutionInfo() *persistence.WorkflowExecutionInfo GetHistoryBuilder() *HistoryBuilder GetInFlightDecision() (*DecisionInfo, bool) GetPendingDecision() (*DecisionInfo, bool) GetLastFirstEventID() int64 GetLastWriteVersion() (int64, error) GetNextEventID() int64 GetPreviousStartedEventID() int64 GetPendingActivityInfos() map[int64]*persistence.ActivityInfo GetPendingTimerInfos() map[string]*persistence.TimerInfo GetPendingChildExecutionInfos() map[int64]*persistence.ChildExecutionInfo GetPendingRequestCancelExternalInfos() map[int64]*persistence.RequestCancelInfo GetPendingSignalExternalInfos() map[int64]*persistence.SignalInfo GetReplicationState() *persistence.ReplicationState GetRequestCancelInfo(int64) (*persistence.RequestCancelInfo, bool) GetRetryBackoffDuration(errReason string) time.Duration GetCronBackoffDuration() (time.Duration, error) GetSignalInfo(int64) (*persistence.SignalInfo, bool) GetStartVersion() (int64, error) GetUserTimerInfoByEventID(int64) (*persistence.TimerInfo, bool) GetUserTimerInfo(string) (*persistence.TimerInfo, bool) GetWorkflowType() *workflow.WorkflowType GetWorkflowStateCloseStatus() (int, int) GetQueryRegistry() query.Registry SetQueryRegistry(query.Registry) HasBufferedEvents() bool HasInFlightDecision() bool HasParentExecution() bool HasPendingDecision() bool HasProcessedOrPendingDecision() bool IsCancelRequested() (bool, string) IsCurrentWorkflowGuaranteed() bool IsSignalRequested(requestID string) bool IsStickyTaskListEnabled() bool IsWorkflowExecutionRunning() bool IsResourceDuplicated(resourceDedupKey definition.DeduplicationID) bool UpdateDuplicatedResource(resourceDedupKey definition.DeduplicationID) Load(*persistence.WorkflowMutableState) ReplicateActivityInfo(*h.SyncActivityRequest, bool) error ReplicateActivityTaskCancelRequestedEvent(*workflow.HistoryEvent) error ReplicateActivityTaskCanceledEvent(*workflow.HistoryEvent) error ReplicateActivityTaskCompletedEvent(*workflow.HistoryEvent) error ReplicateActivityTaskFailedEvent(*workflow.HistoryEvent) error ReplicateActivityTaskScheduledEvent(int64, *workflow.HistoryEvent) (*persistence.ActivityInfo, error) ReplicateActivityTaskStartedEvent(*workflow.HistoryEvent) error ReplicateActivityTaskTimedOutEvent(*workflow.HistoryEvent) error ReplicateChildWorkflowExecutionCanceledEvent(*workflow.HistoryEvent) error ReplicateChildWorkflowExecutionCompletedEvent(*workflow.HistoryEvent) error ReplicateChildWorkflowExecutionFailedEvent(*workflow.HistoryEvent) error ReplicateChildWorkflowExecutionStartedEvent(*workflow.HistoryEvent) error ReplicateChildWorkflowExecutionTerminatedEvent(*workflow.HistoryEvent) error ReplicateChildWorkflowExecutionTimedOutEvent(*workflow.HistoryEvent) error ReplicateDecisionTaskCompletedEvent(*workflow.HistoryEvent) error ReplicateDecisionTaskFailedEvent() error ReplicateDecisionTaskScheduledEvent(int64, int64, string, int32, int64, int64, int64) (*DecisionInfo, error) ReplicateDecisionTaskStartedEvent(*DecisionInfo, int64, int64, int64, string, int64) (*DecisionInfo, error) ReplicateDecisionTaskTimedOutEvent(workflow.TimeoutType) error ReplicateExternalWorkflowExecutionCancelRequested(*workflow.HistoryEvent) error ReplicateExternalWorkflowExecutionSignaled(*workflow.HistoryEvent) error ReplicateRequestCancelExternalWorkflowExecutionFailedEvent(*workflow.HistoryEvent) error ReplicateRequestCancelExternalWorkflowExecutionInitiatedEvent(int64, *workflow.HistoryEvent, string) (*persistence.RequestCancelInfo, error) ReplicateSignalExternalWorkflowExecutionFailedEvent(*workflow.HistoryEvent) error ReplicateSignalExternalWorkflowExecutionInitiatedEvent(int64, *workflow.HistoryEvent, string) (*persistence.SignalInfo, error) ReplicateStartChildWorkflowExecutionFailedEvent(*workflow.HistoryEvent) error ReplicateStartChildWorkflowExecutionInitiatedEvent(int64, *workflow.HistoryEvent, string) (*persistence.ChildExecutionInfo, error) ReplicateTimerCanceledEvent(*workflow.HistoryEvent) error ReplicateTimerFiredEvent(*workflow.HistoryEvent) error ReplicateTimerStartedEvent(*workflow.HistoryEvent) (*persistence.TimerInfo, error) ReplicateTransientDecisionTaskScheduled() (*DecisionInfo, error) ReplicateUpsertWorkflowSearchAttributesEvent(*workflow.HistoryEvent) ReplicateWorkflowExecutionCancelRequestedEvent(*workflow.HistoryEvent) error ReplicateWorkflowExecutionCanceledEvent(int64, *workflow.HistoryEvent) error ReplicateWorkflowExecutionCompletedEvent(int64, *workflow.HistoryEvent) error ReplicateWorkflowExecutionContinuedAsNewEvent(int64, string, *workflow.HistoryEvent) error ReplicateWorkflowExecutionFailedEvent(int64, *workflow.HistoryEvent) error ReplicateWorkflowExecutionSignaled(*workflow.HistoryEvent) error ReplicateWorkflowExecutionStartedEvent(*string, workflow.WorkflowExecution, string, *workflow.HistoryEvent) error ReplicateWorkflowExecutionTerminatedEvent(int64, *workflow.HistoryEvent) error ReplicateWorkflowExecutionTimedoutEvent(int64, *workflow.HistoryEvent) error SetCurrentBranchToken(branchToken []byte) error SetHistoryBuilder(hBuilder *HistoryBuilder) SetHistoryTree(treeID string) error SetVersionHistories(*persistence.VersionHistories) error UpdateActivity(*persistence.ActivityInfo) error UpdateActivityProgress(ai *persistence.ActivityInfo, request *workflow.RecordActivityTaskHeartbeatRequest) UpdateDecision(*DecisionInfo) UpdateReplicationStateVersion(int64, bool) UpdateReplicationStateLastEventID(int64, int64) UpdateUserTimer(*persistence.TimerInfo) error UpdateCurrentVersion(version int64, forceUpdate bool) error UpdateWorkflowStateCloseStatus(state int, closeStatus int) error AddTransferTasks(transferTasks ...persistence.Task) AddTimerTasks(timerTasks ...persistence.Task) GetTransferTasks() []persistence.Task GetTimerTasks() []persistence.Task DeleteTransferTasks() DeleteTimerTasks() SetUpdateCondition(int64) GetUpdateCondition() int64 StartTransaction(entry *cache.DomainCacheEntry) (bool, error) StartTransactionSkipDecisionFail(entry *cache.DomainCacheEntry) error CloseTransactionAsMutation(now time.Time, transactionPolicy TransactionPolicy) (*persistence.WorkflowMutation, []*persistence.WorkflowEvents, error) CloseTransactionAsSnapshot(now time.Time, transactionPolicy TransactionPolicy) (*persistence.WorkflowSnapshot, []*persistence.WorkflowEvents, error) }
MutableState contains the current workflow execution state
func NewMutableStateBuilder ¶
func NewMutableStateBuilder( shard shard.Context, logger log.Logger, domainEntry *cache.DomainCacheEntry, ) MutableState
NewMutableStateBuilder creates a new workflow mutable state builder
func NewMutableStateBuilderWithEventV2 ¶
func NewMutableStateBuilderWithEventV2( shard shard.Context, logger log.Logger, runID string, domainEntry *cache.DomainCacheEntry, ) MutableState
NewMutableStateBuilderWithEventV2 is used only in test
func NewMutableStateBuilderWithReplicationState ¶
func NewMutableStateBuilderWithReplicationState( shard shard.Context, logger log.Logger, domainEntry *cache.DomainCacheEntry, ) MutableState
NewMutableStateBuilderWithReplicationState creates mutable state builder with replication state initialized
func NewMutableStateBuilderWithReplicationStateWithEventV2 ¶
func NewMutableStateBuilderWithReplicationStateWithEventV2( shard shard.Context, logger log.Logger, version int64, runID string, domainEntry *cache.DomainCacheEntry, ) MutableState
NewMutableStateBuilderWithReplicationStateWithEventV2 is used only in test
func NewMutableStateBuilderWithVersionHistories ¶
func NewMutableStateBuilderWithVersionHistories( shard shard.Context, logger log.Logger, domainEntry *cache.DomainCacheEntry, ) MutableState
NewMutableStateBuilderWithVersionHistories creates mutable state builder with version history initialized
type MutableStateTaskGenerator ¶
type MutableStateTaskGenerator interface { GenerateWorkflowStartTasks( now time.Time, startEvent *shared.HistoryEvent, ) error GenerateWorkflowCloseTasks( now time.Time, ) error GenerateRecordWorkflowStartedTasks( now time.Time, startEvent *shared.HistoryEvent, ) error GenerateDelayedDecisionTasks( now time.Time, startEvent *shared.HistoryEvent, ) error GenerateDecisionScheduleTasks( now time.Time, decisionScheduleID int64, ) error GenerateDecisionStartTasks( now time.Time, decisionScheduleID int64, ) error GenerateActivityTransferTasks( now time.Time, event *shared.HistoryEvent, ) error GenerateActivityRetryTasks( activityScheduleID int64, ) error GenerateChildWorkflowTasks( now time.Time, event *shared.HistoryEvent, ) error GenerateRequestCancelExternalTasks( now time.Time, event *shared.HistoryEvent, ) error GenerateSignalExternalTasks( now time.Time, event *shared.HistoryEvent, ) error GenerateWorkflowSearchAttrTasks( now time.Time, ) error GenerateWorkflowResetTasks( now time.Time, ) error // these 2 APIs should only be called when mutable state transaction is being closed GenerateActivityTimerTasks( now time.Time, ) error GenerateUserTimerTasks( now time.Time, ) error }
MutableStateTaskGenerator generates workflow transfer and timer tasks
func NewMutableStateTaskGenerator ¶
func NewMutableStateTaskGenerator( domainCache cache.DomainCache, logger log.Logger, mutableState MutableState, ) MutableStateTaskGenerator
NewMutableStateTaskGenerator creates a new task generator for mutable state
type MutableStateTaskRefresher ¶
type MutableStateTaskRefresher interface {
RefreshTasks(now time.Time, mutableState MutableState) error
}
MutableStateTaskRefresher refreshes workflow transfer and timer tasks
func NewMutableStateTaskRefresher ¶
func NewMutableStateTaskRefresher( config *config.Config, domainCache cache.DomainCache, eventsCache events.Cache, logger log.Logger, shardID int, ) MutableStateTaskRefresher
NewMutableStateTaskRefresher creates a new task refresher for mutable state
type ReleaseFunc ¶
type ReleaseFunc func(err error)
ReleaseFunc releases workflow execution context
var ( // NoopReleaseFn is an no-op implementation for the ReleaseFunc type NoopReleaseFn ReleaseFunc = func(err error) {} )
type StateBuilder ¶
type StateBuilder interface { ApplyEvents( domainID string, requestID string, workflowExecution shared.WorkflowExecution, history []*shared.HistoryEvent, newRunHistory []*shared.HistoryEvent, newRunNDC bool, ) (MutableState, error) GetMutableState() MutableState }
StateBuilder is the mutable state builder
func NewStateBuilder ¶
func NewStateBuilder( shard shard.Context, logger log.Logger, mutableState MutableState, taskGeneratorProvider taskGeneratorProvider, ) StateBuilder
NewStateBuilder creates a state builder
type StateRebuilder ¶
type StateRebuilder interface { Rebuild( ctx ctx.Context, now time.Time, baseWorkflowIdentifier definition.WorkflowIdentifier, baseBranchToken []byte, baseLastEventID int64, baseLastEventVersion int64, targetWorkflowIdentifier definition.WorkflowIdentifier, targetBranchToken []byte, requestID string, ) (MutableState, int64, error) }
StateRebuilder is a mutable state builder to ndc state rebuild
func NewStateRebuilder ¶
func NewStateRebuilder( shard shard.Context, logger log.Logger, ) StateRebuilder
NewStateRebuilder creates a state rebuilder
type TimerSequence ¶
type TimerSequence interface { IsExpired(referenceTime time.Time, TimerSequenceID TimerSequenceID) bool CreateNextUserTimer() (bool, error) CreateNextActivityTimer() (bool, error) LoadAndSortUserTimers() []TimerSequenceID LoadAndSortActivityTimers() []TimerSequenceID }
TimerSequence manages user / activity timer
func NewTimerSequence ¶
func NewTimerSequence( timeSource clock.TimeSource, mutableState MutableState, ) TimerSequence
NewTimerSequence creates a new timer sequence
type TimerSequenceID ¶
type TimerSequenceID struct { EventID int64 Timestamp time.Time TimerType TimerType TimerCreated bool Attempt int32 }
TimerSequenceID describes user / activity timer and defines an order among timers
type TimerSequenceIDs ¶
type TimerSequenceIDs []TimerSequenceID
TimerSequenceIDs is a list of TimerSequenceID
func (TimerSequenceIDs) Less ¶
func (s TimerSequenceIDs) Less( this int, that int, ) bool
Less implements sort.Interface
func (TimerSequenceIDs) Swap ¶
func (s TimerSequenceIDs) Swap( this int, that int, )
Swap implements sort.Interface.
type TimerType ¶
type TimerType int32
TimerType indicates timer type
func TimerTypeFromThrift ¶
func TimerTypeFromThrift( TimerType shared.TimeoutType, ) TimerType
TimerTypeFromThrift gets TimerType from its thrift representation
type TransactionPolicy ¶
type TransactionPolicy int
TransactionPolicy is the policy used for updating workflow execution
const ( // TransactionPolicyActive updates workflow execution as active TransactionPolicyActive TransactionPolicy = 0 // TransactionPolicyPassive updates workflow execution as passive TransactionPolicyPassive TransactionPolicy = 1 )
func (TransactionPolicy) Ptr ¶
func (policy TransactionPolicy) Ptr() *TransactionPolicy
Ptr returns a pointer to the current transaction policy
type Workflow ¶
type Workflow interface { GetContext() Context GetMutableState() MutableState GetReleaseFn() ReleaseFunc GetVectorClock() (int64, int64, error) HappensAfter(that Workflow) (bool, error) Revive() error SuppressBy(incomingWorkflow Workflow) (TransactionPolicy, error) FlushBufferedEvents() error }
Workflow is the interface for NDC workflow
func NewWorkflow ¶
func NewWorkflow( ctx context.Context, domainCache cache.DomainCache, clusterMetadata cluster.Metadata, context Context, mutableState MutableState, releaseFn ReleaseFunc, ) Workflow
NewWorkflow creates a new NDC workflow
Source Files ¶
- cache.go
- checksum.go
- contants.go
- context.go
- context_mock.go
- context_util.go
- history_builder.go
- mutable_state.go
- mutable_state_builder.go
- mutable_state_decision_task_manager.go
- mutable_state_decision_task_manager_mock.go
- mutable_state_mock.go
- mutable_state_task_generator.go
- mutable_state_task_generator_mock.go
- mutable_state_task_refresher.go
- mutable_state_task_refresher_mock.go
- mutable_state_util.go
- retry.go
- state_builder.go
- state_builder_mock.go
- state_rebuilder.go
- state_rebuilder_mock.go
- timer_sequence.go
- timer_sequence_mock.go
- workflow.go
- workflow_execution_util.go
- workflow_mock.go