- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 166 for Delay (0.02 seconds)
-
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
String message = "inputFuture=[" + localInputFuture + "]"; if (localTimer != null) { long delay = localTimer.getDelay(MILLISECONDS); // Negative delays look confusing in an error message if (delay > 0) { message += ", remaining delay=[" + delay + " ms]"; } } return message; } return null; } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8K bytes - Click Count (0) -
src/main/java/jcifs/SmbException.java
} /** * Gets recommended retry delay in milliseconds * * @return retry delay or 0 if no retry */ public long getRetryDelay() { switch (severity) { case RECOVERABLE: return 100; // Immediate retry with small delay case TRANSIENT: return 5000; // Wait 5 seconds default:Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
} private void scheduleRecovery(ChannelInfo channel, FailoverState state) { state.incrementRetry(); // For test purposes, execute recovery immediately without delay // In production, this might use the delay from getNextRetryTime() executor.submit(() -> attemptRecovery(channel, state)); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 11.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/ConfigureTimeouts.kt
.callTimeout(10, TimeUnit.SECONDS) .build() fun run() { val request = Request .Builder() .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay. .build() client.newCall(request).execute().use { response -> println("Response completed: $response") } } } fun main() { ConfigureTimeouts().run()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.3K bytes - Click Count (0) -
cmd/batch-job-common-types.go
type BatchJobRetry struct { line, col int Attempts int `yaml:"attempts" json:"attempts"` // number of retry attempts Delay time.Duration `yaml:"delay" json:"delay"` // delay between each retries } var _ yaml.Unmarshaler = &BatchJobRetry{} // UnmarshalYAML - BatchJobRetry extends unmarshal to extract line, column informationCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.9K bytes - Click Count (0) -
cmd/batch-expire_test.go
token: Bearer xxxxx # optional authentication token for the notification endpoint retry: attempts: 10 # number of retries for the job before giving up delay: 500ms # least amount of delay between each retry ` var job BatchJobRequest err := yaml.Unmarshal([]byte(expireYaml), &job) if err != nil { t.Fatal("Failed to parse batch-job-expire yaml", err) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 01 12:53:30 GMT 2024 - 5.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbOperationException.java
if (!exponentialBackoff) { return initialDelayMs; } long delay = initialDelayMs; for (int i = 1; i < attemptNumber; i++) { delay = (long) (delay * backoffMultiplier); } return Math.min(delay, maxDelayMs); } public int getMaxAttempts() { return maxAttempts; }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
@Override public <V> ListenableScheduledFuture<V> schedule( Callable<V> callable, long delay, TimeUnit unit) { return NeverScheduledFuture.create(); } @Override public ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { return NeverScheduledFuture.create(); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 6.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java
.callTimeout(10, TimeUnit.SECONDS) .build(); } public void run() throws Exception { Request request = new Request.Builder() .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay. .build(); try (Response response = client.newCall(request).execute()) { System.out.println("Response completed: " + response); } }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Sep 28 18:00:26 GMT 2019 - 1.5K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt
import okhttp3.Request class PerCallSettings { private val client = OkHttpClient() fun run() { val request = Request .Builder() .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay. .build() // Copy to customize OkHttp for this request. val client1 = client .newBuilder() .readTimeout(500, TimeUnit.MILLISECONDS) .build()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.7K bytes - Click Count (0)