public class GridServiceDeploymentCompoundFuture<T extends Serializable> extends GridCompoundFuture<Object,Object>
IgniteCheckedException with ServiceDeploymentException as a cause will be thrown from get() method after all futures complete or fail. Inner exception will contain
configurations of failed services.| Constructor and Description |
|---|
GridServiceDeploymentCompoundFuture() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(GridServiceDeploymentFuture<T> fut,
boolean own) |
protected boolean |
onDone(@Nullable Object res,
@Nullable Throwable err,
boolean cancel) |
protected boolean |
processFailure(Throwable err,
IgniteInternalFuture<Object> fut)
Processes error thrown by some of the inner futures.
|
Collection<T> |
servicesToRollback() |
add, apply, cancel, clear, future, futures, futuresCountNoLock, hasFutures, hasPending, ignoreFailure, initialized, logDebug, logError, markInitialized, toStringchain, chain, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onCancelled, onDone, onDone, onDone, onDone, reset, resultprotected boolean processFailure(Throwable err, IgniteInternalFuture<Object> fut)
processFailure in class GridCompoundFuture<Object,Object>err - Thrown exception.fut - Failed future.True if this error should be ignored.protected boolean onDone(@Nullable
@Nullable Object res,
@Nullable
@Nullable Throwable err,
boolean cancel)
onDone in class GridFutureAdapter<Object>res - Result.err - Error.cancel - True if future is being cancelled.True if result was set by this call.public void add(GridServiceDeploymentFuture<T> fut, boolean own)
fut - Child future.own - If true, then corresponding service will be cancelled on failure.public Collection<T> servicesToRollback()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020