Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 184 for InterruptedException (0.1 sec)

  1. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

        }
        /*
         * TODO(cpovirk): Clear interrupt status here? We currently don't, which means that an interrupt
         * before, during, or after runInterruptibly() (unless it produced an InterruptedException
         * caught above) can linger and affect listeners.
         */
      }
    
      /**
       * Called before runInterruptibly - if true, runInterruptibly and afterRanInterruptibly will not
       * be called.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        return clientTestRule
      }
    
      @BeforeEach
      fun setUp(webServer: MockWebServer) {
        this.webServer = webServer
        platform.assumeNotOpenJSSE()
      }
    
      @AfterEach
      @Throws(InterruptedException::class)
      fun tearDown() {
        clientListener.assertExhausted()
      }
    
      @Test
      fun textMessage() {
        webServer.enqueue(
          MockResponse.Builder()
            .webSocketUpgrade(serverListener)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          new Runnable() {
            @Override
            public void run() {
              list.execute();
            }
          };
    
      @Benchmark
      int addThenExecute_multiThreaded(final int reps) throws InterruptedException {
        Runnable addTask =
            new Runnable() {
              @Override
              public void run() {
                for (int i = 0; i < numListeners; i++) {
                  list.add(listener, directExecutor());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  4. disabled-Jenkinsfile

        if (e.getMessage().contains('script returned exit code 143')) {
            currentBuild.result = "ABORTED"
        } else {
            currentBuild.result = "FAILURE"
        }
        throw e
    } catch (InterruptedException e) {
        echo "[FAILURE-004] ${e}"
        currentBuild.result = "ABORTED"
        throw e
    } catch (Throwable e) {
        echo "[FAILURE-001] ${e}"
        currentBuild.result = "FAILURE"
        throw e
    } finally {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 30 14:11:55 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

                return pb.start().waitFor();
            } catch (IOException e) {
                invokerRequest.logger().error("IO problem while executing command: " + cmdAndArguments, e);
                return 127;
            } catch (InterruptedException e) {
                invokerRequest.logger().error("Interrupted while executing command: " + cmdAndArguments, e);
                return 127;
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                    totalCount += count;
                }
                executorService.shutdown();
                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: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/SessionTest.java

        // this test is meant to test server-side session invalidation behavior
        // and not part of the regular test suite as manual steps are required
        //@Test
        public void testSessionMaintenance () throws IOException, InterruptedException {
            try ( SmbFile f = getDefaultShareRoot() ) {
                checkConnection(f);
                while ( true ) {
                    f.list();
                    Thread.sleep(5000);
                }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

              waitingCoordinatorTask = null
              waitingCoordinatorNotified = false
              if (waitingCoordinatorInterrupted) {
                waitingCoordinatorInterrupted = false
                throw InterruptedException()
              }
            }
    
            override fun <T> decorate(queue: BlockingQueue<T>) = TaskFakerBlockingQueue(queue)
          },
          logger = logger,
        )
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertSame(one, segment.recencyQueue.peek().getKey());
        assertSame(one, cache.getUnchecked(one));
        assertFalse(segment.recencyQueue.isEmpty());
      }
    
      public void testRecursiveComputation() throws InterruptedException {
        final AtomicReference<LoadingCache<Integer, String>> cacheRef = new AtomicReference<>();
        CacheLoader<Integer, String> recursiveLoader =
            new CacheLoader<Integer, String>() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertSame(one, segment.recencyQueue.peek().getKey());
        assertSame(one, cache.getUnchecked(one));
        assertFalse(segment.recencyQueue.isEmpty());
      }
    
      public void testRecursiveComputation() throws InterruptedException {
        final AtomicReference<LoadingCache<Integer, String>> cacheRef = new AtomicReference<>();
        CacheLoader<Integer, String> recursiveLoader =
            new CacheLoader<Integer, String>() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top