Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 for callback2 (0.19 sec)

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

       * java.util.concurrent.CompletableFuture#thenAcceptAsync}.
       *
       * @param callback The callback to invoke when this {@code Future} is completed.
       * @param executor The executor to run {@code callback} when the future completes.
       */
      public final void addCallback(FutureCallback<? super V> callback, Executor executor) {
        Futures.addCallback(this, callback, executor);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  2. android/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();
              }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            output.cancel(false);
            throw new MyRuntimeException();
          }
        }
        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());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsElevateWordCA.java

            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                ElevateWordCA ca = new ElevateWordCA();
                aggsLambda.callback(ca);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 54.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/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);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 68.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/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);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 45.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsRelatedQueryCA.java

            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                RelatedQueryCA ca = new RelatedQueryCA();
                aggsLambda.callback(ca);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 46.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsJobLogCQ.java

            JobLogCQ cq = new JobLogCQ();
            queryLambda.callback(cq);
            final Collection<FilterFunctionBuilder> list = new ArrayList<>();
            if (functionsLambda != null) {
                functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
                    JobLogCQ cf = new JobLogCQ();
                    cqLambda.callback(cf);
                    list.add(new FilterFunctionBuilder(cf.getQuery(), scoreFunctionBuilder));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 71.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/log/cbean/ca/bs/BsFavoriteLogCA.java

            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                FavoriteLogCA ca = new FavoriteLogCA();
                aggsLambda.callback(ca);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsDuplicateHostCQ.java

            DuplicateHostCQ cq = new DuplicateHostCQ();
            queryLambda.callback(cq);
            final Collection<FilterFunctionBuilder> list = new ArrayList<>();
            if (functionsLambda != null) {
                functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
                    DuplicateHostCQ cf = new DuplicateHostCQ();
                    cqLambda.callback(cf);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 58.4K bytes
    - Viewed (0)
Back to top