Package

agora.exec

events

Permalink

package events

Visibility
  1. Public
  2. All

Type Members

  1. case class CompletedBetween(from: Timestamp, to: Timestamp) 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()) extends RecordedEvent with Product with Serializable

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

    Permalink
  5. case class EventDao(rootDir: Path) extends SystemEventMonitor with JsonByteImplicits 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. case class NotFinishedBetween(from: Timestamp, to: Timestamp) extends EventQuery with Product with Serializable

    Permalink

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

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

    Permalink
  13. case class NotStartedBetween(from: Timestamp, to: Timestamp) extends EventQuery with Product with Serializable

    Permalink

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

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

    Permalink
  15. case class ReceivedBetween(from: Timestamp, to: Timestamp) extends EventQuery with Product with Serializable

    Permalink

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

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

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

    Permalink
  18. sealed trait RecordedEvent extends AnyRef

    Permalink

    Represents a system event we want to write down

  19. 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

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

    Permalink
  21. case class StartedBetween(from: Timestamp, to: Timestamp) extends EventQuery with Product with Serializable

    Permalink

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

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

    Permalink
  23. case class StartedJob(id: JobId, started: Timestamp = now()) extends RecordedEvent with Product with Serializable

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

    Permalink
  25. 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 QueryHttp extends RequestBuilding

    Permalink
  5. object ReceivedJob extends Serializable

    Permalink
  6. object StartedJob extends Serializable

    Permalink
  7. object StartedSystem extends Serializable

    Permalink
  8. object SystemEventMonitor

    Permalink

Ungrouped