/** * for testing race conditions between threads trying to apply ops to the * same entry * @param entry the entry to attempt to add to the system */ protected final RegionEntry putEntryIfAbsentForTest(RegionEntry entry) { return (RegionEntry)putEntryIfAbsent(entry.getKey(), entry); }
/** * for testing race conditions between threads trying to apply ops to the * same entry * @param entry the entry to attempt to add to the system */ protected final RegionEntry putEntryIfAbsentForTest(RegionEntry entry) { return (RegionEntry)putEntryIfAbsent(entry.getKey(), entry); }
RegionEntry oldRe = putEntryIfAbsent(key, retVal); if (oldRe != null) { if (retVal instanceof OffHeapRegionEntry) {
RegionEntry oldRe = putEntryIfAbsent(key, retVal); if (oldRe != null) { if (retVal.isOffHeap()) {
newRe.getVersionStamp().setVersions(value.getVersionTag()); RegionEntry oldRe = putEntryIfAbsent(key, newRe); while (oldRe != null) { synchronized (oldRe) { if (oldRe.isRemoved() && !oldRe.isTombstone()) { oldRe = putEntryIfAbsent(key, newRe); if (oldRe != null) { if (_isOwnerALocalRegion()) {
RegionEntry oldRe = putEntryIfAbsent(key, newRe); LocalRegion owner = null; if (_isOwnerALocalRegion()) { synchronized (oldRe) { if (oldRe.isRemoved() && !oldRe.isTombstone()) { oldRe = putEntryIfAbsent(key, newRe); if (oldRe != null) { if (owner != null) {
try { synchronized (newRe) { RegionEntry oldRe = putEntryIfAbsent(key, newRe); while (!opCompleted && oldRe != null) { synchronized (oldRe) { if (oldRe.isRemovedPhase2()) { oldRe = putEntryIfAbsent(key, newRe); if (oldRe != null) { owner.getCachePerfStats().incRetries();
synchronized (newRe) { try { RegionEntry oldRe = putEntryIfAbsent(key, newRe); while (!opCompleted && oldRe != null) { synchronized (oldRe) { if (oldRe.isRemovedPhase2()) { oldRe = putEntryIfAbsent(key, newRe); if (oldRe != null) { owner.getCachePerfStats().incRetries();
synchronized (newRe) { try { RegionEntry oldRe = putEntryIfAbsent(event.getKey(), newRe); oldRe = putEntryIfAbsent(event.getKey(), newRe); if (oldRe != null) { owner.getCachePerfStats().incRetries(); re = putEntryIfAbsent(event.getKey(), newRe); if (re == tombstone) {
synchronized (newRe) { try { RegionEntry oldRe = putEntryIfAbsent(key, newRe); while (!opCompleted && oldRe != null) { synchronized (oldRe) { if (oldRe.isRemovedPhase2()) { oldRe = putEntryIfAbsent(key, newRe); if (oldRe != null) { owner.getCachePerfStats().incRetries();
synchronized (newRe) { try { oldRe = putEntryIfAbsent(key, newRe); while (!done && oldRe != null) { synchronized (oldRe) { if (oldRe.isRemovedPhase2()) { oldRe = putEntryIfAbsent(key, newRe); if (oldRe != null) { owner.getCachePerfStats().incRetries();
RegionEntry oldRe = putEntryIfAbsent(event.getKey(), newRe); while (!opCompleted && oldRe != null) { synchronized (oldRe) { if (oldRe.isRemovedPhase2()) { oldRe = putEntryIfAbsent(event.getKey(), newRe); if (oldRe != null) { owner.getCachePerfStats().incRetries();
synchronized (newRe) { try { RegionEntry oldRe = putEntryIfAbsent(event.getKey(), newRe); while (!opCompleted && oldRe != null) { synchronized (oldRe) { oldRe = putEntryIfAbsent(event.getKey(), newRe); if (oldRe != null) { owner.getCachePerfStats().incRetries(); re = putEntryIfAbsent(event.getKey(), newRe); if (re == tombstone) {
try { oldRe = putEntryIfAbsent(key, newRe); while (!done && oldRe != null) { synchronized (oldRe) { if (oldRe.isRemovedPhase2()) { oldRe = putEntryIfAbsent(key, newRe); if (oldRe != null) { owner.getCachePerfStats().incRetries();
synchronized (newRe) { RegionEntry oldRe = putEntryIfAbsent(event.getKey(), newRe); try { // bug #42228 - leaving "removed" entries in the cache while (!opCompleted && oldRe != null) { synchronized (oldRe) { if (oldRe.isRemovedPhase2()) { oldRe = putEntryIfAbsent(event.getKey(), newRe); if (oldRe != null) { owner.getCachePerfStats().incRetries();