public class IndexRebuildFutureStorage extends Object
| Constructor and Description |
|---|
IndexRebuildFutureStorage() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelRebuildIndexesOnExchange(Set<Integer> cacheIds,
AffinityTopologyVersion topVer)
Canceling index rebuilding for caches on the exchange.
|
@Nullable GridFutureAdapter<Void> |
indexRebuildFuture(int cacheId)
Getting index rebuild future for the cache.
|
void |
onFinishRebuildIndexes(int cacheId,
@Nullable Throwable err)
Callback on finish of rebuilding indexes for the cache.
|
Set<Integer> |
prepareRebuildIndexes(Set<Integer> cacheIds,
@Nullable AffinityTopologyVersion topVer)
Preparing futures of rebuilding indexes for caches.
|
boolean |
rebuildIndexesOnExchange(int cacheId,
AffinityTopologyVersion topVer)
Checks that the indexes need to be rebuilt on the exchange.
|
@Nullable public @Nullable GridFutureAdapter<Void> indexRebuildFuture(int cacheId)
cacheId - Cache id.null if not.public boolean rebuildIndexesOnExchange(int cacheId,
AffinityTopologyVersion topVer)
cacheId - Cache id.topVer - Topology version.True if need to rebuild.public void cancelRebuildIndexesOnExchange(Set<Integer> cacheIds, AffinityTopologyVersion topVer)
cacheIds - Cache ids.topVer - Topology version.public Set<Integer> prepareRebuildIndexes(Set<Integer> cacheIds, @Nullable @Nullable AffinityTopologyVersion topVer)
cacheIds - Cache ids.topVer - Topology version if rebuilding indexes should be on exchange.public void onFinishRebuildIndexes(int cacheId,
@Nullable
@Nullable Throwable err)
cacheId - Cache id.err - Error.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021