scheduler

package
v0.0.0-...-da0e060 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2017 License: MPL-2.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisScheduler

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

func NewRedisScheduler

func NewRedisScheduler(addr string, maxConn, maxIdle int, forbiddenDuplicateUrl bool) *RedisScheduler

func (*RedisScheduler) Count

func (this *RedisScheduler) Count() int

func (*RedisScheduler) Init

func (this *RedisScheduler) Init() *RedisScheduler

func (*RedisScheduler) Poll

func (this *RedisScheduler) Poll() *request.Request

func (*RedisScheduler) Push

func (this *RedisScheduler) Push(requ *request.Request)

Jump to

Keyboard shortcuts

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