Server timer for recurring complicated tasks. Runs in separate thread.

Fields

redis:Redis

redis1:Redis

Methods

add (params:_TimerTask):Void

Adds task to list. Will replace task with the same name and project ID.

Parameters:

params

Task parameters.

clearProject (projectID:String):Void

Clears all project-related tasks that can be cleared.

Parameters:

projectID

Project ID

timeDump (name:String):Void

Finish measuring and log time of execution.

Parameters:

name

Timer name.

timeStart (name:String):Void

Start measuring task execution time.

Parameters:

name

Timer name.