Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cadence ¶
type Cadence interface { Start() error Stop() GetFrontendClient() workflowserviceclient.Interface FrontendAddress() string }
Cadence hosts all of cadence services in one process
func NewCadence ¶
func NewCadence(metadataMgr persistence.MetadataManager, shardMgr persistence.ShardManager, historyMgr persistence.HistoryManager, executionMgrFactory persistence.ExecutionManagerFactory, taskMgr persistence.TaskManager, visibilityMgr persistence.VisibilityManager, numberOfHistoryShards, numberOfHistoryHosts int, logger bark.Logger) Cadence
NewCadence returns an instance that hosts full cadence in one process
Click to show internal directories.
Click to hide internal directories.