Package org.redisson.api.executor
Interface TaskSuccessListener
- All Superinterfaces:
EventListener
,TaskListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Task listener invoked when task was succeeded
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescription<T> void
onSucceeded
(String taskId, T result) Invoked when task was succeeded
-
Method Details
-
onSucceeded
Invoked when task was succeeded- Parameters:
taskId
- - id of taskresult
- - result of task
-