public abstract class TopologyLock extends Object
| Modifier and Type | Field and Description |
|---|---|
protected GridKernalContext |
ctx
Kernal context.
|
| Modifier | Constructor and Description |
|---|---|
protected |
TopologyLock(GridKernalContext ctx)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static TopologyLock |
forCaches(GridKernalContext ctx,
List<Integer> cacheIds)
Creates cache group topology locker for given caches ids.
|
abstract void |
lock()
Either locks all topologies or fails unlocking previously locked.
|
abstract void |
unlock()
Unlocked topologies that were previously locked.
|
protected final GridKernalContext ctx
protected TopologyLock(GridKernalContext ctx)
ctx - Kernal context.public static TopologyLock forCaches(GridKernalContext ctx, List<Integer> cacheIds)
ctx - Kernal context.cacheIds - Cache ids list.public abstract void lock()
public abstract void unlock()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025