/** {@inheritDoc} */ @Override public void onFreed(GridDistributedCacheEntry entry) { if (entry.isNear()) nearLocked.remove(entry.txKey()); else locked.remove(entry.txKey()); }
/** {@inheritDoc} */ @Override public void onLocked(GridDistributedCacheEntry entry) { if (entry.isNear()) nearLocked.put(entry.txKey(), entry); else locked.put(entry.txKey(), entry); }