Class AbstractJdbcWorkerJobRunningRepository

java.lang.Object
io.kestra.jdbc.repository.AbstractJdbcRepository
io.kestra.jdbc.repository.AbstractJdbcWorkerJobRunningRepository
All Implemented Interfaces:
io.kestra.core.repositories.WorkerJobRunningRepositoryInterface

@Singleton public abstract class AbstractJdbcWorkerJobRunningRepository extends AbstractJdbcRepository implements io.kestra.core.repositories.WorkerJobRunningRepositoryInterface
  • Field Details

  • Constructor Details

    • AbstractJdbcWorkerJobRunningRepository

      public AbstractJdbcWorkerJobRunningRepository(AbstractJdbcRepository<io.kestra.core.runners.WorkerJobRunning> jdbcRepository)
  • Method Details

    • save

      public io.kestra.core.runners.WorkerJobRunning save(io.kestra.core.runners.WorkerJobRunning workerJobRunning, org.jooq.DSLContext context)
    • deleteByKey

      public void deleteByKey(String uid)
      Specified by:
      deleteByKey in interface io.kestra.core.repositories.WorkerJobRunningRepositoryInterface
    • findByKey

      public Optional<io.kestra.core.runners.WorkerJobRunning> findByKey(String uid)
      Specified by:
      findByKey in interface io.kestra.core.repositories.WorkerJobRunningRepositoryInterface
    • getWorkerJobWithWorkerDead

      public List<io.kestra.core.runners.WorkerJobRunning> getWorkerJobWithWorkerDead(org.jooq.DSLContext context, List<String> workersToDelete)