Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 47 for exec (0.24 sec)

  1. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

            new Thread(() -> latch.countDown()).start();
          }
    
          future.addListener(listenerLatch::countDown, exec);
        }
    
        assertSame(Boolean.TRUE, future.get());
        // Wait for the listener latch to complete.
        listenerLatch.await(500, MILLISECONDS);
    
        exec.shutdown();
        exec.awaitTermination(500, MILLISECONDS);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

            Map<String, List<String>> goals = new HashMap<>();
            lifecycle.phases().forEach(phase -> phase.plugins()
                    .forEach(plugin -> plugin.getExecutions().forEach(exec -> exec.getGoals()
                            .forEach(goal -> goals.computeIfAbsent(phase.name(), n -> new ArrayList<>())
                                    .add(plugin.getGroupId() + ":" + plugin.getArtifactId() + ":" + plugin.getVersion()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        super.setUp();
    
        exec = Executors.newCachedThreadPool();
    
        task.addListener(
            new Runnable() {
              @Override
              public void run() {
                listenerLatch.countDown();
              }
            },
            directExecutor());
      }
    
      @Override
      protected void tearDown() throws Exception {
        if (exec != null) {
          exec.shutdown();
        }
    
        super.tearDown();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java

      protected ForwardingListenableFuture() {}
    
      @Override
      protected abstract ListenableFuture<? extends V> delegate();
    
      @Override
      public void addListener(Runnable listener, Executor exec) {
        delegate().addListener(listener, exec);
      }
    
      // TODO(cpovirk): Use standard Javadoc form for SimpleForwarding* class and constructor
      /**
       * A simplified version of {@link ForwardingListenableFuture} where subclasses can pass in an
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 04 12:23:41 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

            crawlingInfoHelper.putToInfoMap(Constants.DATA_CRAWLING_EXEC_TIME, Long.toString(execTime));
            if (logger.isInfoEnabled()) {
                logger.info("[EXEC TIME] crawling time: {}ms", execTime);
            }
    
            crawlingInfoHelper.putToInfoMap(Constants.DATA_INDEX_EXEC_TIME, Long.toString(indexUpdateCallback.getExecuteTime()));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/Constants.java

        public static final String WEB_FS_CRAWLING_EXEC_TIME = "WebFsCrawlExecTime";
    
        public static final String WEB_FS_INDEX_EXEC_TIME = "WebFsIndexExecTime";
    
        public static final String WEB_FS_INDEX_SIZE = "WebFsIndexSize";
    
        public static final String DATA_CRAWLING_EXEC_TIME = "DataCrawlExecTime";
    
        public static final String DATA_INDEX_EXEC_TIME = "DataIndexExecTime";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            final long execTime = systemHelper.getCurrentTimeAsLong() - startTime;
            crawlingInfoHelper.putToInfoMap(Constants.WEB_FS_CRAWLING_EXEC_TIME, Long.toString(execTime));
            if (logger.isInfoEnabled()) {
                logger.info("[EXEC TIME] crawling time: {}ms", execTime);
            }
    
            indexUpdater.setFinishCrawling(true);
            try {
                indexUpdater.join();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

      }
    
      ListenableFutureTask(Runnable runnable, @ParametricNullness V result) {
        super(runnable, result);
      }
    
      @Override
      public void addListener(Runnable listener, Executor exec) {
        executionList.add(listener, exec);
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public V get(long timeout, TimeUnit unit)
          throws TimeoutException, InterruptedException, ExecutionException {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

        }
    
        @Override
        protected Future<V> delegate() {
          return delegate;
        }
    
        @Override
        public void addListener(Runnable listener, Executor exec) {
          executionList.add(listener, exec);
    
          // When a listener is first added, we run a task that will wait for the delegate to finish,
          // and when it is done will run the listeners.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

                classpath.from(resolveGuava());
            }
            additionalJapicmpClasspath = classpath;
        }
    
        @TaskAction
        public void exec() {
            ConfigurableFileCollection oldArchives = getOldArchives();
            ConfigurableFileCollection newArchives = getNewArchives();
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 26 10:58:32 GMT 2023
    - 13.3K bytes
    - Viewed (0)
Back to top