public class PartitionReservationManager extends Object implements PartitionsExchangeAware
| Constructor and Description |
|---|
PartitionReservationManager(GridKernalContext ctx)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onCacheStop(String cacheName) |
void |
onDoneAfterTopologyUnlock(GridDhtPartitionsExchangeFuture fut)
Cleanup group reservations cache on change affinity version.
|
PartitionReservation |
reservePartitions(@Nullable List<Integer> cacheIds,
AffinityTopologyVersion reqTopVer,
int[] explicitParts,
UUID nodeId,
long reqId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonDoneBeforeTopologyUnlock, onInitAfterTopologyLock, onInitBeforeTopologyLock, onPartitionStatesRestoredpublic PartitionReservationManager(GridKernalContext ctx)
ctx - Context.public PartitionReservation reservePartitions(@Nullable @Nullable List<Integer> cacheIds, AffinityTopologyVersion reqTopVer, int[] explicitParts, UUID nodeId, long reqId) throws IgniteCheckedException
cacheIds - Cache IDs.reqTopVer - Topology version from request.explicitParts - Explicit partitions list.nodeId - Node ID.reqId - Request ID.IgniteCheckedException - If failed.public void onCacheStop(String cacheName)
cacheName - Cache name.public void onDoneAfterTopologyUnlock(GridDhtPartitionsExchangeFuture fut)
onDoneAfterTopologyUnlock in interface PartitionsExchangeAware
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025