Documentation
¶
Index ¶
- func NewHasher() *hasher
- type Cluster
- func (c *Cluster) ExecuteAction(wfName string, flowId string, event string, actionId int, data map[string]any)
- func (c *Cluster) ExecuteResume(wfName string, flowId string, event string)
- func (c *Cluster) ExecuteResumeAfterWait(wfName string, flowId string, event string) error
- func (c *Cluster) GetServerer() *Ring
- func (c *Cluster) GetShard(shardId int) *shard.Shard
- func (c *Cluster) Init(wfName string, input map[string]any) (string, error)
- func (c *Cluster) MarkPaused(wfName string, flowId string)
- func (c *Cluster) Poll(queuName string, batchSize int) (*api.Actions, error)
- func (c *Cluster) Rebalance(partitions []int)
- func (c *Cluster) RetryAction(wfName string, flowId string, actionName string, actionId int, reason string)
- func (c *Cluster) Start() error
- func (c *Cluster) Stop() error
- func (c *Cluster) Timeout(wfName string, flowId string, actionName string, actionId int, ...) error
- type Handler
- type Membership
- type Node
- type Ring
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
func NewCluster ¶
func (*Cluster) ExecuteAction ¶
func (*Cluster) ExecuteResume ¶
func (*Cluster) ExecuteResumeAfterWait ¶
func (*Cluster) GetServerer ¶
func (*Cluster) MarkPaused ¶
func (*Cluster) RetryAction ¶
type Membership ¶
type Membership struct {
// contains filtered or unexported fields
}
func NewMemberShip ¶
func NewMemberShip(handler Handler, conf config.ClusterConfig) (*Membership, error)
func (*Membership) Leave ¶
func (m *Membership) Leave() error
func (*Membership) Members ¶
func (m *Membership) Members() []serf.Member
type Ring ¶
type Ring struct {
// contains filtered or unexported fields
}
func (*Ring) GetPartition ¶
func (*Ring) GetPartitions ¶
func (*Ring) SetRebalancer ¶
Click to show internal directories.
Click to hide internal directories.