+ lockObj); throw new ConflictException( LocalizedStrings.TX_CONFLICT_ON_OBJECT .toLocalizedString(getLockObjectString(msg, lockObj, mode, + Integer.toHexString(flags) + " on object: " + lockObj); throw new ConflictException( LocalizedStrings.TX_CONFLICT_LOCK_ILLEGAL.toLocalizedString( getLockObjectString(msg, lockObj, mode, context, lockOwner),
private void checkConflict(LocalRegion owner, EntryEventImpl event, RegionEntry re) { //TODO: Make it property based and return oldValue taken from OldREgionEntry if confict and not // throwing conflictexception if (owner.isUsedForPartitionedRegionBucket() && !((BucketRegion)owner).getBucketAdvisor().isPrimary()) { return; } // Don't do conflict detection on secondary. if (event.getTXState() != null && event.getTXState().isSnapshot()) { TXState localState = event.getTXState().getLocalTXState(); if (!firstEntry(re)) { // deltas will be merged and will not conflict if (!TXState.checkEntryInSnapshot(localState, event.getRegion(), re) && !event.hasColumnDelta()) { throw new ConflictException("The value has changed."); } } } }
final ConflictException ce = new ConflictException( LocalizedStrings.TX_CONFLICT_ON_OBJECT.toLocalizedString("index=" + container + "; indexKey=" + ArrayUtils.objectString(key)
final ConflictException ce = new ConflictException( LocalizedStrings.TX_CONFLICT_ON_OBJECT.toLocalizedString("index=" + container + "; indexKey=" + ArrayUtils.objectString(key)
final ConflictException ce = new ConflictException( LocalizedStrings.TX_CONFLICT_ON_OBJECT.toLocalizedString("index=" + container + "; indexKey=" + ArrayUtils.objectString(key)