/** local regions do not perform versioning */ protected boolean shouldGenerateVersionTag(RegionEntry entry, EntryEventImpl event) { // sjigyasu: Not a very clean way to make GemFireXD-specific decision. TODO:Review final GemFireCacheImpl.StaticSystemCallbacks sysCb = GemFireCacheImpl.FactoryStatics.systemCallbacks; if (sysCb != null) { return this.concurrencyChecksEnabled && entry.getVersionStamp().hasValidVersion(); } else { if (this.getDataPolicy().withPersistence()) { return true; } else { return this.concurrencyChecksEnabled && (entry.getVersionStamp().hasValidVersion() || this.dataPolicy.withReplication()); } } }
/** local regions do not perform versioning */ protected boolean shouldGenerateVersionTag(RegionEntry entry, EntryEventImpl event) { if (this.getDataPolicy().withPersistence()) { return true; } else { return this.concurrencyChecksEnabled && (entry.getVersionStamp().hasValidVersion() || this.dataPolicy.withReplication()); } }
if (!entry.getVersionStamp().hasValidVersion()) {
isPresent = true; VersionStamp stamp = entry.getVersionStamp(); if (stamp != null && stamp.hasValidVersion()) { tag = stamp.asVersionTag();
if (!entry.getVersionStamp().hasValidVersion()) {
isPresent = true; VersionStamp stamp = entry.getVersionStamp(); if (stamp != null && stamp.hasValidVersion()) { tag = stamp.asVersionTag();