Search in sources :

Example 1 with TransactionAlreadyCompletedException

use of org.apache.ignite.transactions.TransactionAlreadyCompletedException in project ignite by apache.

the class TxRollbackOnIncorrectParamsTest method testLabelFilledRemoteGuarantee.

/**
 */
@Test
public void testLabelFilledRemoteGuarantee() throws Exception {
    Ignite ignite = startGrid(0);
    Ignite remote = startGrid(1);
    IgniteCache cacheLocal = ignite.getOrCreateCache(defaultCacheConfiguration());
    IgniteCache cacheRemote = remote.getOrCreateCache(defaultCacheConfiguration());
    ignite.events().remoteListen(null, (IgnitePredicate<Event>) e -> {
        assert e instanceof TransactionStateChangedEvent;
        TransactionStateChangedEvent evt = (TransactionStateChangedEvent) e;
        Transaction tx = evt.tx();
        if (tx.label() == null)
            tx.setRollbackOnly();
        return true;
    }, EVT_TX_STARTED);
    try (Transaction tx = ignite.transactions().withLabel("test").txStart()) {
        cacheLocal.put(1, 1);
        tx.commit();
    }
    try (Transaction tx = remote.transactions().withLabel("test").txStart()) {
        cacheRemote.put(1, 2);
        tx.commit();
    }
    try (Transaction tx = ignite.transactions().txStart()) {
        cacheLocal.put(1, 3);
        tx.commit();
        fail("Should fail prior this line.");
    } catch (CacheException ex) {
        if (MvccFeatureChecker.forcedMvcc())
            assertTrue(ex.toString(), ex.getCause() instanceof TransactionAlreadyCompletedException);
        else
            assertTrue(ex.toString(), ex.getCause() instanceof TransactionRollbackException);
    }
    try (Transaction tx = remote.transactions().txStart()) {
        cacheRemote.put(1, 4);
        tx.commit();
        fail("Should fail prior this line.");
    } catch (CacheException ex) {
        if (MvccFeatureChecker.forcedMvcc())
            assertTrue(ex.toString(), ex.getCause() instanceof TransactionAlreadyCompletedException);
        else
            assertTrue(ex.toString(), ex.getCause() instanceof TransactionRollbackException);
    }
}
Also used : TransactionIsolation(org.apache.ignite.transactions.TransactionIsolation) IgniteBiPredicate(org.apache.ignite.lang.IgniteBiPredicate) GridCommonAbstractTest(org.apache.ignite.testframework.junits.common.GridCommonAbstractTest) EventType(org.apache.ignite.events.EventType) IgniteException(org.apache.ignite.IgniteException) Event(org.apache.ignite.events.Event) Transaction(org.apache.ignite.transactions.Transaction) TransactionConcurrency(org.apache.ignite.transactions.TransactionConcurrency) AtomicBoolean(java.util.concurrent.atomic.AtomicBoolean) TransactionAlreadyCompletedException(org.apache.ignite.transactions.TransactionAlreadyCompletedException) Test(org.junit.Test) EVT_TX_STARTED(org.apache.ignite.events.EventType.EVT_TX_STARTED) UUID(java.util.UUID) Ignite(org.apache.ignite.Ignite) IgniteCache(org.apache.ignite.IgniteCache) GridTestUtils(org.apache.ignite.testframework.GridTestUtils) TransactionRollbackException(org.apache.ignite.transactions.TransactionRollbackException) IgniteConfiguration(org.apache.ignite.configuration.IgniteConfiguration) IgnitePredicate(org.apache.ignite.lang.IgnitePredicate) MvccFeatureChecker(org.apache.ignite.testframework.MvccFeatureChecker) TransactionStateChangedEvent(org.apache.ignite.events.TransactionStateChangedEvent) CacheException(javax.cache.CacheException) Transaction(org.apache.ignite.transactions.Transaction) CacheException(javax.cache.CacheException) IgniteCache(org.apache.ignite.IgniteCache) Event(org.apache.ignite.events.Event) TransactionStateChangedEvent(org.apache.ignite.events.TransactionStateChangedEvent) Ignite(org.apache.ignite.Ignite) TransactionAlreadyCompletedException(org.apache.ignite.transactions.TransactionAlreadyCompletedException) TransactionRollbackException(org.apache.ignite.transactions.TransactionRollbackException) TransactionStateChangedEvent(org.apache.ignite.events.TransactionStateChangedEvent) GridCommonAbstractTest(org.apache.ignite.testframework.junits.common.GridCommonAbstractTest) Test(org.junit.Test)

