Class FinishPreloadingTask
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.AbstractCachePartitionExchangeWorkerTask
-
- org.apache.ignite.internal.processors.cache.distributed.dht.preloader.FinishPreloadingTask
-
- All Implemented Interfaces:
CachePartitionExchangeWorkerTask
public class FinishPreloadingTask extends AbstractCachePartitionExchangeWorkerTask
A task for finishing preloading future in exchange worker thread.
-
-
Constructor Summary
Constructors Constructor Description FinishPreloadingTask(SecurityContext secCtx, AffinityTopologyVersion topVer, int grpId, long rebalanceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgroupId()longrebalanceId()booleanskipForExchangeMerge()AffinityTopologyVersiontopologyVersion()-
Methods inherited from class org.apache.ignite.internal.processors.cache.AbstractCachePartitionExchangeWorkerTask
securityContext
-
-
-
-
Constructor Detail
-
FinishPreloadingTask
public FinishPreloadingTask(SecurityContext secCtx, AffinityTopologyVersion topVer, int grpId, long rebalanceId)
- Parameters:
secCtx- Security context in which current task must be executed.topVer- Topology version.
-
-
Method Detail
-
skipForExchangeMerge
public boolean skipForExchangeMerge()
- Returns:
Falseif exchange merge should stop if this task is found in exchange worker queue.
-
topologyVersion
public AffinityTopologyVersion topologyVersion()
- Returns:
- Topology version.
-
groupId
public int groupId()
- Returns:
- Group id.
-
rebalanceId
public long rebalanceId()
- Returns:
- Rebalance id.
-
-