Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testScheduleAtFixedRate (0.09 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/ListeningScheduledExecutorServiceTest.java

        assertThat(future.get()).isEqualTo("hello");
        assertThat(recordedTimeUnit).isEqualTo(NANOSECONDS);
        assertThat(Duration.ofNanos(recordedDelay)).isEqualTo(Duration.ofMinutes(12));
      }
    
      public void testScheduleAtFixedRate() throws Exception {
        Runnable command = () -> {};
    
        ListenableScheduledFuture<?> future =
            executorService.scheduleAtFixedRate(command, Duration.ofDays(2), Duration.ofHours(4));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 6.5K bytes
    - Click Count (0)
Back to Top