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 TypeMethodDescriptionvoidWorkerTask.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 WorkerWorkerFactory.getWorker(WorkerTaskData workerTask) default WorkerWorkerFactory.getWorker(String classifier, int version, TaskStatus status, byte[] data, byte[] context, TrackingInfo tracking) Instantiate a new worker for given task datavoidTaskCallback.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 WorkerAbstractWorkerFactory.createWorker(T task, WorkerTaskData workerTaskData) Create a Worker instance.final WorkerAbstractWorkerFactory.getWorker(WorkerTaskData workerTaskData) Verify that the incoming task has the right type and is a version that can be handled.protected final TAbstractWorkerFactory.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.