Package

agora.exec

events

Permalink

package events

Visibility
  1. Public
  2. All

Type Members

  1. case class CompletedBetween(from: Timestamp, to: Timestamp, verbose: Boolean = false, filter: JobFilter = JobFilter.empty) extends EventQuery with Product with Serializable

    Permalink

    Completed jobs within the time range

  2. case class CompletedBetweenResponse(completed: List[CompletedJob]) extends Product with Serializable

    Permalink
  3. case class CompletedJob(id: JobId, exitCode: Try[Int], completed: Timestamp = now(), details: Option[ReceivedJob] = None) extends RecordedEvent with Product with Serializable

    Permalink
  4. case class DeleteBefore(before: Timestamp) extends RecordedEvent with Product with Serializable

    Permalink

    An Event which signals the intent to remove records before a given timestamp

  5. case class EventDao(rootDir: Path) extends SystemEventMonitor with AgoraJsonImplicits with StrictLogging with Product with Serializable

    Permalink

    The idea here is to support writing down of jobs.

    The idea here is to support writing down of jobs.

    We want to write down ReceivedJobs to disk and link to them from other events

  6. sealed trait EventQuery extends AnyRef

    Permalink

    Represents a query of the system state

  7. case class FindFirst extends EventQuery with Product with Serializable

    Permalink

    Jobs which are were received but not started within the time range

  8. case class FindFirstResponse(timestamp: Option[Timestamp]) extends Product with Serializable

    Permalink
  9. case class FindJob(id: JobId) extends EventQuery with Product with Serializable

    Permalink

    Get a job by its ID

  10. case class FindJobResponse(job: Option[ReceivedJob], started: Option[StartedJob], completed: Option[CompletedJob], tookInMillis: Option[Long]) extends Product with Serializable

    Permalink
  11. trait Housekeeping extends Cancellable

    Permalink

    A place to add housekeeping events for periodic execution

  12. case class HousekeepingConfig(config: Config) extends Product with Serializable

    Permalink
  13. case class JobFilter(contains: String = "") extends Product with Serializable

    Permalink

    Represents a filter.

    Represents a filter. We may change this to a sealed trait in future

  14. case class NotFinishedBetween(from: Timestamp, to: Timestamp, verbose: Boolean = false, filter: JobFilter = JobFilter.empty) extends EventQuery with Product with Serializable

    Permalink

    Jobs which are were started but not completed within the time range

  15. case class NotFinishedBetweenResponse(jobs: List[StartedJob]) extends Product with Serializable

    Permalink
  16. case class NotStartedBetween(from: Timestamp, to: Timestamp, filter: JobFilter = JobFilter.empty) extends EventQuery with Product with Serializable

    Permalink

    Jobs which are were received but not started within the time range

  17. case class NotStartedBetweenResponse(jobs: List[ReceivedJob]) extends Product with Serializable

    Permalink
  18. case class ReceivedBetween(from: Timestamp, to: Timestamp, filter: JobFilter = JobFilter.empty) extends EventQuery with Product with Serializable

    Permalink

    Received jobs within the time range -- they may not have been started, however

  19. case class ReceivedBetweenResponse(received: List[ReceivedJob]) extends Product with Serializable

    Permalink
  20. case class ReceivedJob(id: JobId, details: Option[MatchDetails], job: RunProcess, received: Timestamp = now()) extends RecordedEvent with Product with Serializable

    Permalink
  21. sealed trait RecordedEvent extends AnyRef

    Permalink

    Represents a system event we want to write down

  22. case class StartTimesBetween(from: Timestamp, to: Timestamp) extends EventQuery with Product with Serializable

    Permalink

    Jobs which are were received but not started within the time range

  23. case class StartTimesBetweenResponse(starts: List[StartedSystem]) extends Product with Serializable

    Permalink
  24. case class StartedBetween(from: Timestamp, to: Timestamp, verbose: Boolean = false, filter: JobFilter = JobFilter.empty) extends EventQuery with Product with Serializable

    Permalink

    Jobs which had fulfilled all their dependencies and thus were started within the time range

  25. case class StartedBetweenResponse(started: List[StartedJob]) extends Product with Serializable

    Permalink
  26. case class StartedJob(id: JobId, started: Timestamp = now(), details: Option[ReceivedJob] = None) extends RecordedEvent with Product with Serializable

    Permalink
  27. case class StartedSystem(config: Json, jvmId: String = StartedSystem.jvmId, startTime: Timestamp = now()) extends RecordedEvent with Product with Serializable

    Permalink
  28. trait SystemEventMonitor extends AnyRef

    Permalink

    The event monitor is where we sent event notifications we care about (jobs started, stopped, failed, etc)

Value Members

  1. object CompletedJob extends Serializable

    Permalink
  2. object EventQuery

    Permalink
  3. object FindFirst extends Serializable

    Permalink
  4. object Housekeeping

    Permalink
  5. object JobFilter extends Serializable

    Permalink
  6. object QueryHttp extends RequestBuilding

    Permalink
  7. object ReceivedJob extends Serializable

    Permalink
  8. object StartedJob extends Serializable

    Permalink
  9. object StartedSystem extends Serializable

    Permalink
  10. object SystemEventMonitor

    Permalink

Ungrouped