cron

package
v3.14.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2017 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskCronConfig

type TaskCronConfig struct {
	VacuumQueryObjects *VacuumQueryObjectsConf
	VacuumGraphIndex   *VacuumGraphIndexConf
}

type TaskCronService

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

func NewCronServices

func NewCronServices(config *TaskCronConfig) *TaskCronService

func (*TaskCronService) Start

func (s *TaskCronService) Start()

func (*TaskCronService) Stop

func (s *TaskCronService) Stop()

type VacuumGraphIndexConf

type VacuumGraphIndexConf struct {
	Cron    string
	ForDays int
	Enable  bool
}

Configurations for vacuum of graph index

func (*VacuumGraphIndexConf) String

func (v *VacuumGraphIndexConf) String() string

type VacuumQueryObjectsConf

type VacuumQueryObjectsConf struct {
	Cron    string
	ForDays int
	Enable  bool
}

Configurations for vacuum of query objects

func (*VacuumQueryObjectsConf) String

func (v *VacuumQueryObjectsConf) String() string

Jump to

Keyboard shortcuts

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