distributed

package
v0.0.0-...-34e0b2d Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionManager

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

ConnectionManager handles connection to other components of the system

func NewConnectionManager

func NewConnectionManager(session *sessionutil.Session) *ConnectionManager

NewConnectionManager creates a new connection manager.

func (*ConnectionManager) AddDependency

func (cm *ConnectionManager) AddDependency(roleName string) error

AddDependency add a dependency by role name.

func (*ConnectionManager) GetDataCoordClient

func (cm *ConnectionManager) GetDataCoordClient() (datapb.DataCoordClient, bool)

func (*ConnectionManager) GetDataNodeClients

func (cm *ConnectionManager) GetDataNodeClients() (map[int64]datapb.DataNodeClient, bool)

func (*ConnectionManager) GetIndexNodeClients

func (cm *ConnectionManager) GetIndexNodeClients() (map[int64]indexpb.IndexNodeClient, bool)

func (*ConnectionManager) GetQueryCoordClient

func (cm *ConnectionManager) GetQueryCoordClient() (querypb.QueryCoordClient, bool)

func (*ConnectionManager) GetQueryNodeClients

func (cm *ConnectionManager) GetQueryNodeClients() (map[int64]querypb.QueryNodeClient, bool)

func (*ConnectionManager) GetRootCoordClient

func (cm *ConnectionManager) GetRootCoordClient() (rootcoordpb.RootCoordClient, bool)

func (*ConnectionManager) Start

func (cm *ConnectionManager) Start()

func (*ConnectionManager) Stop

func (cm *ConnectionManager) Stop()

Directories

Path Synopsis
Package grpcdatacoord implements grpc server for datacoord
Package grpcdatacoord implements grpc server for datacoord

Jump to

Keyboard shortcuts

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