Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

        abstract Cancellable schedule(
            AbstractService service, ScheduledExecutorService executor, Runnable runnable);
    
        private Scheduler() {}
      }
    
      /* use AbstractService for state management */
      private final AbstractService delegate = new ServiceDelegate();
    
      @WeakOuter
      private final class ServiceDelegate extends AbstractService {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. 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)
  3. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

    /**
     * Tests for {@link ServiceManager}.
     *
     * @author Luke Sandberg
     * @author Chris Nokleberg
     */
    public class ServiceManagerTest extends TestCase {
    
      private static class NoOpService extends AbstractService {
        @Override
        protected void doStart() {
          notifyStarted();
        }
    
        @Override
        protected void doStop() {
          notifyStopped();
        }
      }
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       * it is excluded from {@link #servicesByState}, {@link #startupTimes}, {@link #toString} and all
       * logging statements.
       */
      private static final class NoOpService extends AbstractService {
        @Override
        protected void doStart() {
          notifyStarted();
        }
    
        @Override
        protected void doStop() {
          notifyStopped();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ServiceManager.java

       * it is excluded from {@link #servicesByState}, {@link #startupTimes}, {@link #toString} and all
       * logging statements.
       */
      private static final class NoOpService extends AbstractService {
        @Override
        protected void doStart() {
          notifyStarted();
        }
    
        @Override
        protected void doStop() {
          notifyStopped();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top