Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for startAsync (0.06 sec)

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

            thrownByExecutionThread);
      }
    
      public void testServiceStartStop() throws Exception {
        WaitOnRunService service = new WaitOnRunService();
        assertFalse(service.startUpCalled);
    
        service.startAsync().awaitRunning();
        assertTrue(service.startUpCalled);
        assertEquals(Service.State.RUNNING, service.state());
    
        enterRun.await(); // to avoid stopping the service until run() is invoked
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

              public final void addListener(Listener listener, Executor executor) {
                service1.startAsync();
                delegate.addListener(listener, executor);
              }
    
              // Delegates from here on down
              @Override
              public final Service startAsync() {
                return delegate.startAsync();
              }
    
              @Override
              public final Service stopAsync() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       *     method is called.
       */
      @CanIgnoreReturnValue
      public ServiceManager startAsync() {
        for (Service service : services) {
          checkState(service.state() == NEW, "Not all services are NEW, cannot start %s", this);
        }
        for (Service service : services) {
          try {
            state.tryStartTiming(service);
            service.startAsync();
          } catch (IllegalStateException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

      public final Throwable failureCause() {
        return delegate.failureCause();
      }
    
      /**
       * @since 15.0
       */
      @CanIgnoreReturnValue
      @Override
      public final Service startAsync() {
        delegate.startAsync();
        return this;
      }
    
      /**
       * @since 15.0
       */
      @CanIgnoreReturnValue
      @Override
      public final Service stopAsync() {
        delegate.stopAsync();
        return this;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       */
      private volatile StateSnapshot snapshot = new StateSnapshot(NEW);
    
      /** Constructor for use by subclasses. */
      protected AbstractService() {}
    
      /**
       * This method is called by {@link #startAsync} to initiate service startup. The invocation of
       * this method should cause a call to {@link #notifyStarted()}, either during this method's run,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/Service.java

    import java.time.Duration;
    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>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractService.java

       */
      private volatile StateSnapshot snapshot = new StateSnapshot(NEW);
    
      /** Constructor for use by subclasses. */
      protected AbstractService() {}
    
      /**
       * This method is called by {@link #startAsync} to initiate service startup. The invocation of
       * this method should cause a call to {@link #notifyStarted()}, either during this method's run,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. 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>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

      public final Throwable failureCause() {
        return delegate.failureCause();
      }
    
      /**
       * @since 15.0
       */
      @CanIgnoreReturnValue
      @Override
      public final Service startAsync() {
        delegate.startAsync();
        return this;
      }
    
      /**
       * @since 15.0
       */
      @CanIgnoreReturnValue
      @Override
      public final Service stopAsync() {
        delegate.stopAsync();
        return this;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

                return null;
            }
    
            @Override
            public jakarta.servlet.AsyncContext startAsync() {
                return null;
            }
    
            @Override
            public jakarta.servlet.AsyncContext startAsync(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res) {
                return null;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top