- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 660 for _wait (0.02 seconds)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
awaitTermination(0); } /** * Waits for the crawling process to terminate for a specified duration. * @param millis The maximum time to wait in milliseconds. A value of 0 means wait indefinitely. */ public void awaitTermination(final long millis) { if (parentThread != null) { try { if (logger.isDebugEnabled()) {
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 17K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
assertFalse(channelInfo.isHealthy()); } @Test void testActivityTracking() { long initialTime = channelInfo.getLastActivityTime(); // Wait a bit and update activity try { Thread.sleep(10); } catch (InterruptedException e) { Thread.currentThread().interrupt(); } channelInfo.updateActivity();
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.4K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
crawler.getCrawlerContext().setMaxAccessCount(maxCount); 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) {
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Tue Nov 11 13:40:14 GMT 2025 - 25.8K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/Service.java
*/ void awaitRunning(); /** * Waits for the {@link Service} to reach the {@linkplain State#RUNNING running state} for no more * than the given time. * * @param timeout the maximum time to wait * @throws TimeoutException if the service has not reached the given state within the deadline * @throws IllegalStateException if the service reaches a state from which it is not possible to
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 12.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/AddressPolicy.kt
* Connections will still be closed if they idle beyond the keep-alive but will be replaced. */ @JvmField val minimumConcurrentCalls: Int = 0, /** How long to wait to retry pre-emptive connection attempts that fail. */ @JvmField val backoffDelayMillis: Long = 60 * 1000, /** How much jitter to introduce in connection retry backoff delays */ @JvmField val backoffJitterMillis: Int = 100,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Jun 03 17:10:08 GMT 2025 - 1.3K bytes - Click Count (0) -
fuzzing/fuzzingserver-test.sh
fi which jq if [ $? != 0 ]; then echo "Run 'brew install jq'" exit 1 fi trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT set -ex wstest -m fuzzingserver -s fuzzingserver-config.json & sleep 2 # wait for wstest to start java -jar target/okhttp-tests-*-jar-with-dependencies.jar jq '.[] as $in | $in | keys[] | . + " " + $in[.].behavior' target/fuzzingserver-report/index.json > target/fuzzingserver-actual.txt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Mar 26 02:01:32 GMT 2019 - 673 bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/internal/DefaultLegacySupportTest.java
} class MyRunnable implements Runnable { private volatile MavenSession session; @Override public void run() { try { latch.await(); } catch (InterruptedException ignore) { // Test may fail if we get interrupted } session = defaultLegacySupport.getSession(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.4K bytes - Click Count (0) -
internal/logger/target/http/http.go
// there is something in the log queue // process it first, even if we tickered // first, or we have not received any events // yet, still wait on it. continue } // If we are doing batching, we should wait // at least for a second, before sending. // Even if there is nothing in the queue. if h.batchSize > 1 && time.Since(lastBatchProcess) < time.Second { continue
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
public void testExpiration() { // Set a very short max age entry.setMaxAge(100); // 100ms assertFalse(entry.isExpired()); assertFalse(entry.needsRefresh()); // Wait for expiration try { Thread.sleep(150); } catch (InterruptedException e) { // Ignore } assertTrue(entry.isExpired());
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 8.4K bytes - Click Count (0) -
cmd/batch-rotate.go
if success { break } if delay > 0 { time.Sleep(delay + time.Duration(rnd.Float64()*float64(delay))) } } if wait := globalBatchConfig.KeyRotationWait(); wait > 0 { time.Sleep(wait) } }() } wk.Wait() ri.Complete = !failed && ri.ObjectsFailed == 0 ri.Failed = failed || ri.ObjectsFailed > 0 globalBatchJobsMetrics.save(job.ID, ri)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 14.7K bytes - Click Count (0)