Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for isStopped (0.07 sec)

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

        }
      }
    
      /**
       * Invoke this method to transition the service to the {@link State#FAILED}. The service will
       * <b>not be stopped</b> if it is running. Invoke this method when a service has failed critically
       * or otherwise cannot be started nor stopped.
       */
      protected final void notifyFailed(Throwable cause) {
        checkNotNull(cause);
    
        monitor.enter();
        try {
    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/src/com/google/common/util/concurrent/AbstractService.java

      public final void awaitTerminated() {
        monitor.enterWhenUninterruptibly(isStopped);
        try {
          checkCurrentState(TERMINATED);
        } finally {
          monitor.leave();
        }
      }
    
      @Override
      public final void awaitTerminated(long timeout, TimeUnit unit) throws TimeoutException {
        if (monitor.enterWhenUninterruptibly(isStopped, timeout, unit)) {
          try {
            checkCurrentState(TERMINATED);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/timer/TimeoutTask.java

         * Cancels the task.
         */
        public void cancel() {
            status = CANCELED;
        }
    
        /**
         * Returns whether the task is stopped.
         *
         * @return whether the task is stopped
         */
        public boolean isStopped() {
            return status == STOPPED;
        }
    
        /**
         * Stops the timer.
         */
        public void stop() {
            if (status != ACTIVE) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/timer/TimeoutManager.java

                final TimeoutTask task = e.getElement();
                if (task.isCanceled()) {
                    e.remove();
                } else if (!task.isStopped() && task.isExpired()) {
                    expiredTask.add(task);
                    if (!task.isPermanent()) {
                        e.remove();
                    }
                }
            }
            return expiredTask;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

          new ListenerCallQueue.Event<Listener>() {
            @Override
            public void call(Listener listener) {
              listener.stopped();
            }
    
            @Override
            public String toString() {
              return "stopped()";
            }
          };
    
      /**
       * A listener for the aggregate state changes of the services that are under management. Users
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Service.java

       * this initiates service shutdown and returns immediately. If the service is {@linkplain
       * State#NEW new}, it is {@linkplain State#TERMINATED terminated} without having been started nor
       * stopped. If the service has already been stopped, this method returns immediately without
       * taking action.
       *
       * @return this
       * @since 15.0
       */
      @CanIgnoreReturnValue
      Service stopAsync();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/main/assemblies/files/service.bat

    goto:eof
    :started
    echo The service '%SERVICE_ID%' has been started
    goto:eof
    
    :doStop
    "%EXECUTABLE%" //SS//%SERVICE_ID% %LOG_OPTS%
    if not errorlevel 1 goto stopped
    echo Failed stopping '%SERVICE_ID%' service
    goto:eof
    :stopped
    echo The service '%SERVICE_ID%' has been stopped
    goto:eof
    
    :doManagment
    set EXECUTABLE_MGR=%FESS_HOME%\bin\fess-service-mgr.exe
    "%EXECUTABLE_MGR%" //ES//%SERVICE_ID%
    if not errorlevel 1 goto managed
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/Service.java

       * this initiates service shutdown and returns immediately. If the service is {@linkplain
       * State#NEW new}, it is {@linkplain State#TERMINATED terminated} without having been started nor
       * stopped. If the service has already been stopped, this method returns immediately without
       * taking action.
       *
       * @return this
       * @since 15.0
       */
      @CanIgnoreReturnValue
      Service stopAsync();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        manager.awaitStopped(5, SECONDS); // no exception thrown
      }
    
      /**
       * This covers a case where if the last service to stop failed then the stopped callback would
       * never be called.
       */
      public void testSingleFailedServiceCallsStopped() {
        Service a = new FailStartService();
        ServiceManager manager = new ServiceManager(asList(a));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

            } catch (final ContainerNotAvailableException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("ThumbnailGenerator is stopped.", e);
                } else if (logger.isInfoEnabled()) {
                    logger.info("ThumbnailGenerator is stopped.");
                }
                exitCode = Constants.EXIT_FAIL;
            } catch (final Throwable t) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top