Exemplo n.º 1
0
func New(capacity uint) Scheduler {
	return &scheduler{
		SrcManage:     NewSrcManage(capacity).(*SrcManage),
		Deduplication: deduplicate.New().(*deduplicate.Deduplication),
		status:        RUN,
	}
}
Exemplo n.º 2
0
func init() {
	Sdl = &scheduler{
		Deduplication: deduplicate.New().(*deduplicate.Deduplication),
		status:        status.RUN,
	}
	Sdl.ReadDeduplication()
}
Exemplo n.º 3
0
func New() Pipeline {
	return &pipeline{
		Collector:     collector.NewCollector(),
		Deduplication: deduplicate.New().(*deduplicate.Deduplication),
	}
}
Exemplo n.º 4
0
func init() {
	Sdl = &scheduler{
		deduplication: deduplicate.New(),
		status:        status.RUN,
	}
}