Uses of Class
com.github.workerframework.api.InvalidTaskException
Packages that use InvalidTaskException
-
Uses of InvalidTaskException in com.github.workerframework.api
Methods in com.github.workerframework.api with parameters of type InvalidTaskExceptionModifier and TypeMethodDescriptionvoid
WorkerTask.setResponse
(InvalidTaskException invalidTaskException) Used by the Worker to declare that the task is not validMethods in com.github.workerframework.api that throw InvalidTaskExceptionModifier and TypeMethodDescriptionWorker.doWork()
Start the work on a task.default Worker
WorkerFactory.getWorker
(WorkerTaskData workerTask) default Worker
WorkerFactory.getWorker
(String classifier, int version, TaskStatus status, byte[] data, byte[] context, TrackingInfo tracking) Instantiate a new worker for given task datavoid
TaskCallback.registerNewTask
(TaskInformation taskInformation, byte[] taskData, Map<String, Object> headers) Announce to the worker core that a new task has been picked off the queue for processing. -
Uses of InvalidTaskException in com.github.workerframework.caf
Methods in com.github.workerframework.caf that throw InvalidTaskExceptionModifier and TypeMethodDescriptionprotected abstract Worker
AbstractWorkerFactory.createWorker
(T task, WorkerTaskData workerTaskData) Create a Worker instance.final Worker
AbstractWorkerFactory.getWorker
(WorkerTaskData workerTaskData) Verify that the incoming task has the right type and is a version that can be handled.protected final T
AbstractWorkerFactory.verifyWorkerTask
(WorkerTask workerTask) Verify that the specified worker task has the right type and is a version that can be handled.Constructors in com.github.workerframework.caf that throw InvalidTaskExceptionModifierConstructorDescriptionAbstractWorker
(T task, String resultQueue, Codec codec, WorkerTaskData workerTaskData) Create a Worker.