Interface Callback<P,R>
- Type Parameters:
P
- the type of the callback parameterR
- the type of the callback result
public interface Callback<P,R>
Represents a callback which should be called after work was done. This interface is similar to the
Callable
interface, with the exception that the callback method does not throw any
catching exception. Without this restriction the caller does not have to catch any exception.- Author:
- Christopher Zell <christopher.zell@camunda.com>
-
Method Summary
-
Method Details
-
callback
The callback which should be called/executed after work was done.- Parameters:
param
- the parameter for the callback- Returns:
- the result of the callback
-