Example 2 with TransactionAlreadyCompletedException

use of org.apache.ignite.transactions.TransactionAlreadyCompletedException in project ignite by apache.

the class TxRollbackOnIncorrectParamsTest method testLabelFilledLocalGuarantee.

/**
 */
@Test
public void testLabelFilledLocalGuarantee() throws Exception {
    Ignite ignite = startGrid(0);
    ignite.events().localListen((IgnitePredicate<Event>) e -> {
        assert e instanceof TransactionStateChangedEvent;
        TransactionStateChangedEvent evt = (TransactionStateChangedEvent) e;
        Transaction tx = evt.tx();
        if (tx.label() == null)
            tx.setRollbackOnly();
        return true;
    }, EVT_TX_STARTED);
    IgniteCache cache = ignite.getOrCreateCache(defaultCacheConfiguration());
    try (Transaction tx = ignite.transactions().withLabel("test").txStart()) {
        cache.put(1, 1);
        tx.commit();
    }
    try (Transaction tx = ignite.transactions().txStart()) {
        cache.put(1, 2);
        tx.commit();
        fail("Should fail prior this line.");
    } catch (CacheException ex) {
        if (MvccFeatureChecker.forcedMvcc())
            assertTrue(ex.toString(), ex.getCause() instanceof TransactionAlreadyCompletedException);
        else
            assertTrue(ex.toString(), ex.getCause() instanceof TransactionRollbackException);
    }
}
Also used : TransactionIsolation(org.apache.ignite.transactions.TransactionIsolation) IgniteBiPredicate(org.apache.ignite.lang.IgniteBiPredicate) GridCommonAbstractTest(org.apache.ignite.testframework.junits.common.GridCommonAbstractTest) EventType(org.apache.ignite.events.EventType) IgniteException(org.apache.ignite.IgniteException) Event(org.apache.ignite.events.Event) Transaction(org.apache.ignite.transactions.Transaction) TransactionConcurrency(org.apache.ignite.transactions.TransactionConcurrency) AtomicBoolean(java.util.concurrent.atomic.AtomicBoolean) TransactionAlreadyCompletedException(org.apache.ignite.transactions.TransactionAlreadyCompletedException) Test(org.junit.Test) EVT_TX_STARTED(org.apache.ignite.events.EventType.EVT_TX_STARTED) UUID(java.util.UUID) Ignite(org.apache.ignite.Ignite) IgniteCache(org.apache.ignite.IgniteCache) GridTestUtils(org.apache.ignite.testframework.GridTestUtils) TransactionRollbackException(org.apache.ignite.transactions.TransactionRollbackException) IgniteConfiguration(org.apache.ignite.configuration.IgniteConfiguration) IgnitePredicate(org.apache.ignite.lang.IgnitePredicate) MvccFeatureChecker(org.apache.ignite.testframework.MvccFeatureChecker) TransactionStateChangedEvent(org.apache.ignite.events.TransactionStateChangedEvent) CacheException(javax.cache.CacheException) Transaction(org.apache.ignite.transactions.Transaction) CacheException(javax.cache.CacheException) IgniteCache(org.apache.ignite.IgniteCache) Event(org.apache.ignite.events.Event) TransactionStateChangedEvent(org.apache.ignite.events.TransactionStateChangedEvent) Ignite(org.apache.ignite.Ignite) TransactionAlreadyCompletedException(org.apache.ignite.transactions.TransactionAlreadyCompletedException) TransactionRollbackException(org.apache.ignite.transactions.TransactionRollbackException) TransactionStateChangedEvent(org.apache.ignite.events.TransactionStateChangedEvent) GridCommonAbstractTest(org.apache.ignite.testframework.junits.common.GridCommonAbstractTest) Test(org.junit.Test)

Example 3 with TransactionAlreadyCompletedException

use of org.apache.ignite.transactions.TransactionAlreadyCompletedException in project ignite by apache.

the class TxRollbackOnIncorrectParamsTest method testTimeoutSetRemoteGuarantee.

/**
 */
