Package io.zeebe.client.impl.worker
Class JobWorkerImpl
- java.lang.Object
-
- io.zeebe.client.impl.worker.JobWorkerImpl
-
-
Constructor Summary
Constructors Constructor Description JobWorkerImpl(int maxJobsActive, ScheduledExecutorService executor, Duration pollInterval, JobRunnableFactory jobRunnableFactory, JobPoller jobPoller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Closes this registration and stops receiving new work items.boolean
isClosed()
boolean
isOpen()
-
-
-
Constructor Detail
-
JobWorkerImpl
public JobWorkerImpl(int maxJobsActive, ScheduledExecutorService executor, Duration pollInterval, JobRunnableFactory jobRunnableFactory, JobPoller jobPoller)
-
-
Method Detail
-
isOpen
public boolean isOpen()
-
isClosed
public boolean isClosed()
-
close
public void close()
Description copied from interface:JobWorker
Closes this registration and stops receiving new work items. Blocks until all previously received items have been handed to the worker.
-
-