| Constructor and Description |
|---|
ExchangeLatchManager(GridKernalContext ctx)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Latch |
getOrCreate(String id,
AffinityTopologyVersion topVer)
Creates new latch with specified
id and topVer or returns existing latch. |
String |
toString() |
public ExchangeLatchManager(GridKernalContext ctx)
ctx - Kernal context.public Latch getOrCreate(String id, AffinityTopologyVersion topVer)
id and topVer or returns existing latch.
Participants of latch are calculated from given topVer as alive server nodes.
If local node is coordinator ServerLatch instance will be created, otherwise ClientLatch instance.id - Latch id.topVer - Latch topology version.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018