Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for scheduleTasks (0.27 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/buildtree/BuildTreeWorkGraph.java

            /**
             * Adds the given tasks and their dependencies to the work graph.
             */
            void scheduleTasks(Collection<TaskIdentifier.TaskBasedTaskIdentifier> tasksToBuild);
    
            /**
             * Adds add task filter to the given build.
             */
            void addFilter(BuildState target, Spec<Task> filter);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 31 05:15:28 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultBuildLogicBuildQueue.java

            buildTreeWorkGraphController.withNewWorkGraph(graph -> {
                graph
                    .scheduleWork(builder -> builder.scheduleTasks(tasks))
                    .runWork()
                    .rethrow();
                return null;
            });
            return continuationUnderLock.get();
        }
    
        @SuppressWarnings("try")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 16 23:00:15 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultIncludedBuildTaskGraph.java

                buildControllerOf(target).addFinalization(finalization);
            }
    
            @Override
            public void scheduleTasks(Collection<TaskIdentifier.TaskBasedTaskIdentifier> tasksToBuild) {
                for (TaskIdentifier.TaskBasedTaskIdentifier identifier : tasksToBuild) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:04:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. okhttp/src/main/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.lock.withLock { futureTasks.toList() }
    
      /**
       * Schedules [task] for execution in [delayNanos]. A task may only have one future execution
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top