Documentation ¶
Overview ¶
The package is useless
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueueScheduler ¶
type QueueScheduler struct {
// contains filtered or unexported fields
}
func NewQueueScheduler ¶
func NewQueueScheduler(rmDuplicate bool) *QueueScheduler
func (*QueueScheduler) Count ¶
func (this *QueueScheduler) Count() int
func (*QueueScheduler) Poll ¶
func (this *QueueScheduler) Poll() *request.Request
func (*QueueScheduler) Push ¶
func (this *QueueScheduler) Push(requ *request.Request)
type SimpleScheduler ¶
type SimpleScheduler struct {
// contains filtered or unexported fields
}
func NewSimpleScheduler ¶
func NewSimpleScheduler() *SimpleScheduler
func (*SimpleScheduler) Count ¶
func (this *SimpleScheduler) Count() int
func (*SimpleScheduler) Poll ¶
func (this *SimpleScheduler) Poll() *request.Request
func (*SimpleScheduler) Push ¶
func (this *SimpleScheduler) Push(requ *request.Request)
Click to show internal directories.
Click to hide internal directories.