@Test
public void testTimeoutSetRemoteGuarantee() throws Exception {
    Ignite ignite = startGrid(0);
    Ignite remote = startGrid(1);
    IgniteCache cacheLocal = ignite.getOrCreateCache(defaultCacheConfiguration());
    IgniteCache cacheRemote = remote.getOrCreateCache(defaultCacheConfiguration());
    ignite.events().remoteListen(null, (IgnitePredicate<Event>) e -> {
        assert e instanceof TransactionStateChangedEvent;
        TransactionStateChangedEvent evt = (TransactionStateChangedEvent) e;
        Transaction tx = evt.tx();
        if (tx.timeout() == 0)
            tx.setRollbackOnly();
        return true;
    }, EVT_TX_STARTED);
    try (Transaction tx = ignite.transactions().txStart(TransactionConcurrency.PESSIMISTIC, TransactionIsolation.REPEATABLE_READ, 100, 2)) {
        cacheLocal.put(1, 1);
        tx.commit();
    }
    try (Transaction tx = remote.transactions().txStart(TransactionConcurrency.PESSIMISTIC, TransactionIsolation.REPEATABLE_READ, 100, 2)) {
        cacheRemote.put(1, 2);
        tx.commit();
    }
    try (Transaction tx = ignite.transactions().txStart()) {
        cacheLocal.put(1, 3);
        tx.commit();
        fail("Should fail prior this line.");
    } catch (CacheException ex) {
        if (MvccFeatureChecker.forcedMvcc())
            assertTrue(ex.toString(), ex.getCause() instanceof TransactionAlreadyCompletedException);
        else
            assertTrue(ex.toString(), ex.getCause() instanceof TransactionRollbackException);
    }
    try (Transaction tx = remote.transactions().txStart()) {
        cacheRemote.put(1, 4);
        tx.commit();
        fail("Should fail prior this line.");
    } catch (CacheException ex) {
        if (MvccFeatureChecker.forcedMvcc())
            assertTrue(ex.toString(), ex.getCause() instanceof TransactionAlreadyCompletedException);
        else
            assertTrue(ex.toString(), ex.getCause() instanceof TransactionRollbackException);
    }
}
Also used : TransactionIsolation(org.apache.ignite.transactions.TransactionIsolation) IgniteBiPredicate(org.apache.ignite.lang.IgniteBiPredicate) GridCommonAbstractTest(org.apache.ignite.testframework.junits.common.GridCommonAbstractTest) EventType(org.apache.ignite.events.EventType) IgniteException(org.apache.ignite.IgniteException) Event(org.apache.ignite.events.Event) Transaction(org.apache.ignite.transactions.Transaction) TransactionConcurrency(org.apache.ignite.transactions.TransactionConcurrency) AtomicBoolean(java.util.concurrent.atomic.AtomicBoolean) TransactionAlreadyCompletedException(org.apache.ignite.transactions.TransactionAlreadyCompletedException) Test(org.junit.Test) EVT_TX_STARTED(org.apache.ignite.events.EventType.EVT_TX_STARTED) UUID(java.util.UUID) Ignite(org.apache.ignite.Ignite) IgniteCache(org.apache.ignite.IgniteCache) GridTestUtils(org.apache.ignite.testframework.GridTestUtils) TransactionRollbackException(org.apache.ignite.transactions.TransactionRollbackException) IgniteConfiguration(org.apache.ignite.configuration.IgniteConfiguration) IgnitePredicate(org.apache.ignite.lang.IgnitePredicate) MvccFeatureChecker(org.apache.ignite.testframework.MvccFeatureChecker) TransactionStateChangedEvent(org.apache.ignite.events.TransactionStateChangedEvent) CacheException(javax.cache.CacheException) Transaction(org.apache.ignite.transactions.Transaction) CacheException(javax.cache.CacheException) IgniteCache(org.apache.ignite.IgniteCache) Event(org.apache.ignite.events.Event) TransactionStateChangedEvent(org.apache.ignite.events.TransactionStateChangedEvent) Ignite(org.apache.ignite.Ignite) TransactionAlreadyCompletedException(org.apache.ignite.transactions.TransactionAlreadyCompletedException) TransactionRollbackException(org.apache.ignite.transactions.TransactionRollbackException) TransactionStateChangedEvent(org.apache.ignite.events.TransactionStateChangedEvent) GridCommonAbstractTest(org.apache.ignite.testframework.junits.common.GridCommonAbstractTest) Test(org.junit.Test)

Example 4 with TransactionAlreadyCompletedException

use of org.apache.ignite.transactions.TransactionAlreadyCompletedException in project ignite by apache.

the class IgniteUtils method exceptionConverters.

/**
 * Gets map with converters to convert internal checked exceptions to public API unchecked exceptions.
 *
 * @return Exception converters.
 */
