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
GetFrontendService() service.Service
}
Cadence hosts all of cadence services in one process
func NewCadence ¶
func NewCadence(clusterMetadata cluster.Metadata, messagingClient messaging.Client, metadataMgr persistence.MetadataManager, shardMgr persistence.ShardManager, historyMgr persistence.HistoryManager, executionMgrFactory persistence.ExecutionManagerFactory, taskMgr persistence.TaskManager, visibilityMgr persistence.VisibilityManager, numberOfHistoryShards, numberOfHistoryHosts int, logger bark.Logger, clusterNo int, enableWorker bool) Cadence
NewCadence returns an instance that hosts full cadence in one process
Click to show internal directories.
Click to hide internal directories.