Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for Polling (0.07 sec)

  1. src/main/java/jcifs/internal/witness/WitnessClient.java

        private static final Logger log = LoggerFactory.getLogger(WitnessClient.class);
    
        // Polling and backoff constants (in ms)
        private static final long MAX_POLL_INTERVAL = 5000; // Normal polling: max 5 seconds
        private static final long MAX_ERROR_BACKOFF = 30000; // Error polling: max 30 seconds
        private static final long BASE_POLL_INTERVAL = 1000;
        private static final long BASE_ERROR_DELAY = 1000;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

                        // 2. Wait for response
                        // 3. Process changes
                        // 4. Notify the lease manager
    
                        // Use adaptive polling interval based on activity
                        long pollInterval = determinePollInterval(handle);
                        Thread.sleep(pollInterval);
    
                        // Check if still active
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  3. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                crawler.getCrawlerContext().setNumOfThread(numOfThread);
                final String sessionId = crawler.execute();
    
                // Wait for crawler to start running with polling
                long startTime = System.currentTimeMillis();
                while (crawler.crawlerContext.getStatus() != CrawlerStatus.RUNNING && System.currentTimeMillis() - startTime < 5000) {
                    try {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                crawler.getCrawlerContext().setNumOfThread(numOfThread);
                final String sessionId = crawler.execute();
    
                // Wait for crawler to start running with polling
                long startTime = System.currentTimeMillis();
                while (crawler.crawlerContext.getStatus() != CrawlerStatus.RUNNING && System.currentTimeMillis() - startTime < 5000) {
                    try {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/PropertyConfiguration.java

            value = props.getProperty("jcifs.smb.client.useMultiChannel");
            if (value != null) {
                this.useMultiChannelExplicitlySet = true;
                // Handle invalid boolean values by falling back to default
                if ("true".equalsIgnoreCase(value)) {
                    this.useMultiChannel = true;
                } else if ("false".equalsIgnoreCase(value)) {
                    this.useMultiChannel = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

        }
    
        @Test
        @DisplayName("auth type is always NTLM")
        void testAuthTypeConstant(@Mock HttpServletRequest mockRequest, @Mock Principal mockPrincipal) {
            // No need to stub getName() since we're not calling getRemoteUser()
            NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, mockPrincipal);
            assertEquals("NTLM", request.getAuthType());
            // Verify it returns the same value on multiple calls
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/testing-dependencies.md

    An example could be that you have an external authentication provider that you need to call.
    
    You send it a token and it returns an authenticated user.
    
    This provider might be charging you per request, and calling it might take some extra time than if you had a fixed mock user for tests.
    
    You probably want to test the external provider once, but not necessarily call it for every test that runs.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. cmd/object_api_suite_test.go

    	data []byte
    }
    
    func (r *testOneByteReadNoEOF) Read(p []byte) (n int, err error) {
    	if r.eof {
    		return 0, io.EOF
    	}
    	n = copy(p, r.data)
    	r.eof = true
    	return n, nil
    }
    
    // Wrapper for calling testMakeBucket for both Erasure and FS.
    func TestMakeBucket(t *testing.T) {
    	ExecObjectLayerTest(t, testMakeBucket)
    }
    
    // Tests validate bucket creation.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    # Sub-dependencies { #sub-dependencies }
    
    You can create dependencies that have **sub-dependencies**.
    
    They can be as **deep** as you need them to be.
    
    **FastAPI** will take care of solving them.
    
    ## First dependency "dependable" { #first-dependency-dependable }
    
    You could create a first dependency ("dependable") like:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/index.md

    /// tip
    
    You'll see what other "things", apart from functions, can be used as dependencies in the next chapter.
    
    ///
    
    Whenever a new request arrives, **FastAPI** will take care of:
    
    * Calling your dependency ("dependable") function with the correct parameters.
    * Get the result from your function.
    * Assign that result to the parameter in your *path operation function*.
    
    ```mermaid
    graph TB
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top