Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 247 for InterruptedException (0.16 sec)

  1. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                try {
                    if (!cleanupExecutor.awaitTermination(5, TimeUnit.SECONDS)) {
                        cleanupExecutor.shutdownNow();
                    }
                } catch (InterruptedException e) {
                    cleanupExecutor.shutdownNow();
                    Thread.currentThread().interrupt();
                }
            }
    
            // Clean up expired weak references
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbSession.java

                        return;
                    }
                    try {
                        transport.wait();
                    } catch (final InterruptedException ie) {
                        throw new SmbException(ie.getMessage(), ie);
                    }
                }
                connectionState = 1; // trying ...
    
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                logger.info("[EXEC TIME] crawling time: {}ms", execTime);
            }
    
            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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

      }
    
      /**
       * Tests that a ServiceManager can be fully shut down if one of its failure listeners is slow or
       * even permanently blocked.
       */
      public void testListenerDeadlock() throws InterruptedException {
        CountDownLatch failEnter = new CountDownLatch(1);
        CountDownLatch failLeave = new CountDownLatch(1);
        CountDownLatch afterStarted = new CountDownLatch(1);
        Service failRunService =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/ExecJobTest.java

                assertEquals("Test exception", e.getMessage());
            }
        }
    
        // Test concurrent modification of jvmOptions
        public void test_jvmOptions_concurrent() throws InterruptedException {
            CountDownLatch latch = new CountDownLatch(2);
    
            Thread t1 = new Thread(() -> {
                for (int i = 0; i < 100; i++) {
                    execJob.jvmOptions("-Xmx" + i + "m");
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        if (sendOnClosed) {
          listener.onClosed(this, code, reason!!)
        }
    
        readerToClose?.closeQuietly()
      }
    
      /** For testing: force this web socket to release its threads. */
      @Throws(InterruptedException::class)
      fun tearDown() {
        taskQueue.shutdown()
        taskQueue.idleLatch().await(10, TimeUnit.SECONDS)
      }
    
      @Synchronized fun sentPingCount(): Int = sentPingCount
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

              try {
                // Wait for the server to send the duplex response before acting on the 301 response
                // and resetting the stream.
                duplexResponseSent.await()
              } catch (e: InterruptedException) {
                throw AssertionError()
              }
              super.responseHeadersEnd(call, response)
            }
          }
        client =
          client
            .newBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    logger.debug("Shutting down thread executor.");
                }
                executor.shutdown();
                executor.awaitTermination(executorTerminationTimeout, TimeUnit.SECONDS);
            } catch (final InterruptedException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to interrupt executor.", e);
                }
            } finally {
                executor.shutdownNow();
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                    return null;
                }
                while (LOOKUP_TABLE.containsKey(name)) {
                    try {
                        LOOKUP_TABLE.wait();
                    } catch (final InterruptedException e) {}
                }
            }
            obj = getCachedAddress(name);
            if (obj == null) {
                synchronized (LOOKUP_TABLE) {
                    LOOKUP_TABLE.put(name, name);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                if (response.hasFailures()) {
                    throw new SearchEngineClientException(response.buildFailureMessage());
                }
                return true;
            } catch (final InterruptedException e) {
                throw new InterruptedRuntimeException(e);
            } catch (final ExecutionException e) {
                throw new SearchEngineClientException("Failed to update bulk data.", e);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
Back to top