Documentation ¶
Index ¶
- func JobTimeComparator(job1 interface{}, job2 interface{}) int
- func New(bt define.Beater, config define.Config) define.Scheduler
- type Daemon
- type IntervalJob
- func (j *IntervalJob) GetCheckTime() time.Time
- func (j *IntervalJob) GetTask() define.Task
- func (j *IntervalJob) Init()
- func (j *IntervalJob) Next()
- func (j *IntervalJob) Reload()
- func (j *IntervalJob) Run(e chan<- define.Event)
- func (j *IntervalJob) SetScheduler(s define.Scheduler)
- func (j *IntervalJob) Stop()
- type Job
- type JobQueue
- type LockQueue
- type StroedIntervalJob
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JobTimeComparator ¶
func JobTimeComparator(job1 interface{}, job2 interface{}) int
JobTimeComparator :
Types ¶
type Daemon ¶
type Daemon struct {
// contains filtered or unexported fields
}
Daemon :
type IntervalJob ¶
type IntervalJob struct {
// contains filtered or unexported fields
}
IntervalJob :
func (*IntervalJob) SetScheduler ¶
func (j *IntervalJob) SetScheduler(s define.Scheduler)
SetScheduler :
type Job ¶
type Job interface { GetCheckTime() time.Time Init() Next() Run(e chan<- define.Event) GetTask() define.Task Reload() Stop() SetScheduler(scheduler define.Scheduler) }
Job :
type StroedIntervalJob ¶
type StroedIntervalJob struct { *IntervalJob // contains filtered or unexported fields }
StroedIntervalJob :
Click to show internal directories.
Click to hide internal directories.