Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for waitFor (0.26 sec)

  1. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                mt.start();
    
                final InputStreamThread it = new InputStreamThread(currentProcess.getInputStream(), commandOutputEncoding, maxOutputLine);
                it.start();
    
                currentProcess.waitFor();
                it.join(5000);
    
                if (mt.isTeminated()) {
                    throw new CommandExecutionException("The command execution is timeout: " + String.join(" ", commands));
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            private final int exitValue;
    
            public TestProcess(int exitValue) {
                this.exitValue = exitValue;
            }
    
            @Override
            public int waitFor() throws InterruptedException {
                return exitValue;
            }
    
            @Override
            public int exitValue() {
                return exitValue;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            private final int exitValue;
    
            public TestProcess(int exitValue) {
                this.exitValue = exitValue;
            }
    
            @Override
            public int waitFor() throws InterruptedException {
                return exitValue;
            }
    
            @Override
            public int exitValue() {
                return exitValue;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K 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()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            private final int exitValue;
    
            public MockProcess(int exitValue) {
                this.exitValue = exitValue;
            }
    
            @Override
            public int waitFor() {
                return exitValue;
            }
    
            @Override
            public int exitValue() {
                return exitValue;
            }
    
            @Override
            public void destroy() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.27.md

    - The `WaitFor` and `WaitForWithContext` functions in the wait package have now been marked private. Callers should use the equivalent `Poll*` method with a zero duration interval. ([#115116](https://github.com/kubernetes/kubernetes/pull/115116), [@smarterclayt...
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jul 17 07:48:22 UTC 2024
    - 466.3K bytes
    - Viewed (2)
  7. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      volatile @Nullable Waiter waitersField;
    
      /** Non-volatile write of the thread to the {@link Waiter#thread} field. */
      private static void putThread(Waiter waiter, Thread newValue) {
        ATOMIC_HELPER.putThread(waiter, newValue);
      }
    
      /** Non-volatile write of the waiter to the {@link Waiter#next} field. */
      private static void putNext(Waiter waiter, @Nullable Waiter newValue) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      volatile @Nullable Waiter waitersField;
    
      /** Non-volatile write of the thread to the {@link Waiter#thread} field. */
      private static void putThread(Waiter waiter, Thread newValue) {
        ATOMIC_HELPER.putThread(waiter, newValue);
      }
    
      /** Non-volatile write of the waiter to the {@link Waiter#next} field. */
      private static void putNext(Waiter waiter, @Nullable Waiter newValue) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        // Check that we wait long enough anyway (presumably as long as MAX_VALUE nanos):
        TimedWaiterThread waiter = new TimedWaiterThread(future, Long.MAX_VALUE, SECONDS);
        waiter.start();
        waiter.awaitWaiting();
    
        future.set(1);
        waiter.join();
      }
    
      @J2ktIncompatible // TODO(b/324550390): Enable
      public void testSetNull() throws Exception {
        future.set(null);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        Thread waiter =
            new Thread() {
              @Override
              public void run() {
                try {
                  service.awaitTermination(1, DAYS);
                } catch (InterruptedException e) {
                  return;
                }
              }
            };
        waiter.start();
        awaitTimedWaiting(waiter);
        service.shutdown();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top