public interface TaskRunner<T extends TaskModel>
| Modifier and Type | Method and Description |
|---|---|
void |
handleError(TaskService taskService,
T task,
java.lang.Throwable error) |
default TaskLoggingCtx |
initLoggingCtx(T task) |
default boolean |
isLoggingSupported() |
void |
run(TaskService taskService,
T task) |
default void |
stopLoggingCtx(TaskLoggingCtx taskCtx) |
void run(TaskService taskService, T task) throws RetryLaterException
RetryLaterExceptionvoid handleError(TaskService taskService, T task, java.lang.Throwable error)
default boolean isLoggingSupported()
default TaskLoggingCtx initLoggingCtx(T task)
default void stopLoggingCtx(TaskLoggingCtx taskCtx)
Copyright © 2018 SAP SE. All Rights Reserved.