Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getOrInitSeenExceptions (0.13 sec)

  1. 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;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 08 20:30:27 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. 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;
            }
          }
        }
    
        /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top