use of org.apache.ignite.internal.processors.cache.distributed.near.consistency.GridCompoundReadRepairFuture in project ignite by apache.
the class GridCacheAdapter method repairAsync.
/**
* Checks the given {@code keys} and repairs entries across the topology if needed.
*
* @param keys Keys.
* @param opCtx Operation context.
* @param skipVals Skip values flag.
* @return Compound future that represents a result of repair action.
*/
private IgniteInternalFuture<Void> repairAsync(Collection<KeyCacheObject> keys, final CacheOperationContext opCtx, boolean skipVals) {
GridCompoundReadRepairFuture fut = new GridCompoundReadRepairFuture();
for (KeyCacheObject key : keys) fut.add(repairAsync(key, opCtx, skipVals));
fut.markInitialized();
return fut;
}
Aggregations