Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Interrupter (0.39 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testSubmitAsync_asyncCallable_returnsInterruptedFuture() throws InterruptedException {
        assertThat(Thread.interrupted()).isFalse();
        SettableFuture<Integer> cancelledFuture = SettableFuture.create();
        cancelledFuture.cancel(true);
        assertThat(Thread.interrupted()).isFalse();
        ListenableFuture<Integer> future =
            submitAsync(constantAsyncCallable(cancelledFuture), directExecutor());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testSubmitAsync_asyncCallable_returnsInterruptedFuture() throws InterruptedException {
        assertThat(Thread.interrupted()).isFalse();
        SettableFuture<Integer> cancelledFuture = SettableFuture.create();
        cancelledFuture.cancel(true);
        assertThat(Thread.interrupted()).isFalse();
        ListenableFuture<Integer> future =
            submitAsync(constantAsyncCallable(cancelledFuture), directExecutor());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `Exactly so,' said the Hatter:  `as the things get used up.'
    
      `But what happens when you come to the beginning again?' Alice
    ventured to ask.
    
      `Suppose we change the subject,' the March Hare interrupted,
    yawning.  `I'm getting tired of this.  I vote the young lady
    tells us a story.'
    
      `I'm afraid I don't know one,' said Alice, rather alarmed at
    the proposal.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `Exactly so,' said the Hatter:  `as the things get used up.'
    
      `But what happens when you come to the beginning again?' Alice
    ventured to ask.
    
      `Suppose we change the subject,' the March Hare interrupted,
    yawning.  `I'm getting tired of this.  I vote the young lady
    tells us a story.'
    
      `I'm afraid I don't know one,' said Alice, rather alarmed at
    the proposal.
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * specified {@link MoreExecutors#directExecutor()}, those objects will be closed synchronously.
       *
       * @param mayInterruptIfRunning {@code true} if the thread executing this task should be
       *     interrupted; otherwise, in-progress tasks are allowed to complete, but the step will be
       *     cancelled regardless
       * @return {@code false} if the step could not be cancelled, typically because it has already
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
Back to top