eventPool

package
v0.0.0-...-5951314 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DcpManagerType

type DcpManagerType uint8
const (
	CommonConn DcpManagerType = iota
	DedicatedConn
)

type ManagerPool

type ManagerPool interface {
	GetDcpManagerPool(dcpManagerType DcpManagerType, identifier string, bucketName string, sendChannel chan<- *dcpConn.DcpEvent) dcpManager.DcpManager
	GetSeqManager(bucketName string) SeqNumerInterface
	GetCheckpointManager(appId uint32, instanceID string, interruptCallback checkpointManager.InterruptFunction, appLocation application.AppLocation, keyspace application.Keyspace) checkpointManager.Checkpoint

	TlsSettingsChanged(gocbCluster *gocb.Cluster)

	GetRuntimeStats() common.StatsInterface

	CloseConditional()
	ClosePool()
}

func NewManagerPool

func NewManagerPool(ctx context.Context, poolID string, clusterSettings *common.ClusterSettings, notif notifier.Observer, gocbCluster *gocb.Cluster, broadcaster common.Broadcaster) ManagerPool

type SeqNumerInterface

type SeqNumerInterface interface {
	RegisterID(id uint16, sendChannel chan<- *dcpConn.DcpEvent)
	GetSeqNumber(vbs []uint16, collectionID string) (map[uint16]uint64, error)
	GetFailoverLog(vbs []uint16) (map[uint16]dcpConn.FailoverLog, error)
	DeregisterID(id uint16)
	GetRuntimeStats() common.StatsInterface

	CloseManager()
}

Jump to

Keyboard shortcuts

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