Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 222 for Task (0.12 sec)

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

    /**
     * An abstract {@code ScheduledExecutorService} that allows subclasses to {@linkplain
     * #wrapTask(Callable) wrap} tasks before they are submitted to the underlying executor.
     *
     * <p>Note that task wrapping may occur even if the task is never executed.
     *
     * @author Luke Sandberg
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class WrappingScheduledExecutorService extends WrappingExecutorService
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/CompletionServiceStub.java

            FutureTask<ProjectSegment> projectBuildFutureTask = new FutureTask<>(task);
            projectBuildFutureTasks.add(projectBuildFutureTask);
            if (finishImmediately) {
                projectBuildFutureTask.run();
            }
            return projectBuildFutureTask;
        }
    
        public Future<ProjectSegment> submit(Runnable task, ProjectSegment result) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

            ObjectFactory objects = project.getObjects();
            // TODO: This breaks if version is changed later
            Object version = project.getVersion();
    
            TaskProvider<Javadoc> javadocAll = tasks.register("javadocAll", Javadoc.class, task -> {
                task.setGroup("documentation");
                task.setDescription("Generate Javadocs for all API classes");
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Oct 16 13:03:20 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

            final Tuple3<String, String, String> task = new Tuple3<>(getName(), thumbnailId, path);
            if (logger.isDebugEnabled()) {
                logger.debug("Create thumbnail task: {}", task);
            }
            return task;
        }
    
        @Override
        public boolean generate(final String thumbnailId, final File outputFile) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/GoalTask.java

     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    /**
     * A task that is a goal.
     * <p>
     * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
     *
     * @since 3.0
     */
    public final class GoalTask extends Task {
        public GoalTask(String pluginGoal) {
            super(pluginGoal);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * MoreExecutors#newDirectExecutorService} and subject to the same constraints.
       *
       * <p>Although all tasks are immediately executed in the thread that submitted the task, this
       * {@code ExecutorService} imposes a small locking overhead on each task submission in order to
       * implement shutdown and termination behavior.
       *
       * <p>Because of the nature of single-thread execution, the methods {@code scheduleAtFixedRate}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 26 22:04:00 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleExecutionPlanCalculator.java

    import org.apache.maven.project.MavenProject;
    
    /**
     * @since 3.0
     */
    public interface LifecycleExecutionPlanCalculator {
        MavenExecutionPlan calculateExecutionPlan(MavenSession session, MavenProject project, List<Task> tasks)
                throws PluginNotFoundException, PluginResolutionException, LifecyclePhaseNotFoundException,
                        PluginDescriptorParsingException, MojoNotFoundException, InvalidPluginDescriptorException,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

                  }
                });
        Runnable task =
            new Runnable() {
              @Override
              public void run() {
                numCalls.incrementAndGet();
              }
            };
        assertThrows(RejectedExecutionException.class, () -> executor.execute(task));
        assertEquals(0, numCalls.get());
        reject.set(false);
        executor.execute(task);
        assertEquals(1, numCalls.get());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/WrappingExecutorService.java

      }
    
      @Override
      public final Future<?> submit(Runnable task) {
        return delegate.submit(wrapTask(task));
      }
    
      @Override
      public final <T extends @Nullable Object> Future<T> submit(
          Runnable task, @ParametricNullness T result) {
        return delegate.submit(wrapTask(task), result);
      }
    
      @Override
      public final <T extends @Nullable Object> List<Future<T>> invokeAll(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

                );
                task.getDocsDirectory().convention(extension.getDocumentationRenderedRoot());
                task.getPort().convention(webserverPort);
    
                task.dependsOn(extension.getRenderedDocumentation());
            });
    
            tasks.register("docs", task -> {
                task.setDescription("Generates all documentation");
                task.setGroup("documentation");
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 17 20:04:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top