Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 176 for interrupt (0.23 sec)

  1. android/guava/src/com/google/common/collect/Queues.java

                } catch (InterruptedException ex) {
                  interrupted = true; // note interruption and retry
                }
              }
              if (e == null) {
                break; // we already waited enough, and there are no more elements in sight
              }
              buffer.add(e);
              added++;
            }
          }
        } finally {
          if (interrupted) {
            Thread.currentThread().interrupt();
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Transport.java

            if (t != null && Thread.currentThread() != t) {
                this.thread = null;
                try {
                    log.debug("Interrupting transport thread");
                    t.interrupt();
                    log.debug("Joining transport thread");
                    t.join(timeout);
                    log.debug("Joined transport thread");
                } catch (final InterruptedException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/MultiChannelManager.java

                if (!channelExecutor.awaitTermination(5, TimeUnit.SECONDS)) {
                    channelExecutor.shutdownNow();
                }
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
            }
        }
    
        // Private helper methods
    
        private int getMaxChannelsFromConfig(Configuration config) {
            // In a real implementation, this would read from configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                                completedOps.incrementAndGet();
                            }
                        } catch (InterruptedException e) {
                            Thread.currentThread().interrupt();
                        } finally {
                            endLatch.countDown();
                        }
                    });
                }
    
                startLatch.countDown(); // Start all threads
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  5. docs/smb3-features/05-rdma-smb-direct-design.md

                try {
                    Thread.sleep(10);
                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                    throw new IOException("Interrupted waiting for send credit", e);
                }
            }
            
            if (!rdmaConnection.canSend()) {
                throw new IOException("Timeout waiting for RDMA send credit");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/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 {
          wait()
        } catch (_: InterruptedException) {
          Thread.currentThread().interrupt() // Retain interrupted status.
          throw InterruptedIOException()
        }
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                        cleanupExecutor.shutdownNow();
                    }
                } catch (InterruptedException e) {
                    cleanupExecutor.shutdownNow();
                    Thread.currentThread().interrupt();
                }
            }
    
            // Clean up expired weak references
            cleanupExpiredReferences();
    
            // Release all leases
            releaseAll();
    
            // Clear file cache
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    healthCheckExecutor.shutdownNow();
                }
            } catch (InterruptedException e) {
                healthCheckExecutor.shutdownNow();
                Thread.currentThread().interrupt();
            }
    
            // Close all connections without synchronization - concurrent collections are thread-safe
            connections.forEach(conn -> {
                try {
                    conn.disconnect(true, true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

        this.futures = checkNotNull(futures);
        this.allMustSucceed = allMustSucceed;
        this.collectsValues = collectsValues;
      }
    
      @Override
      @SuppressWarnings("Interruption") // We are propagating an interrupt from a caller.
      protected final void afterDone() {
        super.afterDone();
    
        @RetainedLocalRef ImmutableCollection<? extends Future<?>> localFutures = futures;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            }
        }
    
        // Test executeSuggestCreator with interrupted exception
        public void test_executeSuggestCreator_withInterruptedException() {
            createRequiredDirectories();
            mockProcessHelper.setThrowException(new InterruptedException("Interrupted"));
    
            try {
                suggestJob.executeSuggestCreator();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
Back to top