Class GridDhtForceKeysFuture<K,​V>

    • Method Detail

      • futureId

        public IgniteUuid futureId()
        Returns:
        Future ID.
      • invalidPartitions

        public Collection<Integer> invalidPartitions()
        Node that future should be able to provide keys to retry before it completes, so it's not necessary to wait till future is done to get retry keys.
        Specified by:
        invalidPartitions in interface GridDhtFuture<K>
        Returns:
        Keys to retry because this node is no longer a primary or backup.
      • onDone

        public boolean onDone​(@Nullable
                              @Nullable Collection<K> 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<Collection<K>>
        Parameters:
        res - Optional result.
        err - Optional error.
        Returns:
        True if result was set by this call.
      • onDiscoveryEvent

        public void onDiscoveryEvent​(DiscoveryEvent evt)
        Parameters:
        evt - Discovery event.
      • init

        public void init()
        Initializes this future.