Skip to content

Commit

Permalink
Update ReadWriteBackingMap.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mgamanho authored Sep 26, 2024
1 parent 617ee0c commit 51c4855
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1144,6 +1144,7 @@ protected Object putToInternalMap(Object binKey, Object binValue, long cExpiry)
}
else if (cExpiry <= CacheMap.EXPIRY_DEFAULT)
{
log("**MG** mapInternal.put(1)");
return mapInternal.put(binKey, binValue);
}

Expand Down Expand Up @@ -1217,6 +1218,7 @@ protected Object removeInternal(Object oKey, boolean fBlind)
{
// set the value to BIN_ERASE_PENDING
queue.add(instantiateEntry(oKey, BIN_ERASE_PENDING, oValue, 0L), 0L);
log("**MG** mapInternal.put(3)");
getInternalCache().put(oKey, BIN_ERASE_PENDING);
getPendingRemoves().add(oKey);
fQueued = true;
Expand Down Expand Up @@ -1602,6 +1604,7 @@ protected void putToInternalCache(Object oKey, Object oVal, long cMillis)
}
else
{
log("**MG** mapInternal.put(2)");
mapInternal.put(oKey, oVal);
}
}
Expand Down Expand Up @@ -2804,6 +2807,7 @@ public void entryDeleted(MapEvent evt)
else
{
Object oValueOld = evt.getOldValue();
log("**MG** mapInternal.put(4)");
Object oValue = getInternalCache().put(oKey, oValueOld);
if (oValue != null && !equals(oValue, oValueOld))
{
Expand Down

0 comments on commit 51c4855

Please sign in to comment.