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.
Click to show internal directories.
Click to hide internal directories.