Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for OnFailure (0.3 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

              @Override
              public void onSuccess(String result) {
                fail("Was not expecting onSuccess() to be called.");
              }
    
              @Override
              public void onFailure(Throwable t) {
                synchronized (monitor) {
                  assertFalse(called);
                  assertThat(t).isInstanceOf(CancellationException.class);
                  called = true;
                }
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

       * was run [asynchronously][Call.enqueue] or [synchronously][Call.execute]. Asynchronous calls
       * become idle after the [onResponse][Callback.onResponse] or [onFailure][Callback.onFailure]
       * callback has returned. Synchronous calls become idle once [execute()][Call.execute] returns.
       * This means that if you are doing synchronous calls the network layer will not truly be idle
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jun 20 14:10:53 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

                    } else {
                        deferred.resolve(createResponse(searchResponse));
                    }
                }
    
                @Override
                public void onFailure(final Exception e) {
                    deferred.reject(e);
                }
            });
        }
    
        @Override
        protected String getValidationError() {
            return null;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. helm/minio/templates/post-job.yaml

            {{- end }}
          {{- if .Values.postJob.podAnnotations }}
          annotations: {{- toYaml .Values.postJob.podAnnotations | nindent 8 }}
          {{- end }}
        spec:
          restartPolicy: OnFailure
          {{- include "minio.imagePullSecrets" . | indent 6 }}
          {{- if .Values.nodeSelector }}
          nodeSelector: {{- toYaml .Values.postJob.nodeSelector | nindent 8 }}
          {{- end }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                    } else {
                        deferred.resolve(createResponse(searchResponse));
                    }
                }
    
                @Override
                public void onFailure(final Exception e) {
                    deferred.reject(new SuggesterException(e.getMessage(), e));
                }
            });
        }
    
        private boolean isSingleWordQuery(final String query) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        failures: MutableList<Exception>,
      ) {
        val latch = CountDownLatch(networkRequests.size)
    
        for (call in networkRequests) {
          call.enqueue(
            object : Callback {
              override fun onFailure(
                call: Call,
                e: IOException,
              ) {
                synchronized(failures) {
                  failures.add(e)
                }
                latch.countDown()
              }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

            if (failure != null) {
              callback.onFailure(failure);
              return;
            }
          }
          final V value;
          try {
            value = getDone(future);
          } catch (ExecutionException e) {
            callback.onFailure(e.getCause());
            return;
          } catch (Throwable e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/Futures.java

            if (failure != null) {
              callback.onFailure(failure);
              return;
            }
          }
          final V value;
          try {
            value = getDone(future);
          } catch (ExecutionException e) {
            callback.onFailure(e.getCause());
            return;
          } catch (Throwable e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/FluentFuture.java

       * <pre>{@code
       * future.addCallback(
       *     new FutureCallback<QueryResult>() {
       *       public void onSuccess(QueryResult result) {
       *         storeInCache(result);
       *       }
       *       public void onFailure(Throwable t) {
       *         reportError(t);
       *       }
       *     }, executor);
       * }</pre>
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                        logger.debug(() -> "Refreshed " + stream(indices).get(stream -> stream.collect(Collectors.joining(", "))));
                    }
                }
    
                @Override
                public void onFailure(final Exception e) {
                    logger.error(() -> "Failed to refresh " + stream(indices).get(stream -> stream.collect(Collectors.joining(", "))), e);
                }
            });
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top