Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 640 for _wait (0.02 sec)

  1. src/main/java/org/codelibs/core/timer/TimeoutManager.java

                }
            }
        }
    
        /**
         * Interrupts the thread and waits for it to terminate.
         *
         * @param timeoutMillis
         *            The time to wait (in milliseconds)
         * @return <code>true</code> if the thread has terminated
         * @throws InterruptedException
         *             If interrupted while waiting
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbException.java

         */
        public long getRetryDelay() {
            switch (severity) {
            case RECOVERABLE:
                return 100; // Immediate retry with small delay
            case TRANSIENT:
                return 5000; // Wait 5 seconds
            default:
                return 0; // No retry
            }
        }
    
        @Override
        public String toString() {
            StringBuilder sb = new StringBuilder();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. internal/config/scanner/scanner.go

    	// Alert upon this many excess object versions
    	ExcessVersions int64 // 100
    
    	// Alert upon this many excess sub-folders per folder in an erasure set.
    	ExcessFolders int64 // 50000
    
    	// MaxWait is maximum wait time between operations
    	MaxWait time.Duration
    	// Cycle is the time.Duration between each scanner cycles
    	Cycle time.Duration
    }
    
    // DefaultKVS - default KV config for heal settings
    var DefaultKVS = config.KVS{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                    this.inFlightLookups.add(name);
                    return null;
                }
                while (this.inFlightLookups.contains(name)) {
                    try {
                        this.inFlightLookups.wait();
                    } catch (final InterruptedException e) {
                        log.trace("Interrupted", e);
                    }
                }
            }
            obj = getCachedAddress(name);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  5. tests/lru_test.go

    	wg := sync.WaitGroup{}
    	wg.Add(1000)
    	for i := 0; i < 1000; i++ {
    		go func(i int) {
    			lc.Add(fmt.Sprintf("key-%d", i/10), fmt.Sprintf("val-%d", i/10))
    			wg.Done()
    		}(i)
    	}
    	wg.Wait()
    	if lc.Len() != 100 {
    		t.Fatalf("length differs from expected")
    	}
    }
    
    func TestLRUInvalidateAndEvict(t *testing.T) {
    	var evicted int
    	lc := lru.NewLRU(-1, func(_, _ string) { evicted++ }, 0)
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Sep 08 09:19:22 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/testing.md

    为你需要检查的地方用标准的Python表达式写个简单的 `assert` 语句(重申,标准的`pytest`)。
    
    {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *}
    
    /// tip | 提示
    
    注意测试函数是普通的 `def`,不是 `async def`。
    
    还有client的调用也是普通的调用,不是用 `await`。
    
    这让你可以直接使用 `pytest` 而不会遇到麻烦。
    
    ///
    
    /// note | 技术细节
    
    你也可以用 `from starlette.testclient import TestClient`。
    
    **FastAPI** 提供了和 `starlette.testclient` 一样的 `fastapi.testclient`,只是为了方便开发者。但它直接来自Starlette。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

     *   <li>Exception tracking and aggregation</li>
     *   <li>Request lifecycle monitoring through listener</li>
     * </ul>
     *
     * <p>By default, it will:</p>
     * <ul>
     *   <li>Retry up to 5 times</li>
     *   <li>Wait 500ms between retries</li>
     * </ul>
     *
     */
    public class FaultTolerantClient implements CrawlerClient {
    
        /** Logger instance for this class */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/witness/MockWitnessService.java

                    log.debug("Error closing server socket", e);
                }
            }
    
            if (serverThread != null) {
                try {
                    serverThread.join(5000); // Wait up to 5 seconds
                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                }
            }
    
            registrations.clear();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. docs/integrations/veeam/README.md

    ## Test the setup
    
    The next time the backup job runs, you can use the  `mc admin trace myminio` command and verify traffic is flowing to the MinIO nodes. For Veeam Backup and Replication you will need to wait for the backup to complete to the performance tier before it migrates data to the capacity tier (i.e., MinIO).
    
    ```
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. internal/http/server.go

    		return http.ErrServerClosed
    	}
    
    	// Close underneath HTTP listener.
    	srv.listenerMutex.Lock()
    	err := srv.listener.Close()
    	srv.listenerMutex.Unlock()
    	if err != nil {
    		return err
    	}
    
    	// Wait for opened connection to be closed up to Shutdown timeout.
    	return nil
    }
    
    // UseIdleTimeout configure idle connection timeout
    func (srv *Server) UseIdleTimeout(d time.Duration) *Server {
    	srv.IdleTimeout = d
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top