Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AbstractService (0.07 sec)

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

     * methods. This class uses a single thread to execute the service; consider {@link AbstractService}
     * if you would like to manage any threading manually.
     *
     * @author Jesse Wilson
     * @since 1.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractExecutionThreadService implements Service {
      /* use AbstractService for state management */
      private final Service delegate =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractIdleService.java

        @Override
        public String get() {
          return serviceName() + " " + state();
        }
      }
    
      /* use AbstractService for state management */
      private final Service delegate = new DelegateService();
    
      @WeakOuter
      private final class DelegateService extends AbstractService {
        @Override
        protected final void doStart() {
          MoreExecutors.renamingDecorator(executor(), threadNameSupplier)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top