public void remove(PluginRoleConfig pluginRole) { roleToUsersMappings.removeAll(pluginRole); }
@Override public Set<V> removeAll(Object key) { synchronized (mutex) { return delegate().removeAll(key); // copy not synchronized } }
/** * Remove all notes attached to this edge. NOTE: this should only be called within a graph * building context (or unit testing). * * @param edge */ void removeNotes(Edge edge) { if (LOG.isDebugEnabled()) LOG.debug("Removing notes for edge: {}", edge); notesForEdge.removeAll(edge); }
/** * Complete the transaction, and remove all events from inflight list. * * @param transactionID */ public boolean completeTransaction(Long transactionID) { if (!inflightEvents.containsKey(transactionID)) { return false; } inflightEvents.removeAll(transactionID); inflightFileIDs.removeAll(transactionID); syncRequired = true; return true; }
@Override public Set<V> removeAll(Object key) { synchronized (mutex) { return delegate().removeAll(key); // copy not synchronized } }
@Override public <U extends T> Set<U> removeAll(Class<U> key) { return convertSet(key, inner.removeAll(key)); }
@CanIgnoreReturnValue @Override public Set<V> removeAll(@Nullable Object key) { return delegate().removeAll(key); }
@CanIgnoreReturnValue @Override public Set<V> removeAll(@NullableDecl Object key) { return delegate().removeAll(key); }
@CanIgnoreReturnValue @Override public Set<V> removeAll(@NullableDecl Object key) { return delegate().removeAll(key); }
watchers.removeAll(path); } finally { mutex.unlock();
toNotifyParent.addAll(watchers.get(parent)); watchers.removeAll(path); final String finalPath = path; executor.execute(() -> {
watchers.removeAll(path); } finally { mutex.unlock();
watchers.removeAll(path);
toNotifyParent.addAll(watchers.get(parent)); watchers.removeAll(path);
watchers.removeAll(path); mutex.unlock();
pointers = Sets.newHashSet(); Set<Long> takes = inflightTakes.removeAll(trans); Iterator<Long> it = takes.iterator(); while (it.hasNext()) {
pointers = Sets.newHashSet(); Set<Long> takes = inflightTakes.removeAll(trans); Iterator<Long> it = takes.iterator(); while (it.hasNext()) {
@Override public Set<V> removeAll(Object key) { synchronized (mutex) { return delegate().removeAll(key); // copy not synchronized } } @Override public Set<V> replaceValues(