private static Map<Class<? extends IgniteCheckedException>, C1<IgniteCheckedException, IgniteException>> exceptionConverters() {
    Map<Class<? extends IgniteCheckedException>, C1<IgniteCheckedException, IgniteException>> m = new HashMap<>();
    m.put(IgniteInterruptedCheckedException.class, new C1<IgniteCheckedException, IgniteException>() {

        @Override
        public IgniteException apply(IgniteCheckedException e) {
            return new IgniteInterruptedException(e.getMessage(), (InterruptedException) e.getCause());
        }
    });
    m.put(IgniteFutureCancelledCheckedException.class, new C1<IgniteCheckedException, IgniteException>() {

        @Override
        public IgniteException apply(IgniteCheckedException e) {
            return new IgniteFutureCancelledException(e.getMessage(), e);
        }
    });
    m.put(IgniteFutureTimeoutCheckedException.class, new C1<IgniteCheckedException, IgniteException>() {

        @Override
        public IgniteException apply(IgniteCheckedException e) {
            return new IgniteFutureTimeoutException(e.getMessage(), e);
        }
    });
    m.put(ClusterGroupEmptyCheckedException.class, new C1<IgniteCheckedException, IgniteException>() {

        @Override
        public IgniteException apply(IgniteCheckedException e) {
            return new ClusterGroupEmptyException(e.getMessage(), e);
        }
    });
    m.put(ClusterTopologyCheckedException.class, new C1<IgniteCheckedException, IgniteException>() {

        @Override
        public IgniteException apply(IgniteCheckedException e) {
            ClusterTopologyException topEx = new ClusterTopologyException(e.getMessage(), e);
            ClusterTopologyCheckedException checked = (ClusterTopologyCheckedException) e;
            if (checked.retryReadyFuture() != null)
                topEx.retryReadyFuture(new IgniteFutureImpl<>(checked.retryReadyFuture()));
            return topEx;
        }
    });
    m.put(IgniteDeploymentCheckedException.class, new C1<IgniteCheckedException, IgniteException>() {

        @Override
        public IgniteException apply(IgniteCheckedException e) {
            return new IgniteDeploymentException(e.getMessage(), e);
        }
    });
    m.put(ComputeTaskTimeoutCheckedException.class, new C1<IgniteCheckedException, IgniteException>() {

        @Override
        public IgniteException apply(IgniteCheckedException e) {
            return new ComputeTaskTimeoutException(e.getMessage(), e);
        }
    });
    m.put(ComputeTaskCancelledCheckedException.class, new C1<IgniteCheckedException, IgniteException>() {

        @Override
        public IgniteException apply(IgniteCheckedException e) {
            return new ComputeTaskCancelledException(e.getMessage(), e);
        }
    });
    m.put(IgniteTxRollbackCheckedException.class, new C1<IgniteCheckedException, IgniteException>() {

        @Override
        public IgniteException apply(IgniteCheckedException e) {
            return new TransactionRollbackException(e.getMessage(), e);
        }
    });
    m.put(IgniteTxHeuristicCheckedException.class, new C1<IgniteCheckedException, IgniteException>() {

        @Override
        public IgniteException apply(IgniteCheckedException e) {
            return new TransactionHeuristicException(e.getMessage(), e);
        }
    });
    m.put(IgniteTxTimeoutCheckedException.class, new C1<IgniteCheckedException, IgniteException>() {

        @Override
        public IgniteException apply(IgniteCheckedException e) {
            if (e.getCause() instanceof TransactionDeadlockException)
                return new TransactionTimeoutException(e.getMessage(), e.getCause());
            return new TransactionTimeoutException(e.getMessage(), e);
        }
    });
    m.put(IgniteTxOptimisticCheckedException.class, new C1<IgniteCheckedException, IgniteException>() {

        @Override
        public IgniteException apply(IgniteCheckedException e) {
            return new TransactionOptimisticException(e.getMessage(), e);
        }
    });
    m.put(IgniteClientDisconnectedCheckedException.class, new C1<IgniteCheckedException, IgniteException>() {

        @Override
        public IgniteException apply(IgniteCheckedException e) {
            return new IgniteClientDisconnectedException(((IgniteClientDisconnectedCheckedException) e).reconnectFuture(), e.getMessage(), e);
        }
    });
    m.put(IgniteTxSerializationCheckedException.class, new C1<IgniteCheckedException, IgniteException>() {

        @Override
        public IgniteException apply(IgniteCheckedException e) {
            return new TransactionSerializationException(e.getMessage(), e);
        }
    });
    m.put(IgniteTxDuplicateKeyCheckedException.class, new C1<IgniteCheckedException, IgniteException>() {

        @Override
        public IgniteException apply(IgniteCheckedException e) {
            return new TransactionDuplicateKeyException(e.getMessage(), e);
        }
    });
    m.put(IgniteTxAlreadyCompletedCheckedException.class, new C1<IgniteCheckedException, IgniteException>() {

        @Override
        public IgniteException apply(IgniteCheckedException e) {
            return new TransactionAlreadyCompletedException(e.getMessage(), e);
        }
    });
    return m;
}
Also used : TransactionDeadlockException(org.apache.ignite.transactions.TransactionDeadlockException) TransactionDuplicateKeyException(org.apache.ignite.transactions.TransactionDuplicateKeyException) TransactionSerializationException(org.apache.ignite.transactions.TransactionSerializationException) LinkedHashMap(java.util.LinkedHashMap) ConcurrentHashMap(java.util.concurrent.ConcurrentHashMap) IdentityHashMap(java.util.IdentityHashMap) HashMap(java.util.HashMap) IgniteDeploymentException(org.apache.ignite.IgniteDeploymentException) ClusterGroupEmptyException(org.apache.ignite.cluster.ClusterGroupEmptyException) TransactionRollbackException(org.apache.ignite.transactions.TransactionRollbackException) TransactionHeuristicException(org.apache.ignite.transactions.TransactionHeuristicException) IgniteInterruptedException(org.apache.ignite.IgniteInterruptedException) C1(org.apache.ignite.internal.util.typedef.C1) IgniteCheckedException(org.apache.ignite.IgniteCheckedException) IgniteException(org.apache.ignite.IgniteException) ComputeTaskTimeoutException(org.apache.ignite.compute.ComputeTaskTimeoutException) TransactionOptimisticException(org.apache.ignite.transactions.TransactionOptimisticException) IgniteClientDisconnectedException(org.apache.ignite.IgniteClientDisconnectedException) IgniteInterruptedException(org.apache.ignite.IgniteInterruptedException) TransactionAlreadyCompletedException(org.apache.ignite.transactions.TransactionAlreadyCompletedException) ComputeTaskCancelledException(org.apache.ignite.compute.ComputeTaskCancelledException) IgniteFutureTimeoutException(org.apache.ignite.lang.IgniteFutureTimeoutException) TransactionTimeoutException(org.apache.ignite.transactions.TransactionTimeoutException) IgniteClientDisconnectedCheckedException(org.apache.ignite.internal.IgniteClientDisconnectedCheckedException) ClusterTopologyException(org.apache.ignite.cluster.ClusterTopologyException) IgniteFutureCancelledException(org.apache.ignite.lang.IgniteFutureCancelledException) ClusterTopologyCheckedException(org.apache.ignite.internal.cluster.ClusterTopologyCheckedException)

