Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TerminateIfRunningReason reason for terminateIfRunning TerminateIfRunningReason = "TerminateIfRunning Policy" // TerminateIfRunningDetailsTemplate details template for terminateIfRunning TerminateIfRunningDetailsTemplate = "New runID: %s" )
Variables ¶
View Source
var ( // FailedWorkflowCloseState is a set of failed workflow close states, used for start workflow policy // for start workflow execution API FailedWorkflowCloseState = map[int]bool{ persistence.WorkflowCloseStatusFailed: true, persistence.WorkflowCloseStatusCanceled: true, persistence.WorkflowCloseStatusTerminated: true, persistence.WorkflowCloseStatusTimedOut: true, } )
Functions ¶
func NewEngineWithShardContext ¶
func NewEngineWithShardContext( shard shard.Context, visibilityMgr persistence.VisibilityManager, matching matching.Client, publicClient workflowserviceclient.Interface, historyEventNotifier events.Notifier, config *config.Config, crossClusterTaskFetchers task.Fetchers, replicationTaskFetchers replication.TaskFetchers, rawMatchingClient matching.Client, queueTaskProcessor task.Processor, failoverCoordinator failover.Coordinator, wfIDCache workflowcache.WFCache, ratelimitInternalPerWorkflowID dynamicconfig.BoolPropertyFnWithDomainFilter, queueProcessorFactory queue.ProcessorFactory, ) engine.Engine
NewEngineWithShardContext creates an instance of history engine
Types ¶
This section is empty.
Source Files ¶
- cross_cluster_operations.go
- describe_mutable_state.go
- describe_queues.go
- describe_workflow_execution.go
- dlq_operations.go
- get_replication_messages.go
- history_engine.go
- notify_tasks.go
- poll_mutable_state.go
- query_workflow.go
- reapply_events.go
- record_activity_task_started.go
- record_child_execution_completed.go
- record_decision_task_started.go
- refresh_workflow_tasks.go
- register_domain_failover_callback.go
- remove_signal_mutable_state.go
- request_cancel_workflow_execution.go
- reset_queues.go
- reset_sticky_tasklist.go
- reset_workflow_execution.go
- respond_activity_task_canceled.go
- respond_activity_task_completed.go
- respond_activity_task_failed.go
- respond_activity_task_heartbeat.go
- respond_decision_task_completed.go
- respond_decision_task_failed.go
- signal_workflow_execution.go
- start_workflow_execution.go
- terminate_workflow_execution.go
Click to show internal directories.
Click to hide internal directories.