Interface IDruidJobWatcher is for things that can watch jobs, usually over a longer period of time or over multiple HTTP requests.
package |
PhpDruidIngest\Interfaces |
---|
watchJob(string $jobId) : mixed
Calls either onJobCompleted or onJobFailed unless stopWatchingJob is called first. If given job is already completed or failed, the appropriate callback will be called.
string
mixed