Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for scheduledTasks (1.12 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

              }
              log += "scheduledTasks=${redQueue.scheduledTasks}"
              return -1L
            }
          }
        redQueue.schedule(task, 100.µs)
    
        redQueue.execute("task two", 200.µs) {
          log += "scheduledTasks=${redQueue.scheduledTasks}"
        }
    
        taskFaker.advanceUntil(100.µs)
        assertThat(log).containsExactly(
          "scheduledTasks=[task two, task one]",
        )
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 23K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

      /**
       * Returns a snapshot of tasks currently scheduled for execution. Does not include the
       * currently-executing task unless it is also scheduled for future execution.
       */
      val scheduledTasks: List<Task>
        get() = taskRunner.withLock { futureTasks.toList() }
    
      /**
       * Schedules [task] for execution in [delayNanos]. A task may only have one future execution
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

        }
    
        // Test annotation on method parameter
        public void test_annotationOnMethod() throws Exception {
            Method method = TestService.class.getDeclaredMethod("scheduledTask", String.class);
            Annotation[][] paramAnnotations = method.getParameterAnnotations();
    
            assertEquals(1, paramAnnotations.length);
            boolean hasCronExpression = false;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top