Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for stopAsync (0.18 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

      @Override
      public final Service startAsync() {
        delegate.startAsync();
        return this;
      }
    
      /** @since 15.0 */
      @CanIgnoreReturnValue
      @Override
      public final Service stopAsync() {
        delegate.stopAsync();
        return this;
      }
    
      /** @since 15.0 */
      @Override
      public final void awaitRunning() {
        delegate.awaitRunning();
      }
    
      /** @since 15.0 */
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Service.java

    import java.util.concurrent.Executor;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    
    /**
     * An object with an operational state, plus asynchronous {@link #startAsync()} and {@link
     * #stopAsync()} lifecycle methods to transition between states. Example services include
     * webservers, RPC servers and timers.
     *
     * <p>The normal lifecycle of a service is:
     *
     * <ul>
     *   <li>{@linkplain State#NEW NEW} -&gt;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       *
       * <p>This method should return promptly; prefer to do work on a different thread where it is
       * convenient. It is invoked exactly once on service shutdown, even when {@link #stopAsync} is
       * called multiple times.
       *
       * <p>If {@link #stopAsync} is called on a {@link State#STARTING} service, this method is not
       * invoked immediately. Instead, it will be deferred until after the service is {@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)
  4. android/guava/src/com/google/common/util/concurrent/AbstractIdleService.java

      @Override
      public final Service startAsync() {
        delegate.startAsync();
        return this;
      }
    
      /** @since 15.0 */
      @CanIgnoreReturnValue
      @Override
      public final Service stopAsync() {
        delegate.stopAsync();
        return this;
      }
    
      /** @since 15.0 */
      @Override
      public final void awaitRunning() {
        delegate.awaitRunning();
      }
    
      /** @since 15.0 */
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 13:59:28 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        state.awaitHealthy(timeout, unit);
      }
    
      /**
       * Initiates service {@linkplain Service#stopAsync shutdown} if necessary on all the services
       * being managed.
       *
       * @return this
       */
      @CanIgnoreReturnValue
      public ServiceManager stopAsync() {
        for (Service service : services) {
          service.stopAsync();
        }
        return this;
      }
    
      /**
    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)
  6. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

      @Override
      public final Service startAsync() {
        delegate.startAsync();
        return this;
      }
    
      /** @since 15.0 */
      @CanIgnoreReturnValue
      @Override
      public final Service stopAsync() {
        delegate.stopAsync();
        return this;
      }
    
      /** @since 15.0 */
      @Override
      public final void awaitRunning() {
        delegate.awaitRunning();
      }
    
      /** @since 15.0 */
      @Override
    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)
Back to top