Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for DaemonStopEvent (0.26 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonStopEvent.java

    import java.io.Serializable;
    import java.util.Calendar;
    import java.util.Date;
    
    /**
     * Information regarding when and why a daemon was stopped.
     */
    public class DaemonStopEvent implements Serializable {
        public static final org.gradle.internal.serialize.Serializer<DaemonStopEvent> SERIALIZER = new Serializer();
    
        private final Date timestamp;
        @Nullable
        private final Long pid;
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/protocol/DaemonStatusAndErrorReportingTest.groovy

            status.pid == null
        }
    
        def "PID unboxing should not happen in DaemonStopEvent"() {
            given:
            Long unknownPID = null;
    
            when:
            def daemonStopEvent = new DaemonStopEvent(null, unknownPID, null, null);
    
            then:
            notThrown(NullPointerException)
            daemonStopEvent.pid == null
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonRegistry.java

        void store(DaemonInfo info);
        void remove(Address address);
        void markState(Address address, State state);
    
        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. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/PersistentDaemonRegistryTest.groovy

        }
    
        def "clears multiple stop events when non-empty"() {
            given:
            def stopEvents = [
                new DaemonStopEvent(new Date(1L), new Random().nextLong(), DaemonExpirationStatus.GRACEFUL_EXPIRE, "STOP_REASON"),
                new DaemonStopEvent(new Date(42L), new Random().nextLong(), DaemonExpirationStatus.IMMEDIATE_EXPIRE, "ANOTHER_STOP_REASON")
            ]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/PersistentDaemonRegistry.java

            }
        }
    
        @Override
        public List<DaemonStopEvent> getStopEvents() {
            lock.lock();
            try {
                LOGGER.debug("Getting daemon stop events");
                DaemonRegistryContent content = cache.get();
                if (content == null) { // no daemon process has started yet
                    return new LinkedList<DaemonStopEvent>();
                }
                return content.getStopEvents();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.launcher.daemon.registry.DaemonStopEvent$Serializer> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (DaemonStopEvent.java:0)
    Class <org.gradle.launcher.daemon.registry.DaemonStopEvent> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (DaemonStopEvent.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