IDruidJobWatcher

Extends

Interface IDruidJobWatcher is for things that can watch jobs, usually over a longer period of time or over multiple HTTP requests.

package

PhpDruidIngest\Interfaces

Methods

Begin watching given job id.

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.

Arguments

$jobId

string

Response

mixed