Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 275 for Callback (0.06 sec)

  1. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

    import java.util.concurrent.atomic.AtomicBoolean;
    
    import org.codelibs.fess.app.service.FailureUrlService;
    import org.codelibs.fess.ds.DataStore;
    import org.codelibs.fess.ds.DataStoreFactory;
    import org.codelibs.fess.ds.callback.IndexUpdateCallback;
    import org.codelibs.fess.entity.DataStoreParams;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.opensearch.client.SearchEngineClient;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java

                    if (builderEntityCall != null) {
                        builderEntityCall.callback(builder);
                    }
                    bulkBuilder.add((IndexRequestBuilder) builder);
                } else if (builder instanceof UpdateRequestBuilder) {
                    if (builderEntityCall != null) {
                        builderEntityCall.callback(builder);
                    }
                    bulkBuilder.add((UpdateRequestBuilder) builder);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  3. 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 */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

            @Override
            public int load() {
                loadCallCount.incrementAndGet();
                return loadCallback.call();
            }
    
            public void setLoadCallback(LoadCallback callback) {
                this.loadCallback = callback;
            }
    
            public int getLoadCallCount() {
                return loadCallCount.get();
            }
        }
    
        @FunctionalInterface
        interface LoadCallback {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 00:03:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

            }
            response.request
          }
        val blockingAuthClient =
          client
            .newBuilder()
            .authenticator(authenticator)
            .build()
        val callback: Callback =
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              fail("")
            }
    
            override fun onResponse(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            try {
                JobProcess jobProcess = processHelper.startProcess(sessionId, cmdList, null);
                fail("Expected exception for null callback");
            } catch (Exception e) {
                // Expected - null callback should cause exception
                assertTrue(e instanceof NullPointerException);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      @SuppressWarnings("AnonymousToLambda")
      public void testRegistrationWithBridgeMethod() {
        AtomicInteger calls = new AtomicInteger();
        bus.register(
            new Callback<String>() {
              @Subscribe
              @Override
              public void call(String s) {
                calls.incrementAndGet();
              }
            });
    
        bus.post("hello");
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

    import kotlinx.coroutines.withTimeout
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketEffect
    import mockwebserver3.junit5.StartStop
    import okhttp3.Callback
    import okhttp3.FailingCall
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.ResponseBody
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/FutureCallback.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Future;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A callback for accepting the results of a {@link java.util.concurrent.Future} computation
     * asynchronously.
     *
     * <p>To attach to a {@link ListenableFuture} use {@link Futures#addCallback}.
     *
     * @author Anthony Zana
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

            }
        }
    
        /**
         * Flushes configuration files to the search engine and executes a callback.
         *
         * @param callback the callback to execute after flushing
         */
        public void flushConfigFiles(final Runnable callback) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            final String fesenType = fessConfig.getFesenType();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
Back to top