Package edu.ucsb.cs156.jobs.services
package edu.ucsb.cs156.jobs.services
-
ClassDescriptionHanded to a running
JobContextConsumer; eachJobContext.log(java.lang.String)call appends one line to the job's log, so admins can watch progress live.A concrete job: the code that runs asynchronously, receiving aJobContextfor logging.CreatesJobContextinstances; exists as a seam so tests can substitute contexts.Configurable delay for rate limiting calls to external APIs from inside jobs.CreatesJobrows and runsJobContextConsumers asynchronously on thejobsExecutor, recording status and log output as they run.Bridge between the library and the consuming app's notion of "current user".