Interface SimpleTask<T>
-
- Type Parameters:
T
- Type defining response after executing the task.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SimpleTask<T>
Interface that should be implemented by users of task reactor and passed over toSimpleTaskWorker
instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
execute(WorkItem workItem)
Method used for performing simple tasks defined by user.
-