| Modifier and Type | Field and Description |
|---|---|
static IgniteProductVersion |
PROTOCOL_V2_VERSION_SINCE
Exchange latch V2 protocol introduces following optimization:
Joining nodes are explicitly excluded from possible latch participants.
|
| Constructor and Description |
|---|
ExchangeLatchManager(GridKernalContext ctx)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSkipJoiningNodes(AffinityTopologyVersion topVer)
Checks that latch manager can use V2 protocol and skip joining nodes from latch participants.
|
Latch |
getOrCreate(String id,
AffinityTopologyVersion topVer)
Creates new latch with specified
id and topVer or returns existing latch. |
String |
toString() |
public static final IgniteProductVersion PROTOCOL_V2_VERSION_SINCE
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.public boolean canSkipJoiningNodes(AffinityTopologyVersion topVer)
topVer - Topology version.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019