Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for AbstractIdleService (0.1 sec)

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

                      notifyFailed(t);
                    }
                  });
        }
    
        @Override
        public String toString() {
          return AbstractIdleService.this.toString();
        }
      }
    
      /** Constructor for use by subclasses. */
      protected AbstractIdleService() {}
    
      /** Start the service. */
      protected abstract void startUp() throws Exception;
    
      /** Stop the service. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

      private static class DefaultService extends AbstractIdleService {
        @Override
        protected void startUp() throws Exception {}
    
        @Override
        protected void shutDown() throws Exception {}
      }
    
      public void testFunctionalServiceStartStop() {
        AbstractIdleService service = new DefaultService();
        service.startAsync().awaitRunning();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

      private static class DefaultService extends AbstractIdleService {
        @Override
        protected void startUp() throws Exception {}
    
        @Override
        protected void shutDown() throws Exception {}
      }
    
      public void testFunctionalServiceStartStop() {
        AbstractIdleService service = new DefaultService();
        service.startAsync().awaitRunning();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Service.java

     * easier.
     *
     * @author Jesse Wilson
     * @author Luke Sandberg
     * @since 9.0 (in 1.0 as {@code com.google.common.base.Service})
     */
    @DoNotMock("Create an AbstractIdleService")
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface Service {
      /**
       * If the service state is {@link State#NEW}, this initiates service startup and returns
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Service.java

     * easier.
     *
     * @author Jesse Wilson
     * @author Luke Sandberg
     * @since 9.0 (in 1.0 as {@code com.google.common.base.Service})
     */
    @DoNotMock("Create an AbstractIdleService")
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface Service {
      /**
       * If the service state is {@link State#NEW}, this initiates service startup and returns
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top