Action Progress

ActionProgress Class: Running Long Running Jobs

ActionExecutor long running jobs can be broken down into smaller executor functions.

  • ActionProgress classes are registered in the ActionExecutor annotation.
  • ActionProgress instances are called periodically (execute()) during the life of the job.
  • ActionProgress classes can register plain old Java objects (POJOs) with context execution data: ActionProgressData.
  • ActionProgressData is passed with every call to ActionProgress to execute.
  • ActionProgressData is persisted in Redis after each execute call is made. This allows the job executor to resume in a different job executor microservice, should an outage occur.
  • ActionProgressData can be configured, so that it can be removed from Redis or persisted there for future references from other jobs.