Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for doStop (0.09 sec)

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

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import javax.annotation.CheckForNull;
    
    /**
     * 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  2. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. 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 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/AbstractService.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import javax.annotation.CheckForNull;
    
    /**
     * 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractIdleService.java

                      restoreInterruptIfIsInterruptedException(t);
                      notifyFailed(t);
                    }
                  });
        }
    
        @Override
        protected final void doStop() {
          MoreExecutors.renamingDecorator(executor(), threadNameSupplier)
              .execute(
                  () -> {
                    try {
                      shutDown();
                      notifyStopped();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 5.3K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. Makefile.core.mk

    GOPATH ?= $(shell cd ${ISTIO_GO}/../../..; pwd)
    export GOPATH
    
    # If GOPATH is made up of several paths, use the first one for our targets in this Makefile
    GO_TOP := $(shell echo ${GOPATH} | cut -d ':' -f1)
    export GO_TOP
    
    GO ?= go
    
    GOARCH_LOCAL := $(TARGET_ARCH)
    GOOS_LOCAL := $(TARGET_OS)
    
    #-----------------------------------------------------------------------------
    # Output control
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 03 23:53:59 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top