public boolean addAll()

in core/src/main/java/org/apache/ignite/activestore/impl/transactions/JointTxScope.java [40:55]


    public boolean addAll(TransactionScopeIterator scopeIterator) {
        boolean disjoint = true;

        while (scopeIterator.hasNextCache()) {
            String cacheName = scopeIterator.nextCache();
            Set<Object> keys = keysPerCache.get(cacheName);

            while (scopeIterator.hasNextEntry()) {
                scopeIterator.advance();
                if (!keys.add(scopeIterator.getKey()) && disjoint) {
                    disjoint = false;
                }
            }
        }
        return disjoint;
    }