/** {@inheritDoc} */ @Override protected void operation(int key) throws Exception { cache.remove(key); } }
/** {@inheritDoc} */ @Override public boolean remove(K key, V oldVal) { IgniteInternalCache<K, V> delegate = getDelegateSafe(); try { if (isAsync()) { setFuture(delegate.removeAsync(key, oldVal)); return false; } else return delegate.remove(key, oldVal); } catch (IgniteCheckedException | IgniteException e) { throw cacheException(e); } }
@Override public Boolean call() throws Exception { return cache.remove(key); } });
/** {@inheritDoc} */ @Override public boolean remove(K key) { IgniteInternalCache<K, V> delegate = getDelegateSafe(); try { if (isAsync()) { setFuture(delegate.removeAsync(key)); return false; } else return delegate.remove(key); } catch (IgniteCheckedException | IgniteException e) { throw cacheException(e); } }
/** {@inheritDoc} */ @Override public boolean remove(Object key) throws IgniteCheckedException { return delegate.get().remove(keyTransformer.transform(key)); }
/** {@inheritDoc} */ @Override public boolean remove(K key) { try { if (isAsync()) { setFuture(delegate.removeAsync(key)); return false; } else return delegate.remove(key); } catch (IgniteCheckedException | IgniteException e) { throw cacheException(e); } }
/** {@inheritDoc} */ @Override public boolean remove(Object key, Object val) throws IgniteCheckedException { return delegate.get().remove(keyTransformer.transform(key), val); }
/** {@inheritDoc} */ @Override public boolean remove(K key, V oldVal) { try { if (isAsync()) { setFuture(delegate.removeAsync(key, oldVal)); return false; } else return delegate.remove(key, oldVal); } catch (IgniteCheckedException | IgniteException e) { throw cacheException(e); } }
/** {@inheritDoc} */ @Override public boolean remove(K key, V val) throws IgniteCheckedException { CacheOperationContext prev = gate.enter(opCtx); try { return delegate.remove(key, val); } finally { gate.leave(prev); } }
/** {@inheritDoc} */ @Override public boolean remove(K key) throws IgniteCheckedException { CacheOperationContext prev = gate.enter(opCtx); try { return delegate.remove(key); } finally { gate.leave(prev); } }
id2InfoPrj.remove(childId);
id2InfoPrj.invoke(parentId, new IgfsMetaDirectoryListingRemoveProcessor(name, id)); id2InfoPrj.remove(id);
cache.remove(key);
((IgniteKernal)grid(0)).getCache(intCache.getName()).remove(new GridCacheInternalKeyImpl("LONG", ""));
path + ", fileId=" + oldId + ", lockId=" + oldInfo.lockId() + ']'); id2InfoPrj.remove(oldId); // Remove the old one. id2InfoPrj.invoke(parentInfo.id(), new IgfsMetaDirectoryListingRemoveProcessor( path.name(), parentInfo.listing().get(path.name()).fileId()));
/** {@inheritDoc} */ @Override protected void operation(int key) throws Exception { cache.remove(key); } }
@Override public Boolean call() throws Exception { return cache.remove(key); } });
/** {@inheritDoc} */ @Override public boolean remove(K key) throws IgniteCheckedException { CacheOperationContext prev = gate.enter(opCtx); try { return delegate.remove(key); } finally { gate.leave(prev); } }
/** {@inheritDoc} */ @Override public boolean remove(K key, V val) throws IgniteCheckedException { CacheOperationContext prev = gate.enter(opCtx); try { return delegate.remove(key, val); } finally { gate.leave(prev); } }
id2InfoPrj.invoke(parentId, new IgfsMetaDirectoryListingRemoveProcessor(name, id)); id2InfoPrj.remove(id);