isOK
boolean isOK(java.lang.Object result)
This is the Supervisor callback function. A worker has finished its work, then the
supervisor checks if the work is satisfactory. for example, there is no a duplicate
in the database. If the result is satisfactory the callback function must return true
if the callback function returns false the ResolversPool continues with the next
worker for the same role.
- Parameters:
result - the result
- Returns:
- true, if is ok