cluster

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collect

func Collect(ctx context.Context, c Cluster, region *core.RegionInfo)

Collect collects the cluster information.

func HandleOverlaps

func HandleOverlaps(ctx context.Context, c Cluster, overlaps []*core.RegionInfo)

HandleOverlaps handles the overlap regions.

func HandleStatsAsync

func HandleStatsAsync(c Cluster, region *core.RegionInfo)

HandleStatsAsync handles the flow asynchronously.

Types

type Cluster

type Cluster interface {
	GetHotStat() *statistics.HotStat
	GetRegionStats() *statistics.RegionStatistics
	GetLabelStats() *statistics.LabelStatistics
	GetCoordinator() *schedule.Coordinator
	GetRuleManager() *placement.RuleManager
	GetBasicCluster() *core.BasicCluster
}

Cluster provides an overview of a cluster's basic information.

Jump to

Keyboard shortcuts

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