- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 205 for delay (0.08 sec)
-
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); } }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Sep 28 18:00:26 UTC 2019 - 1.5K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MockExecutor.java
singleScheduledActions.add(command); } @Override public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { singleScheduledActions.add(command); return null; } @Override public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { throw new UnsupportedOperationException(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 07 08:18:49 UTC 2021 - 4.4K bytes - Viewed (0) -
pilot/pkg/networking/grpcgen/grpcecho_test.go
targetPort: grpc port: 7071 `, ConfigString: ` apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: echo-delay spec: hosts: - echo-app.default.svc.cluster.local http: - fault: delay: percent: 100 fixedDelay: 100ms route: - destination: host: echo-app.default.svc.cluster.local `,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 12 18:20:36 UTC 2024 - 8.3K bytes - Viewed (0) -
pkg/kubelet/nodeshutdown/systemd/inhibit_linux.go
if err != nil { return 0, fmt.Errorf("failed reading InhibitDelayMaxUSec property from logind: %w", err) } delay, ok := res.Value().(uint64) if !ok { return 0, fmt.Errorf("InhibitDelayMaxUSec from logind is not a uint64 as expected") } // InhibitDelayMaxUSec is in microseconds duration := time.Duration(delay) * time.Microsecond return duration, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 04 06:56:50 UTC 2023 - 6.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java
protected boolean ignoreException = true; /* * (non-Javadoc) * * @see org.codelibs.fess.crawler.interval.IntervalController#delay(int) */ @Override public void delay(final int type) { try { switch (type) { case PRE_PROCESSING: delayBeforeProcessing(); break; case POST_PROCESSING:
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.3K bytes - Viewed (0) -
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(); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 17:12:37 UTC 2024 - 6.6K bytes - Viewed (0) -
pkg/test/framework/telemetry.go
// See the License for the specific language governing permissions and // limitations under the License. package framework import ( "flag" "time" ) var ( // TelemetryRetryDelay is the retry delay used in tests. TelemetryRetryDelay time.Duration // TelemetryRetryTimeout is the retry timeout used in tests. TelemetryRetryTimeout time.Duration
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 07 19:57:17 UTC 2022 - 1.4K bytes - Viewed (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(); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 17:12:37 UTC 2024 - 6.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CancelCall.kt
private val executor = Executors.newScheduledThreadPool(1) private val client = OkHttpClient() fun run() { val request = Request.Builder() .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay. .build() val startNanos = System.nanoTime() val call = client.newCall(request) // Schedule a job to cancel the call in 1 second. executor.schedule({
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
*/ @Override protected void expectContents(Collection<E> expectedCollection) { List<E> expectedList = Helpers.copyToList(expectedCollection); // Avoid expectEquals() here to delay reason manufacture until necessary. if (getList().size() != expectedList.size()) { fail("size mismatch: " + reportContext(expectedList)); } for (int i = 0; i < expectedList.size(); i++) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2.8K bytes - Viewed (0)