optimizor

package
v1.1.0-beta.0...-ec288d9 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OptimizeTraceHandler

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

OptimizeTraceHandler serve http

func NewOptimizeTraceHandler

func NewOptimizeTraceHandler(infoGetter *infosync.InfoSyncer, address string, statusPort uint) *OptimizeTraceHandler

NewOptimizeTraceHandler returns a new OptimizeTraceHandler

func (OptimizeTraceHandler) ServeHTTP

func (oth OptimizeTraceHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)

type PlanReplayerHandler

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

PlanReplayerHandler is the handler for dumping plan replayer file.

func NewPlanReplayerHandler

func NewPlanReplayerHandler(is infoschema.InfoSchema, statsHandle *handle.Handle, infoGetter *infosync.InfoSyncer, address string, statusPort uint) *PlanReplayerHandler

NewPlanReplayerHandler creates a new PlanReplayerHandler.

func (PlanReplayerHandler) ServeHTTP

func (prh PlanReplayerHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)

ServeHTTP handles request of dumping plan replayer file.

type StatsHandler

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

StatsHandler is the handler for dumping statistics.

func NewStatsHandler

func NewStatsHandler(do *domain.Domain) *StatsHandler

NewStatsHandler creates a new StatsHandler.

func (*StatsHandler) Domain

func (sh *StatsHandler) Domain() *domain.Domain

Domain is to get domain.

func (StatsHandler) ServeHTTP

func (sh StatsHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)

ServeHTTP dumps the statistics to json.

type StatsHistoryHandler

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

StatsHistoryHandler is the handler for dumping statistics.

func NewStatsHistoryHandler

func NewStatsHistoryHandler(do *domain.Domain) *StatsHistoryHandler

NewStatsHistoryHandler creates a new StatsHistoryHandler.

func (StatsHistoryHandler) ServeHTTP

func (sh StatsHistoryHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)

type StatsPriorityQueueHandler

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

StatsPriorityQueueHandler is the handler for dumping the stats priority queue snapshot.

func NewStatsPriorityQueueHandler

func NewStatsPriorityQueueHandler(do *domain.Domain) *StatsPriorityQueueHandler

NewStatsPriorityQueueHandler creates a new StatsPriorityQueueHandler.

func (StatsPriorityQueueHandler) ServeHTTP

ServeHTTP dumps the stats priority queue snapshot to json.

Jump to

Keyboard shortcuts

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