Package csw.time.scheduler
Class TimeServiceSchedulerFactory
- java.lang.Object
-
- csw.time.scheduler.TimeServiceSchedulerFactory
-
public class TimeServiceSchedulerFactory extends java.lang.Object
Factory to createTimeServiceScheduler
param: scheduler an scheduler required for scheduling tasks
-
-
Constructor Summary
Constructors Constructor Description TimeServiceSchedulerFactory(akka.actor.typed.Scheduler scheduler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeServiceScheduler
make(scala.concurrent.ExecutionContext ec)
API to createTimeServiceScheduler
-
-
-
Method Detail
-
make
public TimeServiceScheduler make(scala.concurrent.ExecutionContext ec)
API to createTimeServiceScheduler
- Parameters:
ec
- an executionContext- Returns:
- an instance of
TimeServiceScheduler
which can be used to schedule one-time/periodic tasks
-
-