Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 422 for Callbacks (0.37 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            }
        }
    
        /**
         * Gets the count of documents matching the search criteria.
         *
         * @param callback The callback to configure the search request.
         * @return The number of matching documents.
         */
        public int getCount(final Consumer<SearchRequestBuilder> callback) {
            final TotalHits totalHits = getClient().get(c -> {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 34.3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

        val latch = CountDownLatch(1)
        val exceptionRef = AtomicReference<Throwable>()
        val call = client.newCall(request)
        call.timeout().timeout(250, TimeUnit.MILLISECONDS)
        call.enqueue(
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              exceptionRef.set(e)
              latch.countDown()
            }
    
            @Throws(IOException::class)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java

         */
        List<RESULT> getAccessResultList(String url, boolean hasData);
    
        /**
         * Iterates over access results for the given session ID and applies the callback.
         *
         * @param sessionId the session ID
         * @param accessResultCallback the callback to apply to each access result
         */
        void iterate(String sessionId, final AccessResultCallback<RESULT> accessResultCallback);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

        }
    
        @Test
        @DisplayName("Test fallback used when circuit is open")
        void testFallbackWhenOpen() throws Exception {
            // Open the circuit
            circuitBreaker.tripBreaker();
    
            String result = circuitBreaker.call(() -> "primary", () -> "fallback");
    
            assertEquals("fallback", result);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaProvider.java

    import java.util.EnumSet;
    import java.util.Set;
    
    /**
     * Interface for RDMA provider implementations.
     *
     * This interface abstracts different RDMA implementations such as
     * InfiniBand, iWARP, RoCE, or TCP fallback providers.
     */
    public interface RdmaProvider {
    
        /**
         * Check if RDMA is available on this system
         *
         * @return true if RDMA can be used, false otherwise
         */
        boolean isAvailable();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

              responseCallback.onResponse(this@RealCall, response)
            } catch (e: IOException) {
              if (signalledCallback) {
                // Do not signal the callback twice!
                Platform.get().log("Callback failure for ${toLoggableString()}", Platform.INFO, e)
              } else {
                responseCallback.onFailure(this@RealCall, e)
              }
            } catch (t: Throwable) {
              cancel()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java

        listener = new MockFutureListener(resultFuture);
      }
    
      public void testFutureGetBeforeCallback() throws Exception {
        // Verify that get throws a timeout exception before the callback is called.
        assertThrows(TimeoutException.class, () -> resultFuture.get(1L, MILLISECONDS));
      }
    
      public void testFutureGetThrowsWrappedException() throws Exception {
        inputFuture.setException(EXCEPTION);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/log/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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  9. src/main/resources/fess_ds.xml

    	"http://dbflute.org/meta/lastadi10.dtd">
    <components>
    	<component name="dataStoreFactory" class="org.codelibs.fess.ds.DataStoreFactory">
    	</component>
    	<component name="indexUpdateCallback" class="org.codelibs.fess.ds.callback.IndexUpdateCallbackImpl" instance="prototype">
    	</component>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu May 31 09:46:09 UTC 2018
    - 404 bytes
    - Viewed (0)
  10. scripts/docs.py

            if lang_path.is_dir() and lang_path.name.startswith(incomplete):
                yield lang_path.name
    
    
    @app.callback()
    def callback() -> None:
        # For MacOS with Cairo
        os.environ["DYLD_FALLBACK_LIBRARY_PATH"] = "/opt/homebrew/lib"
    
    
    @app.command()
    def new_lang(lang: str = typer.Argument(..., callback=lang_callback)):
        """
        Generate a new docs translation directory for the language LANG.
        """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
Back to top