Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for doStop (0.19 sec)

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

      private static class NoOpService extends AbstractService {
        @Override
        protected void doStart() {
          notifyStarted();
        }
    
        @Override
        protected void doStop() {
          notifyStopped();
        }
      }
    
      /*
       * A NoOp service that will delay the startup and shutdown notification for a configurable amount
       * of time.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

          notifyFailed(EXCEPTION);
        }
    
        @Override
        protected void doStop() {
          fail();
        }
      }
    
      private static class RunFailingService extends AbstractService {
        @Override
        protected void doStart() {
          notifyStarted();
          notifyFailed(EXCEPTION);
        }
    
        @Override
        protected void doStop() {
          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. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

          notifyFailed(EXCEPTION);
        }
    
        @Override
        protected void doStop() {
          fail();
        }
      }
    
      private static class RunFailingService extends AbstractService {
        @Override
        protected void doStart() {
          notifyStarted();
          notifyFailed(EXCEPTION);
        }
    
        @Override
        protected void doStop() {
          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)
  4. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

      private static class NoOpService extends AbstractService {
        @Override
        protected void doStart() {
          notifyStarted();
        }
    
        @Override
        protected void doStop() {
          notifyStopped();
        }
      }
    
      /*
       * A NoOp service that will delay the startup and shutdown notification for a configurable amount
       * of time.
       */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractService.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import javax.annotation.CheckForNull;
    
    /**
     * Base class for implementing services that can handle {@link #doStart} and {@link #doStop}
     * requests, responding to them with {@link #notifyStarted()} and {@link #notifyStopped()}
     * callbacks. Its subclasses must manage threads manually; consider {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

                  }
                } finally {
                  lock.unlock();
                }
              });
        }
    
        @Override
        protected final void doStop() {
          // Both requireNonNull calls are safe because doStop can run only after a successful doStart.
          requireNonNull(runningTask);
          requireNonNull(executorService);
          runningTask.cancel(false);
          executorService.execute(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       */
      private static final class NoOpService extends AbstractService {
        @Override
        protected void doStart() {
          notifyStarted();
        }
    
        @Override
        protected void doStop() {
          notifyStopped();
        }
      }
    
      /** This is never thrown but only used for logging. */
      private static final class EmptyServiceManagerWarning extends Throwable {}
    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)
  8. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    dk.eu.org dlugoleka.pl dm dn.ua dnepropetrovsk.ua dni.us dnipropetrovsk.ua dnp dnsalias.com dnsalias.net dnsalias.org dnsdojo.com dnsdojo.net dnsdojo.org dnsfor.me dnshome.de dnsiskinky.com dnsking.ch dnsup.net dnsupdate.info dnsupdater.de do docs doctor does-it.net doesntexist.com doesntexist.org dog dolls.museum domains donetsk.ua donna.no donostia.museum dontexist.com dontexist.net dontexist.org doomdns.com doomdns.org dopaas.com doshi.yamanashi.jp dot dovre.no download dp.ua dr.in dr.na dr.tr...
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 40.4K bytes
    - Viewed (0)
Back to top