This method will be invoked once when/if a Future that this callback is registered on becomes successfully completed
This method will be invoked once when/if a Future that this callback is registered on becomes successfully completed
(Since version ) see corresponding Javadoc for more information.
Callback for the Future.foreach operation that will be invoked if the Future that this callback is registered on becomes completed with a success. This method is essentially the same operation as onSuccess.
SAM (Single Abstract Method) class Java API