Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 32 for waitfor (0.06 seconds)

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

       * @since 33.4.0 (but since 28.0 in the JRE flavor)
       */
      @IgnoreJRERequirement // Users will use this only if they're already using Duration.
      public boolean waitFor(Guard guard, Duration time) throws InterruptedException {
        return waitFor(guard, toNanosSaturated(time), NANOSECONDS);
      }
    
      /**
       * Waits for the guard to be satisfied. Waits at most the given time, and may be interrupted. May
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 43.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        return method.getName().startsWith("enterIf");
      }
    
      /** 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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                ist.start();
    
                if (logger.isDebugEnabled()) {
                    logger.debug("Waiting for {}.", getName());
                }
    
                if (p.waitFor(commandTimeout + commandDestroyTimeout, TimeUnit.MILLISECONDS)) {
                    if (task.isExecuted()) {
                        // Process was killed by the timer.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        return method.getName().startsWith("enterIf");
      }
    
      /** 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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

                } catch (final InterruptedException e) {
                    logger.warn("Interrupted to wait a process.", e);
                }
                try {
                    process.destroyForcibly().waitFor(processDestroyTimeout, TimeUnit.SECONDS);
                    return process.exitValue();
                } catch (final Exception e) {
                    logger.error("Could not destroy a process correctly.", e);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 06:54:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. 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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  7. 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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  8. 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() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java

                        Thread err = new Thread(new StreamGobbler(process.getErrorStream(), shellContext.logger::error));
                        out.start();
                        err.start();
                        int exitCode = process.waitFor();
                        out.join();
                        err.join();
                        if (exitCode != 0) {
                            shellContext.logger.error("Shell command exited with code " + exitCode);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy

                realArgs.each { arg(value: it) }
            }
    
            String failedProp = "failed${name}"
            // first wait for resources, or the failure marker from the wrapper script
            ant.waitfor(maxwait: maxWaitInSeconds, maxwaitunit: 'second', checkevery: '500', checkeveryunit: 'millisecond', timeoutproperty: failedProp) {
                or {
                    resourceexists {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.1K bytes
    - Click Count (0)
Back to Top