Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MaxParallelism = uint8(runtime.NumCPU())
)
Functions ¶
This section is empty.
Types ¶
type PlanConsumer ¶
type PlanConsumer interface {
Run()
}
type PlanExecutor ¶
type PlanExecutorCreator ¶
type PlanGenerator ¶
type PlanLogger ¶
type PlanProducer ¶
type PlanProducer interface {
Run()
}
func NewPlanProducer ¶
func NewPlanProducer[V fmt.Stringer](cfg PlannerConfig, wg *sync.WaitGroup, ctx context.Context, generator PlanGenerator[V], output chan<- PlanEntry[V]) (PlanProducer, error)
type PlannedBlockWriter ¶
type PlannedBlockWriter interface {
Run() error
}
func NewPlannedBlockWriter ¶
func NewPlannedBlockWriter[V fmt.Stringer](config PlannerConfig, generator PlanGenerator[V], executorCreator PlanExecutorCreator[V]) PlannedBlockWriter
type Planner ¶
type Planner[V fmt.Stringer] interface { Plan(transform func(int64, int64, int64) []PlanEntry[V]) [][]PlanEntry[V] }
func NewPlanner ¶
func NewPlanner[V fmt.Stringer](config PlannerConfig) Planner[V]
Click to show internal directories.
Click to hide internal directories.