Class LLCF

java.lang.Object
io.foldright.cffu.LLCF

public final class LLCF extends Object
Low Level CompletableFuture utility methods for manipulating CompletableFuture. This class is for library writers, the methods intended for end users are in the CompletableFutureUtils class.

In general, you should NEVER use this class, unless you understand the underlying logic of CompletableFuture and need hack it. Because the methods are Low Level, use below the method name convention intentionally:

  • methods with f_ prefix means not type-safe, e.g.
    • return type CompletableFuture that may be a minimal-stage
    • force cast to CompletableFuture<T> from any CompletableFuture<?>
    • return generic type T but constrained runtime type TupleX
  • methods with 0 suffix means no parameter validation, e.g.
    • no null check
Author:
Jerry Lee (oldratlee at gmail dot com)
See Also: