Interface CheckedFuture<V,​E extends Exception>

  • All Superinterfaces:
    Future<V>, com.google.common.util.concurrent.ListenableFuture<V>
    All Known Implementing Classes:
    AbstractCheckedFuture, CheckedFutureTransformer, ImmediateFuture

    public interface CheckedFuture<V,​E extends Exception>
    extends com.google.common.util.concurrent.ListenableFuture<V>
    Extends ListenableFuture and adds checkedGet() methods which simplify Future's error handling. This interface is a replacement for Google's deprecated CheckedFuture.
    Author:
    Eyal Schneider