public class GridNearReadRepairFuture extends GridNearReadRepairAbstractFuture
GridNearReadRepairAbstractFuture.ByteArrayWrapperctx, deserializeBinary, expiryPlc, futs, keys, MAX_REMAP_CNT, primaries, readThrough, recovery, remapCnt, strategy, taskName, tx| Constructor and Description |
|---|
GridNearReadRepairFuture(AffinityTopologyVersion topVer,
GridCacheContext ctx,
Collection<KeyCacheObject> keys,
ReadRepairStrategy strategy,
boolean readThrough,
String taskName,
boolean deserializeBinary,
boolean recovery,
IgniteCacheExpiryPolicy expiryPlc,
IgniteInternalTx tx)
Creates a new instance of GridNearReadRepairFuture.
|
| Modifier and Type | Method and Description |
|---|---|
Map<KeyCacheObject,EntryGetResult> |
fixWithLww(Set<KeyCacheObject> inconsistentKeys) |
Map<KeyCacheObject,EntryGetResult> |
fixWithMajority(Collection<KeyCacheObject> inconsistentKeys) |
Map<KeyCacheObject,EntryGetResult> |
fixWithPrimary(Collection<KeyCacheObject> inconsistentKeys) |
Map<KeyCacheObject,EntryGetResult> |
fixWithRemove(Collection<KeyCacheObject> inconsistentKeys) |
protected void |
reduce()
Reduces fut's results.
|
protected GridNearReadRepairAbstractFuture |
remapFuture(AffinityTopologyVersion topVer) |
check, onResult, recordConsistencyViolation, remapcancel, chain, chain, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onCancelled, onDone, onDone, onDone, onDone, onDone, reset, result, toStringpublic GridNearReadRepairFuture(AffinityTopologyVersion topVer, GridCacheContext ctx, Collection<KeyCacheObject> keys, ReadRepairStrategy strategy, boolean readThrough, String taskName, boolean deserializeBinary, boolean recovery, IgniteCacheExpiryPolicy expiryPlc, IgniteInternalTx tx)
topVer - Affinity topology version.ctx - Cache context.keys - Keys.strategy - Read repair strategy.readThrough - Read-through flag.taskName - Task name.deserializeBinary - Deserialize binary flag.recovery - Partition recovery flag.expiryPlc - Expiry policy.tx - Transaction.protected GridNearReadRepairAbstractFuture remapFuture(AffinityTopologyVersion topVer)
remapFuture in class GridNearReadRepairAbstractFuturetopVer - Topology version.protected void reduce()
reduce in class GridNearReadRepairAbstractFuturepublic Map<KeyCacheObject,EntryGetResult> fixWithLww(Set<KeyCacheObject> inconsistentKeys) throws IgniteCheckedException
IgniteCheckedExceptionpublic Map<KeyCacheObject,EntryGetResult> fixWithPrimary(Collection<KeyCacheObject> inconsistentKeys)
public Map<KeyCacheObject,EntryGetResult> fixWithRemove(Collection<KeyCacheObject> inconsistentKeys)
public Map<KeyCacheObject,EntryGetResult> fixWithMajority(Collection<KeyCacheObject> inconsistentKeys) throws IgniteCheckedException
IgniteCheckedException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.13.0 Release Date : April 20 2022