in core/src/main/java/org/apache/ignite/activestore/impl/transactions/JointTxScope.java [57:73]
public boolean intersects(TransactionScopeIterator scopeIterator) {
while (scopeIterator.hasNextCache()) {
String cacheName = scopeIterator.nextCache();
Set<Object> keys = keysPerCache.get(cacheName);
if (keys.isEmpty()) {
continue;
}
while (scopeIterator.hasNextEntry()) {
scopeIterator.advance();
if (keys.contains(scopeIterator.getKey())) {
return true;
}
}
}
return false;
}