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