Class CountDownFuture

    • Constructor Detail

      • CountDownFuture

        public CountDownFuture​(int cnt)
        Parameters:
        cnt - Number of completing parties.
    • Method Detail

      • onDone

        public boolean onDone​(@Nullable
                              @Nullable Void res,
                              @Nullable
                              @Nullable Throwable err)
        Callback to notify that future is finished. Note that if non-null exception is passed in the result value will be ignored.
        Overrides:
        onDone in class GridFutureAdapter<Void>
        Parameters:
        res - Optional result.
        err - Optional error.
        Returns:
        True if result was set by this call.
      • afterDone

        protected void afterDone()