# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
ApplyOperator applies operator.
ApplyOperatorStep applies operator step.
ConfigJSONDecoder used to build a json decoder of the config.
ConfigSliceDecoder the default decode for the config.
CreateScheduler creates a scheduler with registered creator func.
DecodeConfig decode the custom config for each scheduler.
EncodeConfig encode the custom config for each scheduler.
FindSchedulerTypeByName finds the type of the specified name.
GenRangeCluster gets a range cluster by specifying start key and end key.
IsSchedulerRegistered check where the named scheduler type is registered.
NewCheckerController create a new CheckerController.
NewOperatorController creates a OperatorController.
NewOperatorRecords returns a OperatorRecords.
NewOperatorWithStatus creates an OperatorStatus from an operator.
NewPluginInterface create a plugin interface.
NewRandBuckets creates a random buckets.
NewRegionScatterer creates a region scatterer.
NewTotalOpInfluence creates a OpInfluence.
NewWaitingOperatorStatus creates a new WaitingOperatorStatus.
RegisterScheduler binds a scheduler creator.
RegisterSliceDecoderBuilder convert arguments to config.
# Constants
The source of dispatched region.
The source of dispatched region.
The source of dispatched region.
# Variables
PriorityWeight is used to represent the weight of different priorities of operators.
PushOperatorTickInterval is the interval try to push the operator.
StoreBalanceBaseTime represents the base time of balance rate.
# Structs
Bucket is used to maintain the operators created by a specific scheduler.
CheckerController is used to manage all checkers.
OperatorController is used to limit the speed of scheduling.
OperatorRecords remains the operator and its status for a while.
OperatorWithStatus records the operator and its status.
PluginInterface is used to manage all plugin.
RandBuckets is an implementation of waiting operators.
RangeCluster isolates the cluster by range.
RegionScatterer scatters regions.
WaitingOperatorStatus is used to limit the count of each kind of operators.
# Interfaces
Scheduler is an interface to schedule resources.
WaitingOperator is an interface of waiting operators.
# Type aliases
ConfigDecoder used to decode the config.
ConfigSliceDecoderBuilder used to build slice decoder of the config.
CreateSchedulerFunc is for creating scheduler.