- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for storeStopEvent (2.02 sec)
-
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/PersistentDaemonRegistryTest.groovy
def "clears single stop event when non-empty"() { given: def stopEvent = new DaemonStopEvent(new Date(1L), new Random().nextLong(), DaemonExpirationStatus.GRACEFUL_EXPIRE, "STOP_REASON") registry.storeStopEvent(stopEvent) when: registry.removeStopEvents([stopEvent]) then: registry.stopEvents.empty } def "clears multiple stop events when non-empty"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonRegistry.java
List<DaemonInfo> getNotIdle(); List<DaemonInfo> getCanceled(); 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 {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 05 22:23:18 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/PersistentDaemonRegistry.java
return oldValue; }}); } finally { lock.unlock(); } } @Override public void storeStopEvent(final DaemonStopEvent stopEvent) { lock.lock(); try { LOGGER.debug("Storing daemon stop event with timestamp {}", stopEvent.getTimestamp().getTime());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 8.9K bytes - Viewed (0)