Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 247 for InterruptedException (0.18 sec)

  1. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            healthCheckExecutor.shutdown();
            try {
                if (!healthCheckExecutor.awaitTermination(5, TimeUnit.SECONDS)) {
                    healthCheckExecutor.shutdownNow();
                }
            } catch (InterruptedException e) {
                healthCheckExecutor.shutdownNow();
                Thread.currentThread().interrupt();
            }
    
            // Close all connections without synchronization - concurrent collections are thread-safe
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                    } finally {
                        latch.countDown();
                    }
                }).start();
            }
    
            try {
                latch.await();
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
                fail("Thread safety test interrupted");
            }
    
            // In test environment, some operations might not work due to missing request context
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. 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
            public void destroy() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/UniAddress.java

                    q20.start();
    
                    while (sem.count > 0 && q1x.ans == null && q20.ans == null) {
                        sem.wait();
                    }
                }
            } catch (final InterruptedException ie) {
                throw new UnknownHostException(name);
            }
            if (q1x.ans != null) {
                return q1x.ans;
            }
            if (q20.ans != null) {
                return q20.ans;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                }
            }
    
            @Test
            @DisplayName("Should handle concurrent size calculations")
            void testConcurrentSizeCalculations() throws InterruptedException {
                String path = "\\\\server\\share\\test";
                buffer = new DfsReferralRequestBuffer(path, 3);
    
                int expectedSize = buffer.size();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            assertNotNull(trans2QueryFSInfo);
        }
    
        @Test
        @DisplayName("Test concurrent access")
        void testConcurrentAccess() throws InterruptedException {
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            final int THREAD_COUNT = 10;
            Thread[] threads = new Thread[THREAD_COUNT];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            assertNotNull(trans2SetFileInfo);
        }
    
        @Test
        @DisplayName("Test concurrent access")
        void testConcurrentAccess() throws InterruptedException {
            // Setup mock before creating the object
            when(mockFileInfo.getFileInformationLevel()).thenReturn((byte) FileInformation.FILE_BASIC_INFO);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

                val canceledException = IOException("canceled due to $t")
                canceledException.initCause(t)
                responseCallback.onFailure(this@RealCall, canceledException)
              }
              if (t is InterruptedException) {
                Thread.currentThread().interrupt()
              } else {
                throw t
              }
            } finally {
              client.dispatcher.finished(this)
            }
          }
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. docs/smb3-features/04-directory-leasing-design.md

                            // Retry after delay
                            try {
                                Thread.sleep(5000);
                            } catch (InterruptedException ie) {
                                Thread.currentThread().interrupt();
                                break;
                            }
                        }
                    }
                }
            });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  10. docs/smb3-features/05-rdma-smb-direct-design.md

            
            while (!rdmaConnection.canSend() && System.currentTimeMillis() < deadline) {
                try {
                    Thread.sleep(10);
                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                    throw new IOException("Interrupted waiting for send credit", e);
                }
            }
            
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
Back to top