hierarchical

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 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 Service

type Service struct {
	MetaClient metaClient

	Logger *logger.Logger

	Config *config.HierarchicalConfig

	Engine engine

	// max concurrency number for move shards
	HsWaitGroup *WaitGroup
	// contains filtered or unexported fields
}

func NewService

func NewService(c config.HierarchicalConfig) *Service

func (*Service) Close added in v1.2.0

func (s *Service) Close() error

func (*Service) Open added in v1.2.0

func (s *Service) Open() error

type WaitGroup added in v1.2.0

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

func NewWaitGroup added in v1.2.0

func NewWaitGroup(maxN int) *WaitGroup

func (*WaitGroup) Add added in v1.2.0

func (wg *WaitGroup) Add(num int)

func (*WaitGroup) Close added in v1.2.0

func (wg *WaitGroup) Close()

func (*WaitGroup) Done added in v1.2.0

func (wg *WaitGroup) Done()

func (*WaitGroup) Wait added in v1.2.0

func (wg *WaitGroup) Wait()

Jump to

Keyboard shortcuts

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