Class ResultVoidingFuture

java.lang.Object
com.github.mizool.core.concurrent.ResultVoidingFuture
All Implemented Interfaces:
com.google.common.util.concurrent.ListenableFuture<Void>, Future<Void>

@Deprecated(since="0.41") public class ResultVoidingFuture extends Object implements com.google.common.util.concurrent.ListenableFuture<Void>
Deprecated.
Use the factory method Futures.toVoidResult(ListenableFuture) instead. This class will cease to be public at some point.
Transforms any ListenableFuture into a ListenableFuture without result. Exceptions that are thrown by the original future are handled transparently.

Note that the reference to the original future is discarded as soon as possible. That allows to reduce the overall memory footprint when working with multiple futures at once without caring for the results.