Returns the history of saved JobStatus for a single job (each save/update for a job is a separate entry).
Finds the latest job status entries for all jobs.
Finds the latest job status entries for all jobs. Every JobState is loaded with a single select statement It is recommened to use partition keys if possible and avoid IN statement in WHERE clauses, therefore we prefer to execute more than one select statement
Finds all job status entries for all jobs.
Finds all job status entries for all jobs. Every JobState is loaded with a single select statement It is recommened to use partition keys if possible and avoid IN statement in WHERE clauses, therefore we prefer to execute more than one select statement
Saves a JobStatus (to the database or in memory for tests) and returns the saved object.
Saves a JobStatus (to the database or in memory for tests) and returns the saved object.
Repository to manage job status in the database. Write and Read Methods can be called with Consitency Level LOCAL_QUORUM to get consistent Job data from Cassandra. This is necessary to prevent the JobSupervisor from setting Finished Jobs to Dead Jobs