public class LatchTaskRunner extends java.lang.Object implements TaskRunner<TaskModel>
| Constructor and Description |
|---|
LatchTaskRunner() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleError(TaskService service,
TaskModel task,
java.lang.Throwable fault) |
void |
run(TaskService service,
TaskModel task) |
void |
setLatch(java.util.concurrent.CountDownLatch latch) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitLoggingCtx, isLoggingSupported, stopLoggingCtxpublic void handleError(TaskService service, TaskModel task, java.lang.Throwable fault)
handleError in interface TaskRunner<TaskModel>public void run(TaskService service, TaskModel task) throws RetryLaterException
run in interface TaskRunner<TaskModel>RetryLaterExceptionpublic void setLatch(java.util.concurrent.CountDownLatch latch)
Copyright © 2018 SAP SE. All Rights Reserved.