Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 523 for Callback0 (0.15 seconds)

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

            output.cancel(false);
            throw new SomeUncheckedException();
          }
        }
        Fallback fallback = new Fallback();
        SettableFuture<Object> input = SettableFuture.create();
    
        ListenableFuture<Object> output = catching(input, Throwable.class, fallback, directExecutor());
        fallback.output = output;
    
        input.setException(new MyException());
        assertTrue(output.isCancelled());
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

         *   <li>Index update operations through callbacks</li>
         *   <li>Error handling and failure logging</li>
         *   <li>Cleanup of old documents after successful crawling</li>
         * </ul>
         */
        protected static class DataCrawlingThread extends Thread {
    
            /** Configuration for the data store being crawled */
            private final DataConfig dataConfig;
    
            /** Callback for handling document indexing operations */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

                    notifyStarted();
                    // We need to wait for the main thread to leave the ServiceManager.startAsync call
                    // to
                    // ensure that the thread running the failure callbacks is not the main thread.
                    Uninterruptibles.awaitUninterruptibly(afterStarted);
                    notifyFailed(new Exception("boom"));
                  }
                }.start();
              }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       * across calls to multiple listeners. Specifically, a given listener will have its callbacks
       * invoked in the same order as the underlying service enters those states. Additionally, at most
       * one of the listener's callbacks will execute at once. However, multiple listeners' callbacks
       * may execute concurrently, and listeners may execute in an order different from the one in which
       * they were registered.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *     exception itself.
       * @param executor the executor that runs {@code fallback} if the input fails
       */
      public <X extends Throwable> ClosingFuture<V> catching(
          Class<X> exceptionType, ClosingFunction<? super X, ? extends V> fallback, Executor executor) {
        return catchingMoreGeneric(exceptionType, fallback, executor);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      companion object {
        /**
         * A network that resolves only one IP address per host. Use this when testing route selection
         * fallbacks to prevent the host machine's various IP addresses from interfering.
         */
        private val SINGLE_INET_ADDRESS_DNS =
          Dns { hostname ->
            val addresses = Dns.SYSTEM.lookup(hostname)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/log/cbean/ca/bs/BsSearchLogCA.java

            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                SearchLogCA ca = new SearchLogCA();
                aggsLambda.callback(ca);
                ca.getAggregationBuilderList().forEach(builder::subAggregation);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 115.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsKeyMatchCQ.java

            KeyMatchCQ cq = new KeyMatchCQ();
            queryLambda.callback(cq);
            final Collection<FilterFunctionBuilder> list = new ArrayList<>();
            if (functionsLambda != null) {
                functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
                    KeyMatchCQ cf = new KeyMatchCQ();
                    cqLambda.callback(cf);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 68.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsFailureUrlCA.java

            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                FailureUrlCA ca = new FailureUrlCA();
                aggsLambda.callback(ca);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 46.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/log/cbean/ca/bs/BsClickLogCA.java

            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                ClickLogCA ca = new ClickLogCA();
                aggsLambda.callback(ca);
                ca.getAggregationBuilderList().forEach(builder::subAggregation);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 45.6K bytes
    - Click Count (0)
Back to Top