Documentation ¶
Index ¶
Constants ¶
View Source
const Concurency uint = 5
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Memory ¶
type Memory struct { Wait *Queue Work *Queue Done *Queue InputChannel chan *scheduler.Task DemoLock *demolock.DemoLock // contains filtered or unexported fields }
func (*Memory) Add ¶
func (m *Memory) Add(payload *job.Job, executionTimeout time.Duration, userID string) (taskID string)
Adds task to queue (wait)
func (*Memory) GetTaskStatus ¶
func (*Memory) ListAllTasks ¶
func (*Memory) MoveToWorkQeueu ¶
Move Item from the Wait to the Work queue
Click to show internal directories.
Click to hide internal directories.