Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for AbstractExecutionThreadService (0.4 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

    import java.util.concurrent.ScheduledExecutorService;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link AbstractExecutionThreadService}.
     *
     * @author Jesse Wilson
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class AbstractExecutionThreadServiceTest extends TestCase {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

              }
            };
        thread.start();
        thread.join(LONG_TIMEOUT_MILLIS);
        assertFalse(thread + " is deadlocked", thread.isAlive());
      }
    
      private static class NoOpThreadedService extends AbstractExecutionThreadService {
        final CountDownLatch latch = new CountDownLatch(1);
    
        @Override
        protected void run() throws Exception {
          latch.await();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

              }
            };
        thread.start();
        thread.join(LONG_TIMEOUT_MILLIS);
        assertFalse(thread + " is deadlocked", thread.isAlive());
      }
    
      private static class NoOpThreadedService extends AbstractExecutionThreadService {
        final CountDownLatch latch = new CountDownLatch(1);
    
        @Override
        protected void run() throws Exception {
          latch.await();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

       * so that we know that the stopping() listeners will execute on a different thread than the
       * terminated() listeners.
       */
      private static class SnappyShutdownService extends AbstractExecutionThreadService {
        final int index;
        final CountDownLatch latch = new CountDownLatch(1);
    
        SnappyShutdownService(int index) {
          this.index = index;
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

       * so that we know that the stopping() listeners will execute on a different thread than the
       * terminated() listeners.
       */
      private static class SnappyShutdownService extends AbstractExecutionThreadService {
        final int index;
        final CountDownLatch latch = new CountDownLatch(1);
    
        SnappyShutdownService(int index) {
          this.index = index;
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
Back to Top