Class SchemaIndexCacheCompoundFuture
- java.lang.Object
-
- org.apache.ignite.internal.util.future.GridFutureAdapter<R>
-
- org.apache.ignite.internal.util.future.GridCompoundFuture<SchemaIndexCacheStat,SchemaIndexCacheStat>
-
- org.apache.ignite.internal.processors.query.schema.SchemaIndexCacheCompoundFuture
-
- All Implemented Interfaces:
Serializable,IgniteInternalFuture<SchemaIndexCacheStat>,IgniteInClosure<IgniteInternalFuture<SchemaIndexCacheStat>>
public class SchemaIndexCacheCompoundFuture extends GridCompoundFuture<SchemaIndexCacheStat,SchemaIndexCacheStat>
Compound index rebuilding feature. Waits for all internal features to complete, even if they throw exceptions. In this case,error()will return the first thrown exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SchemaIndexCacheCompoundFuture()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwableerror()protected booleanignoreFailure(Throwable err)Checks if this compound future should ignore this particular exception.-
Methods inherited from class org.apache.ignite.internal.util.future.GridCompoundFuture
add, apply, cancel, clear, compoundsLockedExclusively, compoundsReadLock, compoundsReadUnlock, future, futures, futuresCountNoLock, hasFutures, hasPending, initialized, logDebug, logError, markInitialized, processFailure, toString
-
Methods inherited from class org.apache.ignite.internal.util.future.GridFutureAdapter
chain, chain, chain, chain, chainCompose, chainCompose, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, listen, logger, onCancelled, onDone, onDone, onDone, onDone, onDone, reset, result
-
-
-
-
Method Detail
-
ignoreFailure
protected boolean ignoreFailure(Throwable err)
Checks if this compound future should ignore this particular exception.- Overrides:
ignoreFailurein classGridCompoundFuture<SchemaIndexCacheStat,SchemaIndexCacheStat>- Parameters:
err- Exception to check.- Returns:
Trueif this error should be ignored.
-
error
public Throwable error()
- Specified by:
errorin interfaceIgniteInternalFuture<SchemaIndexCacheStat>- Overrides:
errorin classGridFutureAdapter<SchemaIndexCacheStat>- Returns:
- Error value if future has already been completed with error.
-
-