Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for reschedule (0.07 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

      }
    
      @Override
      public ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) {
        Preconditions.checkNotNull(command, "command must not be null");
        Preconditions.checkNotNull(unit, "unit must not be null!");
        return schedule(callable(command), delay, unit);
      }
    
      @Override
      public <V> ListenableScheduledFuture<V> schedule(
          Callable<V> callable, long delay, TimeUnit unit) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

      }
    
      @Override
      public ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) {
        Preconditions.checkNotNull(command, "command must not be null");
        Preconditions.checkNotNull(unit, "unit must not be null!");
        return schedule(callable(command), delay, unit);
      }
    
      @Override
      public <V> ListenableScheduledFuture<V> schedule(
          Callable<V> callable, long delay, TimeUnit unit) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java

        protected Class<? extends LaJob> jobClass = ScriptExecutorJob.class;
    
        /** The timestamp when the scheduler was last updated */
        protected long schedulerTime;
    
        @Override
        public void schedule(final LaCron cron) {
            schedulerTime = systemHelper.getCurrentTimeAsLong();
            scheduledJobService.start(cron);
    
            final String myName = fessConfig.getSchedulerTargetName();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top