Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for waitJob (0.17 sec)

  1. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

                    return;
                }
                ThreadUtil.sleep(1000L);
            }
            fail("could not start job.");
        }
    
        protected static void waitJob(final String namePrefix) {
            Boolean isRunning = false;
            int count = 0;
    
            while (count < 300 && !isRunning) { // Wait until the crawler starts
                ThreadUtil.sleep(500);
                count++;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            refresh();
            fileConfigId = getFileConfigIds(NAME_PREFIX).get(0);
    
            createJob();
            logger.info("Job is created");
            refresh();
    
            startJob(NAME_PREFIX);
    
            waitJob(NAME_PREFIX);
            refresh();
        }
    
        @BeforeEach
        protected void init() {
            refresh();
        }
    
        @AfterEach
        protected void tearDown() {
        }
    
        @AfterAll
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.6K bytes
    - Viewed (1)
  3. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      }
    
      /** Identifies all waitForXxx methods, which must be called while occupying the monitor. */
      private static boolean isWaitFor(Method method) {
        return method.getName().startsWith("waitFor");
      }
    
      /** Determines whether the given method takes a Guard as its first parameter. */
      private static boolean isGuarded(Method method) {
        Class<?>[] parameterTypes = method.getParameterTypes();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/CrawlJob.java

                });
    
                final InputStreamThread it = jobProcess.getInputStreamThread();
                it.start();
    
                final Process currentProcess = jobProcess.getProcess();
                currentProcess.waitFor();
                it.join(5000);
    
                final int exitValue = currentProcess.exitValue();
    
                if (logger.isInfoEnabled()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/SuggestJob.java

                });
    
                final InputStreamThread it = jobProcess.getInputStreamThread();
                it.start();
    
                final Process currentProcess = jobProcess.getProcess();
                currentProcess.waitFor();
                it.join(5000);
    
                final int exitValue = currentProcess.exitValue();
    
                if (logger.isInfoEnabled()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  6. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

                ByteArrayOutputStream stdout = connectStream(process.getInputStream(), latch);
                ByteArrayOutputStream stderr = connectStream(process.getErrorStream(), latch);
    
                process.waitFor(1, TimeUnit.MINUTES);
                latch.await(1, TimeUnit.MINUTES);
                return new ExecResult(args, process.exitValue(), stdout.toString(), stderr.toString());
            } catch (Exception e) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      }
    
      /** Identifies all waitForXxx methods, which must be called while occupying the monitor. */
      private static boolean isWaitFor(Method method) {
        return method.getName().startsWith("waitFor");
      }
    
      /** Determines whether the given method takes a Guard as its first parameter. */
      private static boolean isGuarded(Method method) {
        Class<?>[] parameterTypes = method.getParameterTypes();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

                });
    
                final InputStreamThread it = jobProcess.getInputStreamThread();
                it.start();
    
                final Process currentProcess = jobProcess.getProcess();
                currentProcess.waitFor();
                it.join(5000);
    
                final int exitValue = currentProcess.exitValue();
    
                if (logger.isInfoEnabled()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * only by a thread currently occupying this monitor.
       *
       * @throws InterruptedException if interrupted while waiting
       */
      public void waitFor(Guard guard) throws InterruptedException {
        if (!((guard.monitor == this) && lock.isHeldByCurrentThread())) {
          throw new IllegalMonitorStateException();
        }
        if (!guard.isSatisfied()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      auto fetcher = [&counter](const string& filename, size_t offset, size_t n,
                                char* buffer, TF_Status* status) -> int64_t {
        counter.DecrementCount();
        if (!counter.WaitFor(std::chrono::seconds(10))) {
          // This avoids having the test time out, which is harder to debug.
          TF_SetStatus(status, TF_FAILED_PRECONDITION,
                       "desired concurrency not reached");
          return -1;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
Back to top