Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 120 for interrupted (0.1 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

      /**
       * Like [Object.wait], but throws an [InterruptedIOException] when interrupted instead of the more
       * awkward [InterruptedException].
       */
      @Throws(InterruptedIOException::class)
      internal fun waitForIo() {
        try {
          condition.await()
        } catch (_: InterruptedException) {
          Thread.currentThread().interrupt() // Retain interrupted status.
          throw InterruptedIOException()
        }
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

     *
     * <p>Future that delegates to another but will finish early (via a {@link TimeoutException} wrapped
     * in an {@link ExecutionException}) if the specified duration expires. The delegate future is
     * interrupted and cancelled if it times out.
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class TimeoutFuture<V extends @Nullable Object> extends FluentFuture.TrustedFuture<V> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/FluentFuture.java

       * If the timeout expires, not only will the output future finish, but also the input future
       * ({@code this}) will be cancelled and interrupted.
       *
       * @param timeout when to time out the future
       * @param scheduledExecutor The executor service to enforce the timeout.
       * @since 28.0 (but only since 33.4.0 in the Android flavor)
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. istioctl/pkg/metrics/metrics.go

    	}
    
    	if err = fw.Start(); err != nil {
    		return fmt.Errorf("failure running port forward process: %v", err)
    	}
    
    	// Close the forwarder either when we exit or when an this processes is interrupted.
    	defer fw.Close()
    	dashboard.ClosePortForwarderOnInterrupt(fw)
    
    	log.Debugf("port-forward to prometheus pod ready")
    
    	promAPI, err := prometheusAPI(fmt.Sprintf("http://%s", fw.Address()))
    	if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            }
    
            indexUpdater.setFinishCrawling(true);
            try {
                indexUpdater.join();
            } catch (final InterruptedException e) {
                logger.warn("Interrupted index update.", e);
            }
    
            crawlingInfoHelper.putToInfoMap(Constants.WEB_FS_INDEX_EXEC_TIME, Long.toString(indexUpdater.getExecuteTime()));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

     *   <li>Tasks may be of type {@code AsyncCallable}.
     *   <li>Running tasks <i>cannot</i> be interrupted. (Note that {@code newSequentialExecutor} does
     *       not return {@code Future} objects, so it doesn't support interruption directly, either.
     *       However, utilities that <i>use</i> that executor have the ability to interrupt tasks
     *       running on it. This class, by contrast, does not expose an {@code Executor} API.)
     * </ul>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

            executor.submit(
                new Runnable() {
                  @Override
                  public void run() {
                    boolean createSymlink = false;
                    while (!Thread.interrupted()) {
                      try {
                        // trying to switch between a real directory and a symlink (dir -> /a)
                        if (Files.deleteIfExists(file)) {
                          if (createSymlink) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                    executorService.awaitTermination(60, TimeUnit.SECONDS);
                } catch (final InterruptedException e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Interrupted.", e);
                    }
                } finally {
                    executorService.shutdownNow();
                }
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/MoreFilesTest.java

            executor.submit(
                new Runnable() {
                  @Override
                  public void run() {
                    boolean createSymlink = false;
                    while (!Thread.interrupted()) {
                      try {
                        // trying to switch between a real directory and a symlink (dir -> /a)
                        if (Files.deleteIfExists(file)) {
                          if (createSymlink) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeConnection.java

                        // immediately
                        Thread.sleep(500 + RAND.nextInt(1000));
                    }
                }
                catch ( InterruptedException e ) {
                    log.debug("interrupted sleep in send", e);
                }
    
                if ( request != null ) {
                    log.debug("Restting request");
                    request.reset();
                }
                if ( rpath != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
Back to top