Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for doStop (0.05 sec)

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

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Base class for implementing services that can handle {@link #doStart} and {@link #doStop}
     * requests, responding to them with {@link #notifyStarted()} and {@link #notifyStopped()}
     * callbacks. Its subclasses must manage threads manually; consider {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

      private static class NoOpService extends AbstractService {
        @Override
        protected void doStart() {
          notifyStarted();
        }
    
        @Override
        protected void doStop() {
          notifyStopped();
        }
      }
    
      /*
       * A NoOp service that will delay the startup and shutdown notification for a configurable amount
       * of time.
       */
    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/AbstractService.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Base class for implementing services that can handle {@link #doStart} and {@link #doStop}
     * requests, responding to them with {@link #notifyStarted()} and {@link #notifyStopped()}
     * callbacks. Its subclasses must manage threads manually; consider {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  4. src/main/assemblies/files/service.bat

    if /i %SERVICE_CMD% == install goto doInstall
    if /i %SERVICE_CMD% == remove goto doRemove
    if /i %SERVICE_CMD% == start goto doStart
    if /i %SERVICE_CMD% == stop goto doStop
    if /i %SERVICE_CMD% == manager goto doManagment
    echo Unknown option "%SERVICE_CMD%"
    
    :displayUsage
    echo.
    echo Usage: service.bat install^|remove^|start^|stop^|manager [SERVICE_ID]
    goto:eof
    
    :doStart
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

                      restoreInterruptIfIsInterruptedException(t);
                      notifyFailed(t);
                    }
                  });
            }
    
            @Override
            protected void doStop() {
              triggerShutdown();
            }
    
            @Override
            public String toString() {
              return AbstractExecutionThreadService.this.toString();
            }
          };
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

                      restoreInterruptIfIsInterruptedException(t);
                      notifyFailed(t);
                    }
                  });
            }
    
            @Override
            protected void doStop() {
              triggerShutdown();
            }
    
            @Override
            public String toString() {
              return AbstractExecutionThreadService.this.toString();
            }
          };
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

                  }
                } finally {
                  lock.unlock();
                }
              });
        }
    
        @Override
        protected final void doStop() {
          // Both requireNonNull calls are safe because doStop can run only after a successful doStart.
          requireNonNull(runningTask);
          requireNonNull(executorService);
          runningTask.cancel(false);
          executorService.execute(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

                  }
                } finally {
                  lock.unlock();
                }
              });
        }
    
        @Override
        protected final void doStop() {
          // Both requireNonNull calls are safe because doStop can run only after a successful doStart.
          requireNonNull(runningTask);
          requireNonNull(executorService);
          runningTask.cancel(false);
          executorService.execute(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       */
      private static final class NoOpService extends AbstractService {
        @Override
        protected void doStart() {
          notifyStarted();
        }
    
        @Override
        protected void doStop() {
          notifyStopped();
        }
      }
    
      /** This is never thrown but only used for logging. */
      private static final class EmptyServiceManagerWarning extends Throwable {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  10. okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list

    dnsalias.com
    dnsalias.net
    dnsalias.org
    dnsdojo.com
    dnsdojo.net
    dnsdojo.org
    dnsfor.me
    dnshome.de
    dnsiskinky.com
    dnsking.ch
    dnsup.net
    dnsupdate.info
    dnsupdater.de
    do
    docs
    doctor
    does-it.net
    doesntexist.com
    doesntexist.org
    dog
    dojin.com
    domains
    donetsk.ua
    dongnai.vn
    dongthap.vn
    donna.no
    dontexist.com
    dontexist.net
    dontexist.org
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 129.6K bytes
    - Viewed (3)
Back to top