Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for isStopped (0.16 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 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/java/org/codelibs/core/timer/TimeoutTask.java

         * 止まっているかどうか返します。
         *
         * @return 止まっているかどうか
         */
        public boolean isStopped() {
            return status == STOPPED;
        }
    
        /**
         * タイマーをとめます。
         */
        public void stop() {
            if (status != ACTIVE) {
                throw new ClIllegalStateException(String.valueOf(status));
            }
            status = STOPPED;
        }
    
        /**
         * タイマーを再開始します。
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  8. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

          finalizeReferentCalled = true;
        }
      }
    
      /**
       * Keeps a weak reference to the underlying reference queue. When this reference is cleared, we
       * know that the background thread has stopped and released its strong reference.
       */
      private WeakReference<ReferenceQueue<Object>> queueReference;
    
    
      public void testThatFinalizerStops() {
        weaklyReferenceQueue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top