@Override synchronized public void clear() { super.clear(); } }
@Override public void clear() { this.caseInsensitiveKeys.clear(); this.targetMap.clear(); }
public synchronized void clear() { _cache.clear(); } }
public void clearDragEdge() { mDragEdges.clear(); }
@Override public void clear() { lock.lock(); try { super.clear(); } finally { lock.unlock(); } }
@Override public void clear() { lock.lock(); try { super.clear(); } finally { lock.unlock(); } }
@Override public void clear() { numBytes.set(0L); super.clear(); } }
public JZDataSource(LinkedHashMap urlsMap) { this.urlsMap.clear(); this.urlsMap.putAll(urlsMap); currentUrlIndex = 0; }
public JZDataSource(LinkedHashMap urlsMap, String title) { this.urlsMap.clear(); this.urlsMap.putAll(urlsMap); this.title = title; currentUrlIndex = 0; }
@Override public void clear() { this.caseInsensitiveKeys.clear(); this.targetMap.clear(); }
@Override public void clear() { super.clear(); accessQueue.clear(); }
public void clear() { map.clear(); updateSize(); }
/** * Update the builder to have the received map as its state (i.e. the previous state is cleared). The builder will * "batch by topic", so if we have a, b and c, each with two partitions, we may end up with something like the * following (the order of topics and partitions within topics is dependent on the iteration order of the received * map): a0, a1, b1, b0, c0, c1. */ public void set(Map<TopicPartition, S> partitionToState) { map.clear(); update(partitionToState); updateSize(); }
private void resolveWaitingFutures() { final LinkedHashMap<CustomSettableFuture, Counter> waitingFuturesCopy = new LinkedHashMap<>(); synchronized (waitingFutures) { waitingFuturesCopy.putAll(waitingFutures); waitingFutures.clear(); } for (Map.Entry<CustomSettableFuture, Counter> e : waitingFuturesCopy.entrySet()) { try { e.getKey().set(getRequestsSinceWithoutWait(e.getValue())); } catch (Exception ex) { e.getKey().setException(ex); } } }
void replaceAllEntriesInCacheWith(List<ProjectStatus> projectStatuses) { this.cache.clear(); this.cache.putAll(createReplacementItems(projectStatuses)); cacheHasChanged(); }
public void replaceAllEntriesInCacheWith(List<GoDashboardPipeline> newPipelinesToCache) { cache.clear(); cache.putAll(createMapFor(newPipelinesToCache)); cacheHasChanged(); }
/** @deprecated */ @Deprecated @Implementation @HiddenApi public void clearAccounts() { accounts.clear(); }
@Override public synchronized void reset() { passedDanmakus.clear(); blockedDanmakus.clear(); currentDanmakus.clear(); }
protected void releaseStatements() { for ( PreparedStatement statement : getStatements().values() ) { clearBatch( statement ); jdbcCoordinator.getResourceRegistry().release( statement ); jdbcCoordinator.afterStatementExecution(); } getStatements().clear(); }