Class SnapshotFinishedFutureTask

    • Constructor Detail

      • SnapshotFinishedFutureTask

        public SnapshotFinishedFutureTask​(IgniteCheckedException e)
        Parameters:
        e - Finished snapshot task future with particular exception.
    • Method Detail

      • start

        public boolean start()
        Initiates snapshot task.
        Returns:
        true if task started by this call.
      • acceptException

        public void acceptException​(Throwable th)
        Parameters:
        th - An exception which occurred during snapshot processing.
      • snapshotName

        public String snapshotName()
        Returns:
        Snapshot name.
      • sourceNodeId

        public UUID sourceNodeId()
        Returns:
        Node id which triggers this operation.
      • requestId

        public UUID requestId()
        Returns:
        Snapshot operation request ID.
      • affectedCacheGroups

        public Set<Integer> affectedCacheGroups()
        Returns:
        Set of cache groups included into snapshot operation.
      • cancel

        public boolean cancel()
        Default no-op implementation that always returns false. Futures that do support cancellation should override this method and call GridFutureAdapter.onCancelled() callback explicitly if cancellation indeed did happen.
        Specified by:
        cancel in interface IgniteInternalFuture<T>
        Overrides:
        cancel in class GridFutureAdapter<T>
        Returns:
        True if future was canceled (i.e. was not finished prior to this call).