host

package
v0.3.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2018 License: MIT Imports: 26 Imported by: 0

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, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL