Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for fallback (0.05 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

            Class<X> exceptionType,
            AsyncFunction<? super X, ? extends V> fallback) {
          super(input, exceptionType, fallback);
        }
    
        @Override
        ListenableFuture<? extends V> doFallback(
            AsyncFunction<? super X, ? extends V> fallback, X cause) throws Exception {
          ListenableFuture<? extends V> replacement = fallback.apply(cause);
          checkNotNull(
              replacement,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

            } else {
                boolean fallback = false;
    
                String[] tok = part1.split("\\.");
                int idx = 0;
                if (idx < tok.length) {
                    majorVersion = getNextIntegerToken(tok[idx++]);
                    if (majorVersion == null) {
                        fallback = true;
                    }
                } else {
                    fallback = true;
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * @param future The future attach the callback to.
       * @param callback The callback to invoke when {@code future} is completed.
       * @param executor The executor to run {@code callback} when the future completes.
       * @since 10.0
       */
      public static <V extends @Nullable Object> void addCallback(
          final ListenableFuture<V> future,
          final FutureCallback<? super V> callback,
          Executor executor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Futures.java

       *
       * @param future The future attach the callback to.
       * @param callback The callback to invoke when {@code future} is completed.
       * @param executor The executor to run {@code callback} when the future completes.
       * @since 10.0
       */
      public static <V extends @Nullable Object> void addCallback(
          final ListenableFuture<V> future,
          final FutureCallback<? super V> callback,
          Executor executor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            private final ArtifactRepositoryLayout fallback;
    
            UnknownRepositoryLayout(String id, ArtifactRepositoryLayout fallback) {
                this.id = id;
                this.fallback = fallback;
            }
    
            public String getId() {
                return id;
            }
    
            public String pathOf(Artifact artifact) {
                return fallback.pathOf(artifact);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLogger.java

    import java.io.PrintWriter;
    
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.cli.Logger;
    
    /**
     * Proto {@link Logger}. Uses provided {@link PrintStream}s or {@link System} ones as fallback.
     * Supports only two levels: ERROR and WARNING, that is emitted to STDERR and STDOUT.
     */
    public class ProtoLogger implements Logger {
    
        private final PrintWriter out;
        private final PrintWriter err;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                    if (connectTimeoutXml != null) {
                        connectTimeout = Integer.parseInt(connectTimeoutXml.getValue());
                    } else {
                        // fallback configuration name
                        PlexusConfiguration httpConfiguration = config.getChild("httpConfiguration", false);
                        if (httpConfiguration != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

            if (cacheResponse.code != HttpURLConnection.HTTP_GATEWAY_TIMEOUT) {
              return cacheResponse
            }
          } catch (ioe: IOException) {
            // Failures are ignored as we can fallback to the network
            // and hopefully repopulate the cache.
          }
        }
    
        return null
      }
    
      @Throws(Exception::class)
      private fun readResponse(
        hostname: String,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

                        projectSelector.getOptionalProjectsBySelectors(request, allSortedProjects, optionalSelectors));
    
                // it can be empty when an optional project is missing from the reactor, fallback to returning all projects
                if (!selectedProjects.isEmpty()) {
                    result = new ArrayList<>(selectedProjects);
    
                    result = includeAlsoMakeTransitively(result, request, graph);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                        .println(messageBuilderFactory
                                .builder()
                                .warning(
                                        "Maven4 SecDispatcher disabled; Maven3 fallback may still work, use `mvnenc diag` to check")
                                .build());
                secDispatcher.writeConfiguration(config);
                return OK;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top