Class ForceRebalanceExchangeTask
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.AbstractCachePartitionExchangeWorkerTask
-
- org.apache.ignite.internal.processors.cache.distributed.dht.preloader.ForceRebalanceExchangeTask
-
- All Implemented Interfaces:
CachePartitionExchangeWorkerTask
public class ForceRebalanceExchangeTask extends AbstractCachePartitionExchangeWorkerTask
-
-
Constructor Summary
Constructors Constructor Description ForceRebalanceExchangeTask(SecurityContext secCtx, GridDhtPartitionExchangeId exchId, GridCompoundFuture<Boolean,Boolean> forcedRebFut)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GridDhtPartitionExchangeIdexchangeId()GridCompoundFuture<Boolean,Boolean>forcedRebalanceFuture()booleanskipForExchangeMerge()-
Methods inherited from class org.apache.ignite.internal.processors.cache.AbstractCachePartitionExchangeWorkerTask
securityContext
-
-
-
-
Constructor Detail
-
ForceRebalanceExchangeTask
public ForceRebalanceExchangeTask(SecurityContext secCtx, GridDhtPartitionExchangeId exchId, GridCompoundFuture<Boolean,Boolean> forcedRebFut)
- Parameters:
secCtx- Security context in which current task must be executed.exchId- Exchange ID.forcedRebFut- Rebalance future.
-
-
Method Detail
-
skipForExchangeMerge
public boolean skipForExchangeMerge()
- Returns:
Falseif exchange merge should stop if this task is found in exchange worker queue.
-
exchangeId
public GridDhtPartitionExchangeId exchangeId()
- Returns:
- Exchange ID.
-
forcedRebalanceFuture
public GridCompoundFuture<Boolean,Boolean> forcedRebalanceFuture()
- Returns:
- Rebalance future.
-
-