ActionProgress Class: Running Long Running Jobs
ActionExecutor long running jobs can be broken down into smaller executor functions.
ActionProgressclasses are registered in the
ActionProgressinstances are called periodically (
execute()) during the life of the job.
ActionProgressclasses can register plain old Java objects (POJOs) with context execution data:
ActionProgressDatais passed with every call to
ActionProgressDatais 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.
ActionProgressDatacan be configured, so that it can be removed from Redis or persisted there for future references from other jobs.