Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for delay (0.17 sec)

  1. cmd/batch-handlers.go

    	}
    	if err := ri.load(ctx, api, job); err != nil {
    		return err
    	}
    	if ri.Complete {
    		return nil
    	}
    	globalBatchJobsMetrics.save(job.ID, ri)
    
    	delay := job.Replicate.Flags.Retry.Delay
    	if delay == 0 {
    		delay = batchReplJobDefaultRetryDelay
    	}
    	rnd := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	hasTags := len(r.Flags.Filter.Tags) != 0
    	isMetadata := len(r.Flags.Filter.Metadata) != 0
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          throw new InterruptedException();
        }
        Object localValue = value;
        if (localValue != null & !(localValue instanceof SetFuture)) {
          return getDoneValue(localValue);
        }
        // we delay calling nanoTime until we know we will need to either park or spin
        final long endNanos = remainingNanos > 0 ? System.nanoTime() + remainingNanos : 0;
        long_wait_loop:
        if (remainingNanos >= SPIN_THRESHOLD_NANOS) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                                        e.getModelId(), e.getMessage(), pomFile != null ? pomFile.toFile() : null, e);
                            }
                            // validation error, continue project building and delay failing to help IDEs
                            error = e;
                        }
    
                        modelProblems = result.getProblems();
    
                        initProject(project, Collections.emptyMap(), result);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

          AsyncCallable<O> callable,
          long delay,
          TimeUnit timeUnit,
          ScheduledExecutorService executorService) {
        TrustedListenableFutureTask<O> task = TrustedListenableFutureTask.create(callable);
        Future<?> scheduled = executorService.schedule(task, delay, timeUnit);
        /*
         * Even when the user interrupts the task, we pass `false` to `cancel` so that we don't
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilder.java

        }
      }
    
      static final Ticker NULL_TICKER =
          new Ticker() {
            @Override
            public long read() {
              return 0;
            }
          };
    
      // We use a holder class to delay initialization: https://github.com/google/guava/issues/6566
      private static final class LoggerHolder {
        static final Logger logger = Logger.getLogger(CacheBuilder.class.getName());
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      ) {
        setUp(protocol, mockWebServer)
        // Ping every 500 ms, starting at 500 ms.
        client =
          client.newBuilder()
            .pingInterval(Duration.ofMillis(500))
            .build()
    
        // Delay the response to give 1 ping enough time to be sent and replied to.
        server.enqueue(
          MockResponse.Builder()
            .bodyDelay(750, TimeUnit.MILLISECONDS)
            .body("ABC")
            .build(),
        )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        timeToFirstByte()
      }
    
      /**
       * Test to confirm that events are reported at the time they occur and no earlier and no later.
       * This inserts a bunch of synthetic 250 ms delays into both client and server and confirms that
       * the same delays make it back into the events.
       *
       * We've had bugs where we report an event when we request data rather than when the data actually
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
Back to top