- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getOrInitSeenExceptions (0.23 sec)
-
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AggregateFutureState.java
private @Nullable Set<Throwable> seenExceptions = null; private int remaining; AggregateFutureState(int remainingFutures) { this.remaining = remainingFutures; } final Set<Throwable> getOrInitSeenExceptions() { if (seenExceptions == null) { seenExceptions = newHashSet(); addInitialException(seenExceptions); } return seenExceptions; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 08 20:30:27 GMT 2022 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
// Go up the causal chain to see if we've already seen this cause; if we have, even if // it's wrapped by a different exception, don't log it. boolean firstTimeSeeingThisException = addCausalChain(getOrInitSeenExceptions(), throwable); if (firstTimeSeeingThisException) { log(throwable); return; } } } /*
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 15.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
} } AggregateFutureState(int remainingFutures) { this.remaining = remainingFutures; } final Set<Throwable> getOrInitSeenExceptions() { /* * The initialization of seenExceptions has to be more complicated than we'd like. The simple * approach would be for each caller CAS it from null to a Set populated with its exception. But
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 14 20:35:03 GMT 2023 - 8.5K bytes - Viewed (0)