Example 5 with TransactionAlreadyCompletedException

use of org.apache.ignite.transactions.TransactionAlreadyCompletedException in project ignite by apache.

the class TxRollbackOnIncorrectParamsTest method testTimeoutSetLocalGuarantee.

/**
 */
@Test
public void testTimeoutSetLocalGuarantee() throws Exception {
    Ignite ignite = startGrid(0);
    ignite.events().localListen((IgnitePredicate<Event>) e -> {
        assert e instanceof TransactionStateChangedEvent;
        TransactionStateChangedEvent evt = (TransactionStateChangedEvent) e;
        Transaction tx = evt.tx();
        if (tx.timeout() < 200)
            tx.setRollbackOnly();
        return true;
    }, EVT_TX_STARTED);
    IgniteCache cache = ignite.getOrCreateCache(defaultCacheConfiguration());
    try (Transaction tx = ignite.transactions().txStart(TransactionConcurrency.PESSIMISTIC, TransactionIsolation.REPEATABLE_READ, 200, 2)) {
        cache.put(1, 1);
        tx.commit();
    }
    try (Transaction tx = ignite.transactions().txStart(TransactionConcurrency.PESSIMISTIC, TransactionIsolation.REPEATABLE_READ, 100, 2)) {
        cache.put(1, 2);
        tx.commit();
        fail("Should fail prior this line.");
    } catch (CacheException ex) {
        if (MvccFeatureChecker.forcedMvcc())
            assertTrue(ex.toString(), ex.getCause() instanceof TransactionAlreadyCompletedException);
        else
            assertTrue(ex.toString(), ex.getCause() instanceof TransactionRollbackException);
    }
    try (Transaction tx = ignite.transactions().txStart()) {
        cache.put(1, 3);
        tx.commit();
        fail("Should fail prior this line.");
    } catch (CacheException ex) {
        if (MvccFeatureChecker.forcedMvcc())
            assertTrue(ex.toString(), ex.getCause() instanceof TransactionAlreadyCompletedException);
        else
            assertTrue(ex.toString(), ex.getCause() instanceof TransactionRollbackException);
    }
}
Also used : TransactionIsolation(org.apache.ignite.transactions.TransactionIsolation) IgniteBiPredicate(org.apache.ignite.lang.IgniteBiPredicate) GridCommonAbstractTest(org.apache.ignite.testframework.junits.common.GridCommonAbstractTest) EventType(org.apache.ignite.events.EventType) IgniteException(org.apache.ignite.IgniteException) Event(org.apache.ignite.events.Event) Transaction(org.apache.ignite.transactions.Transaction) TransactionConcurrency(org.apache.ignite.transactions.TransactionConcurrency) AtomicBoolean(java.util.concurrent.atomic.AtomicBoolean) TransactionAlreadyCompletedException(org.apache.ignite.transactions.TransactionAlreadyCompletedException) Test(org.junit.Test) EVT_TX_STARTED(org.apache.ignite.events.EventType.EVT_TX_STARTED) UUID(java.util.UUID) Ignite(org.apache.ignite.Ignite) IgniteCache(org.apache.ignite.IgniteCache) GridTestUtils(org.apache.ignite.testframework.GridTestUtils) TransactionRollbackException(org.apache.ignite.transactions.TransactionRollbackException) IgniteConfiguration(org.apache.ignite.configuration.IgniteConfiguration) IgnitePredicate(org.apache.ignite.lang.IgnitePredicate) MvccFeatureChecker(org.apache.ignite.testframework.MvccFeatureChecker) TransactionStateChangedEvent(org.apache.ignite.events.TransactionStateChangedEvent) CacheException(javax.cache.CacheException) Transaction(org.apache.ignite.transactions.Transaction) CacheException(javax.cache.CacheException) IgniteCache(org.apache.ignite.IgniteCache) Event(org.apache.ignite.events.Event) TransactionStateChangedEvent(org.apache.ignite.events.TransactionStateChangedEvent) Ignite(org.apache.ignite.Ignite) TransactionAlreadyCompletedException(org.apache.ignite.transactions.TransactionAlreadyCompletedException) TransactionRollbackException(org.apache.ignite.transactions.TransactionRollbackException) TransactionStateChangedEvent(org.apache.ignite.events.TransactionStateChangedEvent) GridCommonAbstractTest(org.apache.ignite.testframework.junits.common.GridCommonAbstractTest) Test(org.junit.Test)

