Class GridServiceDeploymentCompoundFuture<T extends Serializable>

    • Constructor Detail

      • GridServiceDeploymentCompoundFuture

        public GridServiceDeploymentCompoundFuture()
    • Method Detail

      • onDone

        protected boolean onDone​(@Nullable
                                 @Nullable Object res,
                                 @Nullable
                                 @Nullable Throwable err,
                                 boolean cancel)
        Overrides:
        onDone in class GridFutureAdapter<Object>
        Parameters:
        res - Result.
        err - Error.
        cancel - True if future is being cancelled.
        Returns:
        True if result was set by this call.
      • add

        public void add​(GridServiceDeploymentFuture<T> fut,
                        boolean own)
        Parameters:
        fut - Child future.
        own - If true, then corresponding service will be cancelled on failure.
      • servicesToRollback

        public Collection<T> servicesToRollback()
        Returns:
        Collection of ids of services that were written to cache during current deployment.