Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for terminated (0.17 sec)

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

            }
          }
          assertNotSame(from, service.state());
        }
    
        @Override
        public synchronized void terminated(State from) {
          assertEquals(from, Iterables.getLast(stateHistory, State.NEW));
          stateHistory.add(State.TERMINATED);
          assertEquals(State.TERMINATED, service.state());
          if (from == State.NEW) {
            try {
              service.awaitRunning();
              fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

            }
          }
          assertNotSame(from, service.state());
        }
    
        @Override
        public synchronized void terminated(State from) {
          assertEquals(from, Iterables.getLast(stateHistory, State.NEW));
          stateHistory.add(State.TERMINATED);
          assertEquals(State.TERMINATED, service.state());
          if (from == State.NEW) {
            try {
              service.awaitRunning();
              fail();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        service.stopAsync();
        service.stopAsync();
        service.stopAsync().awaitTerminated();
        assertEquals(Service.State.TERMINATED, service.state());
        service.stopAsync().awaitTerminated();
        assertEquals(Service.State.TERMINATED, service.state());
    
        executionThread.join();
      }
    
      public void testServiceExitingOnItsOwn() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

         * State#FAILED fail}/{@linkplain State#TERMINATED terminate} before all other services have
         * started {@linkplain State#RUNNING running} then this method will not be called.
         */
        public void healthy() {}
    
        /**
         * Called when the all of the component services have reached a terminal state, either
         * {@linkplain State#TERMINATED terminated} or {@linkplain State#FAILED failed}.
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        TestService service = new TestService();
        service.stopAsync().awaitTerminated();
        assertEquals(0, service.startUpCalled);
        assertEquals(0, service.shutDownCalled);
        assertEquals(Service.State.TERMINATED, service.state());
        assertThat(service.transitionStates).isEmpty();
      }
    
      public void testStop_afterStart() {
        TestService service = new TestService();
        service.startAsync().awaitRunning();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                    logger.error("IndexUpdater is terminated.", e);
                } else if (logger.isInfoEnabled()) {
                    logger.info("IndexUpdater is terminated.");
                }
                forceStop();
            } catch (final Throwable t) {
                if (ComponentUtil.available()) {
                    logger.error("IndexUpdater is terminated.", t);
                } else if (logger.isDebugEnabled()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        assertTrue(executor.isShutdown());
        assertThrows(RejectedExecutionException.class, () -> executor.submit(doNothingRunnable));
        assertTrue(executor.isTerminated());
    
        otherThread.join(1000);
        assertEquals(Thread.State.TERMINATED, otherThread.getState());
        Throwable throwable = throwableFromOtherThread.get();
        assertNull(
            "Throwable from other thread: "
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        service.stopAsync();
        service.stopAsync();
        service.stopAsync().awaitTerminated();
        assertEquals(Service.State.TERMINATED, service.state());
        service.stopAsync().awaitTerminated();
        assertEquals(Service.State.TERMINATED, service.state());
    
        executionThread.join();
      }
    
      public void testServiceExitingOnItsOwn() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        TestService service = new TestService();
        service.stopAsync().awaitTerminated();
        assertEquals(0, service.startUpCalled);
        assertEquals(0, service.shutDownCalled);
        assertEquals(Service.State.TERMINATED, service.state());
        assertThat(service.transitionStates).isEmpty();
      }
    
      public void testStop_afterStart() {
        TestService service = new TestService();
        service.startAsync().awaitRunning();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        assertTrue(executor.isShutdown());
        assertThrows(RejectedExecutionException.class, () -> executor.submit(doNothingRunnable));
        assertTrue(executor.isTerminated());
    
        otherThread.join(1000);
        assertEquals(Thread.State.TERMINATED, otherThread.getState());
        Throwable throwable = throwableFromOtherThread.get();
        assertNull(
            "Throwable from other thread: "
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (3)
Back to top