Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for InternalFutureFailureAccess (0.31 sec)

  1. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java

     *
     * @since {@code com.google.guava:failureaccess:1.0}, which was added as a dependency of Guava in
     *     Guava 27.0
     */
    public abstract class InternalFutureFailureAccess {
      /** Constructor for use by subclasses. */
      protected InternalFutureFailureAccess() {}
    
      /**
       * Usually returns {@code null} but, if this {@code Future} has failed, may <i>optionally</i>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  2. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutures.java

     * the License.
     */
    
    package com.google.common.util.concurrent.internal;
    
    
    /**
     * Static utilities for {@link InternalFutureFailureAccess}. Most users will never need to use this
     * class.
     *
     * <p>This class is GWT-compatible.
     *
     * @since {@code com.google.guava:failureaccess:1.0}, which was added as a dependency of Guava in
     *     Guava 27.0
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  3. futures/failureaccess/pom.xml

      </parent>
      <artifactId>failureaccess</artifactId>
      <version>1.0.2</version>
      <packaging>bundle</packaging>
      <name>Guava InternalFutureFailureAccess and InternalFutures</name>
      <description>
        Contains
        com.google.common.util.concurrent.internal.InternalFutureFailureAccess and
        InternalFutures. Most users will never need to use this artifact. Its
        classes are conceptually a part of Guava, but they're in this separate
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 17 02:24:23 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

        V sourceResult = null;
        Throwable throwable = null;
        try {
          if (localInputFuture instanceof InternalFutureFailureAccess) {
            throwable =
                InternalFutures.tryInternalFastPathGetFailure(
                    (InternalFutureFailureAccess) localInputFuture);
          }
          if (throwable == null) {
            sourceResult = getDone(localInputFuture);
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

    import static com.google.common.util.concurrent.Futures.getDone;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    
    import com.google.common.util.concurrent.internal.InternalFutureFailureAccess;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.CancellationException;
    import java.util.concurrent.ExecutionException;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          // requireNonNull is safe as long as we call this method only on completed futures.
          return requireNonNull(v);
        }
        if (future instanceof InternalFutureFailureAccess) {
          Throwable throwable =
              InternalFutures.tryInternalFastPathGetFailure((InternalFutureFailureAccess) future);
          if (throwable != null) {
            return new Failure(throwable);
          }
        }
        boolean wasCancelled = future.isCancelled();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

    import com.google.common.collect.Iterables;
    import com.google.common.collect.Range;
    import com.google.common.collect.Sets;
    import com.google.common.primitives.Ints;
    import com.google.common.util.concurrent.internal.InternalFutureFailureAccess;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    import java.util.concurrent.Callable;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

    import com.google.common.collect.Iterables;
    import com.google.common.collect.Range;
    import com.google.common.collect.Sets;
    import com.google.common.primitives.Ints;
    import com.google.common.util.concurrent.internal.InternalFutureFailureAccess;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    import java.util.concurrent.Callable;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

          this.future = future;
          this.callback = callback;
        }
    
        @Override
        public void run() {
          if (future instanceof InternalFutureFailureAccess) {
            Throwable failure =
                InternalFutures.tryInternalFastPathGetFailure((InternalFutureFailureAccess) future);
            if (failure != null) {
              callback.onFailure(failure);
              return;
            }
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  10. guava-gwt/pom.xml

                    </copy>
                    <copy toDir="${project.build.directory}/guava-gwt-sources">
                      <fileset dir="${project.build.directory}/failureaccess-sources">
                        <include name="**/InternalFutureFailureAccess.java" />
                      </fileset>
                    </copy>
                    <!-- Any manually written supersource should take priority over the original guava source, so we set overwrite=true. -->
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
Back to top