Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for reschedule (0.04 sec)

  1. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            wrappedRunnable.run();
            reschedule();
            return null;
          }
    
          /**
           * Atomically reschedules this task and assigns the new future to {@link
           * #cancellationDelegate}.
           */
          @CanIgnoreReturnValue
          Cancellable reschedule() {
            // invoke the callback outside the lock, prevents some shenanigans.
            Schedule schedule;
            try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            wrappedRunnable.run();
            reschedule();
            return null;
          }
    
          /**
           * Atomically reschedules this task and assigns the new future to {@link
           * #cancellationDelegate}.
           */
          @CanIgnoreReturnValue
          Cancellable reschedule() {
            // invoke the callback outside the lock, prevents some shenanigans.
            Schedule schedule;
            try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/JobHelper.java

                        logger.info("Starting Job {}:{}", id, scheduledJob.getName());
                        final String cronExpression = scheduledJob.getCronExpression();
                        job.reschedule(cronExpression, op -> op.changeNoticeLogToDebug().params(paramsOp));
                    } else {
                        logger.info("Inactive Job {}:{}", id, scheduledJob.getName());
                        job.becomeNonCron();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

       */
      fun schedule(
        task: Task,
        delayNanos: Long = 0L,
      ) {
        taskRunner.withLock {
          if (shutdown) {
            if (task.cancelable) {
              taskRunner.logger.taskLog(task, this) { "schedule canceled (queue is shutdown)" }
              return
            }
            taskRunner.logger.taskLog(task, this) { "schedule failed (queue is shutdown)" }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            public void scheduledTask(@CronExpression String schedule) {
                // Method for testing parameter annotation
            }
        }
    
        private static class TestConstructor {
            private final String schedule;
    
            public TestConstructor(@CronExpression String schedule) {
                this.schedule = schedule;
            }
    
            public String getSchedule() {
                return schedule;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

          "FINE: Q10000 finished run in   0 µs: task",
        )
      }
    
      @Test fun executeRepeated() {
        val delays = mutableListOf(50.µs, 150.µs, -1L)
        redQueue.schedule("task", 100.µs) {
          log += "run@${taskFaker.nanoTime}"
          return@schedule delays.removeAt(0)
        }
    
        taskFaker.advanceUntil(0.µs)
        assertThat(log).containsExactly()
    
        taskFaker.advanceUntil(100.µs)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 23K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        MockExecutor mock = new MockExecutor();
        TestExecutor testExecutor = new TestExecutor(mock);
    
        Future<?> unused1 = testExecutor.schedule(DO_NOTHING, 10, MINUTES);
        mock.assertLastMethodCalled("scheduleRunnable", 10, MINUTES);
    
        Future<?> unused2 = testExecutor.schedule(callable(DO_NOTHING), 5, SECONDS);
        mock.assertLastMethodCalled("scheduleCallable", 5, SECONDS);
      }
    
      public void testSchedule_repeating() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

      }
    
      /**
       * Creates a scheduled executor service that runs each task in the thread that invokes {@code
       * execute/submit/schedule}, as in {@link CallerRunsPolicy}. This applies both to individually
       * submitted tasks and to collections of tasks submitted via {@code invokeAll}, {@code invokeAny},
       * {@code schedule}, {@code scheduleAtFixedRate}, and {@code scheduleWithFixedDelay}. In the case
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. .github/dependabot.yml

    # easily import the generated PRs into our internal repo.
    #  - package-ecosystem: "maven"
    #    directory: "/"
    #    schedule:
    #      interval: "weekly"
    #    groups:
    #      dependencies:
    #        applies-to: version-updates
    #        patterns:
    #          - "*"
    #  - package-ecosystem: "maven"
    #    directory: "/android"
    #    schedule:
    #      interval: "weekly"
    #    groups:
    #      dependencies:
    #        applies-to: version-updates
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Mar 21 21:15:53 UTC 2025
    - 762 bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/CancelCall.kt

            .build()
    
        val startNanos = System.nanoTime()
        val call = client.newCall(request)
    
        // Schedule a job to cancel the call in 1 second.
        executor.schedule({
          System.out.printf("%.2f Canceling call.%n", (System.nanoTime() - startNanos) / 1e9f)
          call.cancel()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top