@Override public boolean removeAll(Collection<?> c) { return pipeList.removeAll(c); }
private void swapSuffix(List<? extends Segment> suffix, ImmutableSegment segment, boolean closeSegmentsInSuffix) { pipeline.removeAll(suffix); if(segment != null) pipeline.addLast(segment); // During index merge we won't be closing the segments undergoing the merge. Segment#close() // will release the MSLAB chunks to pool. But in case of index merge there wont be any data copy // from old MSLABs. So the new cells in new segment also refers to same chunks. In case of data // compaction, we would have copied the cells data from old MSLAB chunks into a new chunk // created for the result segment. So we can release the chunks associated with the compacted // segments. if (closeSegmentsInSuffix) { for (Segment itemInSuffix : suffix) { itemInSuffix.close(); } } }
/** * Remove all the specified pending requests. * <p> * Caller must synchronize on this grant token. * * @param requestsToRemove the pending requests to remove guarded.By this */ private void removeRequests(Collection requestsToRemove) { if (!requestsToRemove.isEmpty()) { synchronized (this) { this.pendingRequests.removeAll(requestsToRemove); } this.dlock.getStats().incPendingRequests(-requestsToRemove.size()); } }
segmentsToAdd.removeAll(currentCoveredSegments);
delimQueue.removeAll(delimQueue.subList(replaceIdx, delimQueue.size()));
suspendQueue.removeAll(timeouts);
} else { finished.addAll(local_finished); outstanding.removeAll(local_finished); LOG.debug(local_finished.size() + " outstanding splits finished"); Thread.sleep(30 * 1000); } else { outstanding.removeAll(finished); for (Pair<byte[], byte[]> region : finished) { splitOut.writeChars("- " + splitAlgo.rowToStr(region.getFirst())
@Override public boolean add(T e) { if (cancelled || Thread.interrupted()) { throw new Stop(); } super.add(e); LinkedList<Object> newKeys = new LinkedList<Object>(this); Node n = factory.getWaitNode(); if (n != null) { newKeys.add(n); } newKeys.removeAll(Collections.singleton(null)); // #206958 if (newKeys.size() > minimalCount) { setKeys(newKeys); } return true; } // #206556 Y02 - could override other mutator methods if ever needed
/** * removes all the members contained in v from this membership * * @param v - a vector containing all the members to be removed */ public void remove(Collection v) { if(v != null) { synchronized(members) { members.removeAll(v); } } }
public synchronized void removeEntry(KeyEntry... keys) { List<KeyEntry> toRemove = Arrays.asList(keys); keyEntries.removeAll(toRemove); revokedEntries.removeAll(toRemove); entries.removeAll(toRemove); for(Map.Entry<SshPublicKey, List<KeyEntry>> entry : entriesByPublicKey.entrySet()) { entry.getValue().removeAll(toRemove); } certificateAuthorities.removeAll(toRemove); }
@Override public boolean removeAll(Collection<?> c) { boolean r = super.removeAll(c); riseListChanged(); return r; }
@Override public boolean removeAll(Collection paramCollection) { if (_directAccess) { return super.removeAll(paramCollection); } return ProxyCollections.removeAll(this, paramCollection); }
@Override public boolean removeAll(Collection paramCollection) { if (_directAccess) { return super.removeAll(paramCollection); } return ProxyCollections.removeAll(this, paramCollection); }
@Override public boolean removeAll(Collection<?> c) { boolean r = super.removeAll(c); riseListChanged(); return r; }
@Override public boolean removeAll(Collection paramCollection) { if (_directAccess) { return super.removeAll(paramCollection); } return ProxyCollections.removeAll(this, paramCollection); }
@Override public boolean removeAll(Collection paramCollection) { if (_directAccess) { return super.removeAll(paramCollection); } return ProxyCollections.removeAll(this, paramCollection); }
public void removeAll(List<E> orders) { list.removeAll(orders); for(E order:orders) { elemRemove(order); } }
@Override public boolean removeAll(Collection<?> c) { boolean r = super.removeAll(c); riseListChanged(); return r; }
@Override public Set<Attribute> producedAttributes() { LinkedList<NamedExpression> resultExpressionsCopy = new LinkedList<>(resultExpressions); resultExpressionsCopy.removeAll(groupingExpressions); return concatToSet(aggregateAttributes, mapToList(resultExpressionsCopy, NamedExpression::toAttribute), aggregateBufferAttributes); }
protected void deregisterHelper( UploadHelper helper ) { try { next_optimistics_mon.enter(); helpers.remove( helper ); boolean rem = next_optimistics.removeAll( Collections.singleton( helper ) ); if( !rem ) Debug.out( "!rem" ); } finally { next_optimistics_mon.exit(); } }