Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for doStop (0.04 seconds)

  1. 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.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  2. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 20.7K bytes
    - Click Count (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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  4. 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();
            }
          };
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. 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();
            }
          };
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  6. 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(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 27.7K bytes
    - Click Count (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(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 27.8K bytes
    - Click Count (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 {}
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 33.2K bytes
    - Click Count (1)
  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 {}
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  10. build-logic-settings/configuration-cache-compatibility/src/main/kotlin/gradlebuild.configuration-cache-compatibility.settings.gradle.kts

            // https://youtrack.jetbrains.com/issue/KT-50881
            task.name in listOf("generateExternals") -> true
    
            // JMH plugin
            task.name in listOf("jmh", "jmhJar", "jmhReport") -> true
    
            // Gradle Doctor plugin
            task.name in listOf(
                "graph", "graphMain",
                "projectGraphReport",
                "ripples",
                "aggregateAdvice",
            ) -> true
    
            task.name.startsWithAnyOf(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jan 15 16:07:38 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top