- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for releaseResources (0.08 sec)
-
guava/src/com/google/common/util/concurrent/CollectionFuture.java
@RetainedLocalRef List<@Nullable Present<V>> localValues = values; if (localValues != null) { set(combine(localValues)); } } @Override void releaseResources(ReleaseResourcesReason reason) { super.releaseResources(reason); this.values = null; } abstract C combine(List<@Nullable Present<V>> values); /** Used for {@link Futures#allAsList} and {@link Futures#successfulAsList}. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
protected final void afterDone() { super.afterDone(); @RetainedLocalRef ImmutableCollection<? extends Future<?>> localFutures = futures; releaseResources(OUTPUT_FUTURE_DONE); // nulls out `futures` if (isCancelled() & localFutures != null) { boolean wasInterrupted = wasInterrupted(); for (Future<?> future : localFutures) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 16.2K bytes - Viewed (0)