connection_tracker

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionTracker

type ConnectionTracker interface {
	PopulateOpenedConnectionQueue(hostInfo *host_info_util.HostInfo, conn driver.Conn)
	InvalidateAllConnections(hostInfo *host_info_util.HostInfo)
	InvalidateAllConnectionsMultipleHosts(hosts ...string)
	LogOpenedConnections()
	PruneNullConnections()
	ClearCache()
}

type OpenedConnectionTracker

type OpenedConnectionTracker struct {
	// contains filtered or unexported fields
}

func NewOpenedConnectionTracker

func NewOpenedConnectionTracker(pluginService driver_infrastructure.PluginService) *OpenedConnectionTracker

func (*OpenedConnectionTracker) ClearCache

func (o *OpenedConnectionTracker) ClearCache()

func (*OpenedConnectionTracker) GetOpenedConnections

func (o *OpenedConnectionTracker) GetOpenedConnections() map[string]*utils.RWQueue[weak.Pointer[driver.Conn]]

func (*OpenedConnectionTracker) InvalidateAllConnections

func (o *OpenedConnectionTracker) InvalidateAllConnections(hostInfo *host_info_util.HostInfo)

func (*OpenedConnectionTracker) InvalidateAllConnectionsMultipleHosts

func (o *OpenedConnectionTracker) InvalidateAllConnectionsMultipleHosts(hosts ...string)

func (*OpenedConnectionTracker) LogOpenedConnections

func (o *OpenedConnectionTracker) LogOpenedConnections()

func (*OpenedConnectionTracker) PopulateOpenedConnectionQueue

func (o *OpenedConnectionTracker) PopulateOpenedConnectionQueue(hostInfo *host_info_util.HostInfo, conn driver.Conn)

func (*OpenedConnectionTracker) PruneNullConnections

func (o *OpenedConnectionTracker) PruneNullConnections()

Jump to

Keyboard shortcuts

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