当前位置: 首页>>代码示例>>Java>>正文


Java CacheAtomicityMode.ATOMIC属性代码示例

本文整理汇总了Java中org.apache.ignite.cache.CacheAtomicityMode.ATOMIC属性的典型用法代码示例。如果您正苦于以下问题:Java CacheAtomicityMode.ATOMIC属性的具体用法?Java CacheAtomicityMode.ATOMIC怎么用?Java CacheAtomicityMode.ATOMIC使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在org.apache.ignite.cache.CacheAtomicityMode的用法示例。


在下文中一共展示了CacheAtomicityMode.ATOMIC属性的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: testPutAllFailoverPessimisticTx

/**
 * @throws Exception If failed.
 */
public void testPutAllFailoverPessimisticTx() throws Exception {
    if (atomicityMode() == CacheAtomicityMode.ATOMIC)
        return;

    testPutAllFailover(Test.PUT_ALL_PESSIMISTIC_TX);
}
 
开发者ID:apache,项目名称:ignite,代码行数:9,代码来源:CachePutAllFailoverAbstractTest.java

示例2: atomicityMode

/** {@inheritDoc} */
@Override protected CacheAtomicityMode atomicityMode() {
    return CacheAtomicityMode.ATOMIC;
}
 
开发者ID:apache,项目名称:ignite,代码行数:4,代码来源:CacheHibernateBlobStoreNodeRestartTest.java

示例3: atomicMode

/** {@inheritDoc} */
@Override protected CacheAtomicityMode atomicMode() {
    return CacheAtomicityMode.ATOMIC;
}
 
开发者ID:apache,项目名称:ignite,代码行数:4,代码来源:GridCacheContinuousQueryPartitionAtomicOneNodeTest.java

示例4: H2DynamicIndexingComplexServerAtomicReplicatedTest

/**
 * Constructor.
 */
public H2DynamicIndexingComplexServerAtomicReplicatedTest() {
    super(CacheMode.REPLICATED, CacheAtomicityMode.ATOMIC, 1, SRV_IDX);
}
 
开发者ID:apache,项目名称:ignite,代码行数:6,代码来源:H2DynamicIndexingComplexServerAtomicReplicatedTest.java

示例5: DynamicIndexPartitionedAtomicConcurrentSelfTest

/**
 * Constructor.
 */
public DynamicIndexPartitionedAtomicConcurrentSelfTest() {
    super(CacheMode.PARTITIONED, CacheAtomicityMode.ATOMIC);
}
 
开发者ID:apache,项目名称:ignite,代码行数:6,代码来源:DynamicIndexPartitionedAtomicConcurrentSelfTest.java

示例6: getAtomicMode

/** {@inheritDoc} */
@Override protected CacheAtomicityMode getAtomicMode() {
    return CacheAtomicityMode.ATOMIC;
}
 
开发者ID:apache,项目名称:ignite,代码行数:4,代码来源:GridCacheReplicatedUsersAffinityMapperSelfTest.java

示例7: DynamicColumnsConcurrentAtomicPartitionedSelfTest

/**
 * Constructor.
 */
public DynamicColumnsConcurrentAtomicPartitionedSelfTest() {
    super(CacheMode.PARTITIONED, CacheAtomicityMode.ATOMIC);
}
 
开发者ID:apache,项目名称:ignite,代码行数:6,代码来源:DynamicColumnsConcurrentAtomicPartitionedSelfTest.java

示例8: DynamicIndexReplicatedAtomicConcurrentSelfTest

/**
 * Constructor.
 */
public DynamicIndexReplicatedAtomicConcurrentSelfTest() {
    super(CacheMode.REPLICATED, CacheAtomicityMode.ATOMIC);
}
 
开发者ID:apache,项目名称:ignite,代码行数:6,代码来源:DynamicIndexReplicatedAtomicConcurrentSelfTest.java

示例9: H2DynamicIndexingComplexServerAtomicPartitionedNoBackupsTest

/**
 * Constructor.
 */
public H2DynamicIndexingComplexServerAtomicPartitionedNoBackupsTest() {
    super(CacheMode.PARTITIONED, CacheAtomicityMode.ATOMIC, 0, SRV_IDX);
}
 
开发者ID:apache,项目名称:ignite,代码行数:6,代码来源:H2DynamicIndexingComplexServerAtomicPartitionedNoBackupsTest.java

示例10: H2DynamicIndexingComplexClientAtomicReplicatedTest

/**
 * Constructor.
 */
public H2DynamicIndexingComplexClientAtomicReplicatedTest() {
    super(CacheMode.REPLICATED, CacheAtomicityMode.ATOMIC, 1, CLIENT_IDX);
}
 
开发者ID:apache,项目名称:ignite,代码行数:6,代码来源:H2DynamicIndexingComplexClientAtomicReplicatedTest.java


注:本文中的org.apache.ignite.cache.CacheAtomicityMode.ATOMIC属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。