This method will be invoked once when/if the Future this recover callback is registered on becomes completed with a failure.
This method will be invoked once when/if the Future this recover callback is registered on becomes completed with a failure.
a successful value for the passed in failure Throws the passed in failure to propagate it. Java API
Callback for the Future.recover operation that conditionally turns failures into successes.
SAM (Single Abstract Method) class
Java API