case classScheduledTask[T](name: String, fn: () ⇒ Unit, periodSeconds: Int = 1, delaySeconds: Int = 0)(implicit logger: Logging) extends TimerTask with Product with Serializable
A convenient class to represent a job to be scheduled
T
the type of the task input
name
the name of the task
fn
task function
periodSeconds
schedule interval
delaySeconds
initial job delay
logger
the logger used for logging
Since
9/15/16.
Linear Supertypes
Serializable, Serializable, Product, Equals, TimerTask, Runnable, AnyRef, Any
Ordering
Alphabetic
By Inheritance
Inherited
ScheduledTask
Serializable
Serializable
Product
Equals
TimerTask
Runnable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
newScheduledTask(name: String, fn: () ⇒ Unit, periodSeconds: Int = 1, delaySeconds: Int = 0)(implicit logger: Logging)
A convenient class to represent a job to be scheduled
the type of the task input
the name of the task
task function
schedule interval
initial job delay
the logger used for logging
9/15/16.