Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for ScheduledExecutorService (0.31 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitorTest.groovy

     */
    
    package org.gradle.launcher.daemon.server.health.gc
    
    import spock.lang.Specification
    
    import java.util.concurrent.ScheduledExecutorService
    
    class GarbageCollectionMonitorTest extends Specification {
        ScheduledExecutorService scheduledExecutorService = Mock(ScheduledExecutorService)
    
        def "does not schedule garbage collection check when GC strategy is unknown" () {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/gc/DefaultGarbageCollectionMonitor.java

        private final SlidingWindow<GarbageCollectionEvent> nonHeapEvents;
        private final GarbageCollectorMonitoringStrategy gcStrategy;
        private final ScheduledExecutorService pollingExecutor;
    
        public DefaultGarbageCollectionMonitor(GarbageCollectorMonitoringStrategy gcStrategy, ScheduledExecutorService pollingExecutor) {
            this.pollingExecutor = pollingExecutor;
            this.gcStrategy = gcStrategy;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

       * instance. This method is guaranteed to only be called once.
       *
       * <p>By default this returns a new {@link ScheduledExecutorService} with a single thread pool
       * that sets the name of the thread to the {@linkplain #serviceName() service name}. Also, the
       * pool will be {@linkplain ScheduledExecutorService#shutdown() shut down} when the service
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

       * instance. This method is guaranteed to only be called once.
       *
       * <p>By default this returns a new {@link ScheduledExecutorService} with a single thread pool
       * that sets the name of the thread to the {@linkplain #serviceName() service name}. Also, the
       * pool will be {@linkplain ScheduledExecutorService#shutdown() shut down} when the service
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/ManagedScheduledExecutorImpl.java

    import java.util.concurrent.Callable;
    import java.util.concurrent.ScheduledExecutorService;
    import java.util.concurrent.ScheduledFuture;
    import java.util.concurrent.TimeUnit;
    
    public class ManagedScheduledExecutorImpl extends AbstractManagedExecutor<ScheduledExecutorService> implements ManagedScheduledExecutor {
        ManagedScheduledExecutorImpl(ScheduledExecutorService delegate, ExecutorPolicy executorPolicy) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/ManagedScheduledExecutor.java

     * limitations under the License.
     */
    
    package org.gradle.internal.concurrent;
    
    import java.util.concurrent.ScheduledExecutorService;
    
    public interface ManagedScheduledExecutor extends ManagedExecutor, ScheduledExecutorService {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 809 bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        final AtomicReference<ScheduledExecutorService> executor = Atomics.newReference();
        AbstractScheduledService service =
            new AbstractScheduledService() {
              @Override
              protected void runOneIteration() throws Exception {}
    
              @Override
              protected ScheduledExecutorService executor() {
                executor.set(super.executor());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        final AtomicReference<ScheduledExecutorService> executor = Atomics.newReference();
        AbstractScheduledService service =
            new AbstractScheduledService() {
              @Override
              protected void runOneIteration() throws Exception {}
    
              @Override
              protected ScheduledExecutorService executor() {
                executor.set(super.executor());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/Daemon.java

        private final DaemonRegistry daemonRegistry;
        private final DaemonContext daemonContext;
        private final DaemonCommandExecuter commandExecuter;
        private final ScheduledExecutorService scheduledExecutorService;
        private final ExecutorFactory executorFactory;
        private final ListenerManager listenerManager;
    
        private DaemonStateCoordinator stateCoordinator;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/ThrottlingOutputEventListener.java

    import org.gradle.internal.time.Clock;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.Executors;
    import java.util.concurrent.ScheduledExecutorService;
    import java.util.concurrent.ScheduledFuture;
    import java.util.concurrent.TimeUnit;
    
    /**
     * Queue output events to be forwarded and schedule flush when time passed or if end of build is signalled.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top