com.typesafe.akka.extension.quartz

QuartzSchedulerExtension

class QuartzSchedulerExtension extends Extension

Note that this extension will only be instantiated *once* *per actor system*.

Linear Supertypes
Extension, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. QuartzSchedulerExtension
  2. Extension
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new QuartzSchedulerExtension(system: ExtendedActorSystem)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def cancelJob(name: String): Boolean

    Cancels the running job and all associated triggers

    Cancels the running job and all associated triggers

    name

    The name of the job, as defined in the schedule

    returns

    Success or Failure in a Boolean

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val config: Config

    Attributes
    protected
  10. def createSchedule(name: String, description: Option[String] = None, cronExpression: String, calendar: Option[String] = None, timezone: TimeZone = defaultTimezone): Unit

    Create a schedule programmatically (must still be scheduled by calling 'schedule')

    Create a schedule programmatically (must still be scheduled by calling 'schedule')

    name

    A String identifying the job

    description

    A string describing the purpose of the job

    cronExpression

    A string with the cron-type expression

    calendar

    An optional calendar to use.

  11. val daemonThreads_?: Boolean

  12. lazy val defaultConfig: Config

  13. val defaultTimezone: TimeZone

  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. def initialiseCalendars(): Unit

    Parses calendar configurations, creates Calendar instances and attaches them to the scheduler

    Parses calendar configurations, creates Calendar instances and attaches them to the scheduler

    Attributes
    protected
  20. def isInStandbyMode: Boolean

  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def isStarted: Boolean

  23. lazy val jobStore: RAMJobStore

    Attributes
    protected
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def resumeAll(): Unit

    Unpauses all jobs in the scheduler

  28. def resumeJob(name: String): Boolean

    Attempts to resume (un-pause) the given job

    Attempts to resume (un-pause) the given job

    name

    The name of the job, as defined in the schedule

    returns

    Success or Failure in a Boolean

  29. val runningJobs: Map[String, JobKey]

  30. def schedule(name: String, receiver: ActorRef, msg: AnyRef): Date

    Schedule a job, whose named configuration must be available

    Schedule a job, whose named configuration must be available

    name

    A String identifying the job, which must match configuration

    receiver

    An ActorRef, who will be notified each time the schedule fires

    msg

    A message object, which will be sent to receiver each time the schedule fires

    returns

    A date, which indicates the first time the trigger will fire.

  31. def scheduleJob(name: String, receiver: ActorRef, msg: AnyRef)(schedule: QuartzSchedule): Date

    Creates the actual jobs for Quartz, and setups the Trigger, etc.

    Creates the actual jobs for Quartz, and setups the Trigger, etc.

    returns

    A date, which indicates the first time the trigger will fire.

    Attributes
    protected
  32. lazy val scheduler: Scheduler

    Attributes
    protected
  33. def schedulerName: String

  34. var schedules: Map[String, QuartzSchedule]

    Parses job and trigger configurations, preparing them for any code request of a matching job.

    Parses job and trigger configurations, preparing them for any code request of a matching job. In our world, jobs and triggers are essentially 'merged' - our scheduler is built around triggers and jobs are basically 'idiot' programs who fire off messages.

    RECAST KEY AS UPPERCASE TO AVOID RUNTIME LOOKUP ISSUES

  35. def shutdown(waitForJobsToComplete: Boolean = false): Unit

    Shutdown the scheduler manually.

    Shutdown the scheduler manually. The scheduler cannot be re-started.

    waitForJobsToComplete

    wait for jobs to complete? default to false

  36. def standby(): Unit

    Puts the Scheduler in 'standby' mode, temporarily halting firing of triggers.

    Puts the Scheduler in 'standby' mode, temporarily halting firing of triggers. Resumable by running 'start'

  37. def start(): Boolean

    Starts up the scheduler.

    Starts up the scheduler. This is typically used from userspace only to restart a scheduler in standby mode.

    returns

    True if calling this function resulted in the starting of the scheduler; false if the scheduler was already started.

  38. def suspendAll(): Unit

    Suspends (pauses) all jobs in the scheduler

  39. def suspendJob(name: String): Boolean

    Attempts to suspend (pause) the given job

    Attempts to suspend (pause) the given job

    name

    The name of the job, as defined in the schedule

    returns

    Success or Failure in a Boolean

  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. val threadCount: Int

  42. lazy val threadPool: SimpleThreadPool

    Attributes
    protected
  43. val threadPriority: Int

  44. def toString(): String

    Definition Classes
    AnyRef → Any
  45. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Extension

Inherited from AnyRef

Inherited from Any

Ungrouped