Invalidates any {@link #registerPendingPut(Object) previously registered pending puts} ensuring a subsequent call to{@link #acquirePutFromLoadLock(Object)} will return
false
.
This method will block until anyconcurrent thread that has {@link #acquirePutFromLoadLock(Object) acquired the putFromLoad lock} for the given keyhas released the lock. This allows the caller to be certain the putFromLoad will not execute after this method returns, possibly caching stale data.
@param key key identifying data whose pending puts should be invalidated
@return
true
if the invalidation was successful;
false
if a problem occured (which thecaller should treat as an exception condition)