Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 245 for waits (0.01 sec)

  1. guava/src/com/google/common/util/concurrent/MoreExecutors.java

      /**
       * Converts the given ThreadPoolExecutor into an ExecutorService that exits when the application
       * is complete. It does so by using daemon threads and adding a shutdown hook to wait for their
       * completion.
       *
       * <p>This method waits 120 seconds before continuing with JVM termination, even if the executor
       * has not finished its work.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  2. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

      }
    
      /** Set the OAuth session for this client. */
      public synchronized void initOauthSession(OAuthSession session) {
        this.session = session;
        this.notifyAll();
      }
    
      /** Waits for an OAuth session for this client to be set. */
      public synchronized void awaitAccessToken(Timeout timeout) throws InterruptedIOException {
        while (session == null) {
          timeout.waitUntilNotified(this);
        }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

     * The delay is calculated based on the configured delayMillisBeforeProcessing parameter.
     * If the time since the last request to the host is less than the configured delay,
     * the thread waits until the delay has elapsed.
     * This class is thread-safe.
     * The cache automatically evicts entries after 1 hour of inactivity to prevent memory leaks.
     */
    public class HostIntervalController extends DefaultIntervalController {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LoadingCache.java

       * necessary. No observable state associated with this cache is modified until loading completes.
       *
       * <p>If another call to {@link #get} or {@link #getUnchecked} is currently loading the value for
       * {@code key}, simply waits for that thread to finish and returns its loaded value. Note that
       * multiple threads can concurrently load values for distinct keys.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

            }
    
            return false;
        }
    
        /**
         * Returns whether the crawler waits on folder operations.
         * @return true if no wait on folder, false otherwise.
         */
        public boolean isNoWaitOnFolder() {
            return noWaitOnFolder;
        }
    
        /**
         * Sets whether the crawler waits on folder operations.
         * @param noWaitOnFolder true to disable waiting on folder operations.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/timer/TimeoutManager.java

                    logger.debug("TimeoutManager stopped.");
                }
            }
        }
    
        /**
         * Interrupts the thread and waits for it to terminate.
         *
         * @param timeoutMillis
         *            The time to wait (in milliseconds)
         * @return <code>true</code> if the thread has terminated
         * @throws InterruptedException
         *             If interrupted while waiting
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                    }
                }
            }
    
            /**
             * Waits for the crawling thread to terminate within a specified time limit.
             * This method blocks until the thread completes or the timeout expires.
             *
             * @param mills maximum time to wait in milliseconds
             */
            public void awaitTermination(final long mills) {
                try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        assertThat(owner).isSameInstanceAs(interrupter);
    
        slowChannel.exitClose.countDown(); // release the interrupter
    
        // We need to wait for the runner to exit.  To make sure that the interrupting thread wakes it
        // back up.
        runner.join(SECONDS.toMillis(10));
      }
    
      // waits for the given thread to be blocked on the given object
      private static void awaitBlockedOnInstanceOf(Thread t, Class<?> blocker)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/PythonJob.java

        }
    
        /**
         * Executes the Python script with the configured parameters.
         * Sets up the command list, working directory, and environment variables,
         * then starts the Python process and waits for completion.
         *
         * @throws JobProcessingException if the Python script execution fails
         */
        protected void executePython() {
            final List<String> cmdList = new ArrayList<>();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/TestThread.java

      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned
       * normally.
       */
      public void assertPriorCallReturns(@Nullable String methodName) throws Exception {
        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top