Aggregations

TransactionAlreadyCompletedException (org.apache.ignite.transactions.TransactionAlreadyCompletedException)7 CacheException (javax.cache.CacheException)6 IgniteException (org.apache.ignite.IgniteException)6 TransactionRollbackException (org.apache.ignite.transactions.TransactionRollbackException)6 UUID (java.util.UUID)5 AtomicBoolean (java.util.concurrent.atomic.AtomicBoolean)5 Ignite (org.apache.ignite.Ignite)5 IgniteCache (org.apache.ignite.IgniteCache)5 IgniteConfiguration (org.apache.ignite.configuration.IgniteConfiguration)5 Event (org.apache.ignite.events.Event)5 EventType (org.apache.ignite.events.EventType)5 EVT_TX_STARTED (org.apache.ignite.events.EventType.EVT_TX_STARTED)5 TransactionStateChangedEvent (org.apache.ignite.events.TransactionStateChangedEvent)5 IgniteBiPredicate (org.apache.ignite.lang.IgniteBiPredicate)5 IgnitePredicate (org.apache.ignite.lang.IgnitePredicate)5 GridTestUtils (org.apache.ignite.testframework.GridTestUtils)5 MvccFeatureChecker (org.apache.ignite.testframework.MvccFeatureChecker)5 GridCommonAbstractTest (org.apache.ignite.testframework.junits.common.GridCommonAbstractTest)5 Transaction (org.apache.ignite.transactions.Transaction)5 TransactionConcurrency (org.apache.ignite.transactions.TransactionConcurrency)5