Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for IsTerminated (0.47 sec)

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

        public List<Runnable> shutdownNow() {
          return ImmutableList.of();
        }
    
        @Override
        public boolean isShutdown() {
          return false;
        }
    
        @Override
        public boolean isTerminated() {
          return false;
        }
    
        @Override
        public boolean awaitTermination(long timeout, TimeUnit unit) {
          return false;
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        public List<Runnable> shutdownNow() {
          return ImmutableList.of();
        }
    
        @Override
        public boolean isShutdown() {
          return false;
        }
    
        @Override
        public boolean isTerminated() {
          return false;
        }
    
        @Override
        public boolean awaitTermination(long timeout, TimeUnit unit) {
          return false;
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

      @Override
      public List<Runnable> shutdownNow() {
        shutdown();
        return Collections.emptyList();
      }
    
      @Override
      public boolean isTerminated() {
        synchronized (lock) {
          return shutdown && runningTasks == 0;
        }
      }
    
      @Override
      public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MockExecutor.java

            return allActions;
        }
    
        @Override
        public boolean isShutdown() {
            return shutdownInitiated;
        }
    
        @Override
        public boolean isTerminated() {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 07 08:18:49 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ListeningExecutorServiceTest.java

          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean isShutdown() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean isTerminated() {
          throw new UnsupportedOperationException();
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 02 12:45:23 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ListeningScheduledExecutorServiceTest.java

          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean isShutdown() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean isTerminated() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean awaitTermination(long timeout, TimeUnit unit) {
          throw new UnsupportedOperationException();
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 17 20:45:59 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        assertFalse(executor.isTerminated());
        assertInterrupted();
      }
    
      public void testTryAwaitTerminationInfiniteTimeout() {
        ExecutorService executor = newFixedThreadPool(1);
        requestInterruptIn(500);
        executor.execute(new SleepTask(1000));
        executor.shutdown();
        awaitTerminationUninterruptibly(executor);
        assertTrue(executor.isTerminated());
        assertInterrupted();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 30.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

          shutdown();
          return ImmutableList.of();
        }
    
        @Override
        public boolean isShutdown() {
          return shutdown;
        }
    
        @Override
        public boolean isTerminated() {
          return shutdown;
        }
    
        @Override
        public boolean awaitTermination(long timeout, TimeUnit unit) {
          return true;
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:12:37 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean isShutdown() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean isTerminated() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public void shutdown() {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean isShutdown() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean isTerminated() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public void shutdown() {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 7.6K bytes
    - Viewed (0)
Back to top