org.apache.geode.cache.RegionAttributes.getIgnoreJTA()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(4.1k)|赞(0)|评价(0)|浏览(53)

本文整理了Java中org.apache.geode.cache.RegionAttributes.getIgnoreJTA方法的一些代码示例,展示了RegionAttributes.getIgnoreJTA的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RegionAttributes.getIgnoreJTA方法的具体详情如下:
包路径:org.apache.geode.cache.RegionAttributes
类名称:RegionAttributes
方法名:getIgnoreJTA

RegionAttributes.getIgnoreJTA介绍

[英]Gets the flag telling a region to ignore JTA transactions. Default value is set to false.
[中]获取通知区域忽略JTA事务的标志。默认值设置为false。

代码示例

代码示例来源:origin: apache/geode

Boolean.valueOf(other.getStatisticsEnabled())}));
if (this.ignoreJTA != other.getIgnoreJTA()) {
 throw new RuntimeException(
   "Ignore JTA is not the same");

代码示例来源:origin: apache/geode

enableAsyncConflation = ra.getEnableAsyncConflation();
enableSubscriptionConflation = ra.getEnableSubscriptionConflation();
ignoreJTA = ra.getIgnoreJTA();
indexMaintenanceSynchronous = ra.getIndexMaintenanceSynchronous();
initialCapacity = ra.getInitialCapacity();

代码示例来源:origin: apache/geode

if (generateDefaults() || attrs.getIgnoreJTA())
 atts.addAttribute("", "", IGNORE_JTA, "", String.valueOf(attrs.getIgnoreJTA()));

代码示例来源:origin: apache/geode

boolean ignoreJTA = regAttrs.getIgnoreJTA();
String dataPolicy = regAttrs.getDataPolicy().toString();
String scope = regAttrs.getScope().toString();

代码示例来源:origin: apache/geode

this.scope = attrs.getScope();
this.statisticsEnabled = attrs.getStatisticsEnabled();
this.ignoreJTA = attrs.getIgnoreJTA();
this.concurrencyLevel = attrs.getConcurrencyLevel();
this.concurrencyChecksEnabled = attrs.getConcurrencyChecksEnabled();

代码示例来源:origin: apache/geode

updateEntryExpiryPossible();
this.statisticsEnabled = attrs.getStatisticsEnabled();
this.ignoreJTA = attrs.getIgnoreJTA();
this.isLockGrantor = attrs.isLockGrantor();
this.keyConstraint = attrs.getKeyConstraint();

代码示例来源:origin: apache/geode

this.regionAttributes.dataPolicy = regionAttributes.getDataPolicy();
this.regionAttributes.statisticsEnabled = regionAttributes.getStatisticsEnabled();
this.regionAttributes.ignoreJTA = regionAttributes.getIgnoreJTA();
this.regionAttributes.keyConstraint = regionAttributes.getKeyConstraint();
this.regionAttributes.valueConstraint = regionAttributes.getValueConstraint();

代码示例来源:origin: apache/geode

this.scope = attr.getScope();
this.statsEnabled = attr.getStatisticsEnabled();
this.ignoreJTA = attr.getIgnoreJTA();
this.concurrencyLevel = attr.getConcurrencyLevel();
this.concurrencyChecksEnabled = attr.getConcurrencyChecksEnabled();

代码示例来源:origin: apache/geode

if (parentIsUserSpecified) {
 if (parentWithHas.hasIgnoreJTA()) {
  setIgnoreJTA(parent.getIgnoreJTA());
 setIgnoreJTA(parent.getIgnoreJTA());

代码示例来源:origin: org.springframework.data/spring-data-geode-test

when(mockRegionAttributes.getEvictionAttributes()).thenAnswer(newGetter(evictionAttributes));
when(mockRegionAttributes.getGatewaySenderIds()).thenReturn(gatewaySenderIds);
when(mockRegionAttributes.getIgnoreJTA()).thenAnswer(newGetter(ignoreJta));
when(mockRegionAttributes.getIndexMaintenanceSynchronous()).thenAnswer(newGetter(indexMaintenanceSynchronous));
when(mockRegionAttributes.getInitialCapacity()).thenAnswer(newGetter(initialCapacity));

代码示例来源:origin: org.springframework.data/spring-data-geode-test

.thenAnswer(invocation -> asSet(gatewaySenderIds.toArray(new String[gatewaySenderIds.size()])));
when(mockRegionAttributes.getIgnoreJTA()).thenAnswer(newGetter(baseRegionAttributes::getIgnoreJTA));
when(mockRegionAttributes.getIndexMaintenanceSynchronous()).thenAnswer(newGetter(baseRegionAttributes::getIndexMaintenanceSynchronous));
when(mockRegionAttributes.getInitialCapacity()).thenAnswer(newGetter(baseRegionAttributes::getInitialCapacity));

代码示例来源:origin: org.springframework.data/spring-data-geode

regionFactory.setIgnoreJTA(regionAttributes.getIgnoreJTA());
regionFactory.setIndexMaintenanceSynchronous(regionAttributes.getIndexMaintenanceSynchronous());
regionFactory.setInitialCapacity(regionAttributes.getInitialCapacity());

代码示例来源:origin: org.springframework.data/spring-data-gemfire

regionFactory.setIgnoreJTA(regionAttributes.getIgnoreJTA());
regionFactory.setIndexMaintenanceSynchronous(regionAttributes.getIndexMaintenanceSynchronous());
regionFactory.setInitialCapacity(regionAttributes.getInitialCapacity());

相关文章

微信公众号

最新文章

更多

RegionAttributes类方法