cron

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheManager

type CacheManager struct {
	TaskChan chan bool
	Cache    *cache.Cache
	Interval string
	TaskSum  int
}

func (*CacheManager) AddTask

func (worker *CacheManager) AddTask(expiration uint32, cacheMessage *clients.CacheMessage, fastMap *cache.FastMap, bundle map[string]*clients.RemoteClientBundle)

func (*CacheManager) AutoUpdate

func (cacheManager *CacheManager) AutoUpdate()

func (*CacheManager) Crontab

func (cacheManager *CacheManager) Crontab()

func (*CacheManager) Handle

func (worker *CacheManager) Handle()

func (*CacheManager) Sort

func (cacheManager *CacheManager) Sort(updateElemNum int) *list.List

type Task

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

Jump to

Keyboard shortcuts

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