Uses of Class
com.github.workerframework.api.TaskRejectedException
Packages that use TaskRejectedException
-
Uses of TaskRejectedException in com.github.workerframework.api
Methods in com.github.workerframework.api with parameters of type TaskRejectedExceptionModifier and TypeMethodDescriptionvoidWorkerTask.setResponse(TaskRejectedException taskRejectedException) Used by the Worker to reject the taskMethods in com.github.workerframework.api that throw TaskRejectedExceptionModifier 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 TaskRejectedException in com.github.workerframework.caf
Methods in com.github.workerframework.caf that throw TaskRejectedExceptionModifier 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.