Java Code Examples for org.apache.ignite.cache.CacheAtomicityMode#TRANSACTIONAL
The following examples show how to use
org.apache.ignite.cache.CacheAtomicityMode#TRANSACTIONAL .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: IgniteSqlNotNullConstraintTest.java From ignite with Apache License 2.0 | 5 votes |
/** */ private void executeWithAllTxCaches(final TestClosure clo) throws Exception { for (CacheConfiguration ccfg : cacheConfigurations()) { if (ccfg.getAtomicityMode() == CacheAtomicityMode.TRANSACTIONAL) { for (TransactionConcurrency con : TransactionConcurrency.values()) { for (TransactionIsolation iso : TransactionIsolation.values()) executeForCache(ccfg, clo, con, iso); } } } }
Example 2
Source File: JdbcThinDynamicIndexTransactionalReplicatedSelfTest.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override protected CacheAtomicityMode atomicityMode() { return CacheAtomicityMode.TRANSACTIONAL; }
Example 3
Source File: GridCacheContinuousQueryReplicatedTxOneNodeTest.java From ignite with Apache License 2.0 | 4 votes |
/** * @return Atomicity mode for a cache. */ protected CacheAtomicityMode atomicMode() { return CacheAtomicityMode.TRANSACTIONAL; }
Example 4
Source File: IgniteCachePartitionedTransactionalColumnConstraintsTest.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override @NotNull protected CacheAtomicityMode atomicityMode() { return CacheAtomicityMode.TRANSACTIONAL; }
Example 5
Source File: IgniteCacheReplicatedTransactionalColumnConstraintsTest.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @NotNull @Override protected CacheAtomicityMode atomicityMode() { return CacheAtomicityMode.TRANSACTIONAL; }
Example 6
Source File: GridCacheBinaryTransactionalEntryProcessorDeploymentSelfTest.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override protected CacheAtomicityMode atomicityMode() { return CacheAtomicityMode.TRANSACTIONAL; }
Example 7
Source File: JdbcThinDynamicIndexTransactionalPartitionedSelfTest.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override protected CacheAtomicityMode atomicityMode() { return CacheAtomicityMode.TRANSACTIONAL; }
Example 8
Source File: ClientReconnectContinuousQueryTest.java From ignite with Apache License 2.0 | 4 votes |
/** * @return Transaction snapshot. */ protected CacheAtomicityMode atomicityMode() { return CacheAtomicityMode.TRANSACTIONAL; }
Example 9
Source File: H2DynamicIndexingComplexClientTransactionalPartitionedTest.java From ignite with Apache License 2.0 | 4 votes |
/** * Constructor. */ public H2DynamicIndexingComplexClientTransactionalPartitionedTest() { super(CacheMode.PARTITIONED, CacheAtomicityMode.TRANSACTIONAL, 1, CLIENT_IDX); }
Example 10
Source File: GridCacheClientModesTcpClientDiscoveryAbstractTest.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override protected CacheAtomicityMode atomicityMode() { return CacheAtomicityMode.TRANSACTIONAL; }
Example 11
Source File: GridCacheClientModesTcpClientDiscoveryAbstractTest.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override protected CacheAtomicityMode atomicityMode() { return CacheAtomicityMode.TRANSACTIONAL; }
Example 12
Source File: CacheVersionedEntryPartitionedTransactionalSelfTest.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override protected CacheAtomicityMode atomicityMode() { return CacheAtomicityMode.TRANSACTIONAL; }
Example 13
Source File: H2DynamicIndexingComplexClientTransactionalPartitionedNoBackupsTest.java From ignite with Apache License 2.0 | 4 votes |
/** * Constructor. */ public H2DynamicIndexingComplexClientTransactionalPartitionedNoBackupsTest() { super(CacheMode.PARTITIONED, CacheAtomicityMode.TRANSACTIONAL, 0, CLIENT_IDX); }
Example 14
Source File: DynamicIndexPartitionedTransactionalConcurrentSelfTest.java From ignite with Apache License 2.0 | 4 votes |
/** * Constructor. */ public DynamicIndexPartitionedTransactionalConcurrentSelfTest() { super(CacheMode.PARTITIONED, CacheAtomicityMode.TRANSACTIONAL); }
Example 15
Source File: CacheContinuousQueryCounterReplicatedTxTest.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override protected CacheAtomicityMode atomicityMode() { return CacheAtomicityMode.TRANSACTIONAL; }
Example 16
Source File: GridCacheInterceptorTransactionalRebalanceTest.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override protected CacheAtomicityMode atomicityMode() { return CacheAtomicityMode.TRANSACTIONAL; }
Example 17
Source File: H2DynamicIndexingComplexServerTransactionalReplicatedTest.java From ignite with Apache License 2.0 | 4 votes |
/** * Constructor. */ public H2DynamicIndexingComplexServerTransactionalReplicatedTest() { super(CacheMode.REPLICATED, CacheAtomicityMode.TRANSACTIONAL, 1, SRV_IDX); }
Example 18
Source File: CacheContinuousQueryCounterPartitionedTxTest.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override protected CacheAtomicityMode atomicityMode() { return CacheAtomicityMode.TRANSACTIONAL; }
Example 19
Source File: GridCacheContinuousQueryPartitionTxOneNodeTest.java From ignite with Apache License 2.0 | 4 votes |
/** {@inheritDoc} */ @Override protected CacheAtomicityMode atomicMode() { return CacheAtomicityMode.TRANSACTIONAL; }
Example 20
Source File: GridCacheCommandHandlerSelfTest.java From ignite with Apache License 2.0 | 2 votes |
/** * * @return CacheAtomicityMode for the cache. */ protected CacheAtomicityMode atomicityMode() { return CacheAtomicityMode.TRANSACTIONAL; }