Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for EmptyRegistryException (0.23 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/DaemonRegistryUpdaterTest.groovy

            registry.markState(address, Busy) >> { throw new EmptyRegistryException("") }
    
            when:
            updater.onStartActivity()
    
            then:
            noExceptionThrown()
        }
    
        def "ignores empty cache on stopping"() {
            given:
            updater.onStart(address)
            registry.remove(address) >> { throw new EmptyRegistryException("") }
    
            when:
            updater.stop()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonRegistryUpdater.java

            LOGGER.info("Marking the daemon as busy, address: {}", connectorAddress);
            try {
                daemonRegistry.markState(connectorAddress, Busy);
            } catch (DaemonRegistry.EmptyRegistryException e) {
                LOGGER.warn("Cannot mark daemon as busy because the registry is empty.");
            }
        }
    
        public void onCompleteActivity() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonRegistry.java

        void storeStopEvent(DaemonStopEvent stopEvent);
        List<DaemonStopEvent> getStopEvents();
        void removeStopEvents(Collection<DaemonStopEvent> stopEvents);
    
        static class EmptyRegistryException extends RuntimeException {
            public EmptyRegistryException(String message) {
                super(message);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:23:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.launcher.daemon.registry.DaemonInfo> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (DaemonInfo.java:0)
    Class <org.gradle.launcher.daemon.registry.DaemonRegistry$EmptyRegistryException> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (DaemonRegistry.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top