Package

eu.shiftforward.adstax.scheduler

api

Permalink

package api

Visibility
  1. Public
  2. All

Type Members

  1. case class Cancel(jobId: String) extends SchedulerRequest with Product with Serializable

    Permalink

    A request to cancel a previously scheduled job.

    A request to cancel a previously scheduled job.

    jobId

    the identifier of the job to cancel

  2. case class CancelResponse(status: JobStatus) extends SchedulerResponse with Product with Serializable

    Permalink

    The response to a Cancel request.

    The response to a Cancel request.

    status

    the status of the cancelled job

  3. case class GetJobStatus(jobId: String) extends SchedulerRequest with Product with Serializable

    Permalink

    A request to retrieve the status of a job.

    A request to retrieve the status of a job.

    jobId

    the identifier of the job whose status is to be retrieved

  4. sealed trait JobStatus extends AnyRef

    Permalink

    The status of a job in the Scheduler module.

  5. case class JobStatusResponse(status: Option[JobStatus]) extends SchedulerResponse with Product with Serializable

    Permalink

    The response to a GetJobStatus request.

    The response to a GetJobStatus request.

    status

    the status of the requested job

  6. case class JobsStatusResponse(jobs: Map[String, JobStatus]) extends SchedulerResponse with Product with Serializable

    Permalink

    The response to a GetJobsStatus request.

    The response to a GetJobsStatus request.

    jobs

    a map from job identifiers to their statuses

  7. sealed trait MissedExecutionBehavior extends AnyRef

    Permalink
  8. class RecurrentScript extends AnyRef

    Permalink

    A script to be run recurrently, reusing the return values as its inner state.

    A script to be run recurrently, reusing the return values as its inner state. In order to reuse the return value in the next iteration, a JSON object with the nextInput field must be returned. In that case, the value that is effectively used as the return value should be present in the returnValue field. The value that is returned in the nextInput field is available on the next execution of the script in the input variable.

  9. case class Schedule(job: SchedulerJob) extends SchedulerRequest with Product with Serializable

    Permalink

    A request to schedule a new job.

    A request to schedule a new job.

    job

    the job to schedule

  10. case class ScheduleResponse(status: JobStatus) extends SchedulerResponse with Product with Serializable

    Permalink

    The response to a Schedule request.

    The response to a Schedule request.

    status

    the status of the scheduled job

  11. case class Scheduled(job: SchedulerJob) extends JobStatus with Product with Serializable

    Permalink

    Job status indicating a successfully scheduled job.

    Job status indicating a successfully scheduled job.

    job

    the scheduled job

  12. trait SchedulerClient extends AnyRef

    Permalink

    Interface for clients capable of interacting with the Scheduler module for scheduling new jobs and managing existing ones.

  13. sealed trait SchedulerRequest extends AnyRef

    Permalink

    A request to be sent to the Scheduler module.

  14. trait SchedulerResponse extends AnyRef

    Permalink

    A response from the Scheduler module to a SchedulerRequest.

Value Members

  1. object Cancel extends Serializable

    Permalink
  2. object CancelResponse extends Serializable

    Permalink
  3. object Cancelled extends JobStatus with Product with Serializable

    Permalink

    Job status indicating a cancelled job.

  4. object Continue extends MissedExecutionBehavior with Product with Serializable

    Permalink
  5. object ExecuteAll extends MissedExecutionBehavior with Product with Serializable

    Permalink
  6. object GetJobStatus extends Serializable

    Permalink
  7. object GetJobsStatus extends SchedulerRequest with Product with Serializable

    Permalink

    A request to retrieve the status of all jobs.

  8. object JavaScriptUtils

    Permalink

    Functions in this object will be accessible in the JavaScript engine used for RecurrentScript.

  9. object JobStatus

    Permalink
  10. object JobStatusResponse extends Serializable

    Permalink
  11. object JobsStatusResponse extends Serializable

    Permalink
  12. object MissedExecutionBehavior

    Permalink
  13. object RecurrentScript

    Permalink

    Contexts for running the JavaScript scripts.

  14. object Schedule extends Serializable

    Permalink
  15. object ScheduleResponse extends Serializable

    Permalink
  16. package job

    Permalink
  17. package rpc

    Permalink

Ungrouped