Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for newFixedRateSchedule (0.08 seconds)

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

         * @since 33.4.0 (but since 28.0 in the JRE flavor)
         */
        @IgnoreJRERequirement // Users will use this only if they're already using Duration
        public static Scheduler newFixedRateSchedule(Duration initialDelay, Duration period) {
          return newFixedRateSchedule(
              toNanosSaturated(initialDelay), toNanosSaturated(period), NANOSECONDS);
        }
    
        /**
         * Returns a {@link Scheduler} that schedules the task using the {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        assertEquals(DELAY, delay);
        assertEquals(UNIT, unit);
        assertEquals(testRunnable, command);
      }
    
      public void testFixedRateSchedule() {
        Scheduler schedule = Scheduler.newFixedRateSchedule(INITIAL_DELAY, DELAY, UNIT);
        Cancellable unused =
            schedule.schedule(
                null,
                new ScheduledThreadPoolExecutor(1) {
                  @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        assertEquals(DELAY, delay);
        assertEquals(UNIT, unit);
        assertEquals(testRunnable, command);
      }
    
      public void testFixedRateSchedule() {
        Scheduler schedule = Scheduler.newFixedRateSchedule(INITIAL_DELAY, DELAY, UNIT);
        Cancellable unused =
            schedule.schedule(
                null,
                new ScheduledThreadPoolExecutor(1) {
                  @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
Back to Top