Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for DaemonUnavailableException (0.43 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonUnavailableException.java

     * limitations under the License.
     */
    
    package org.gradle.launcher.daemon.server.api;
    
    /**
     * Thrown when the daemon is unavailable to run any commands.
     */
    public class DaemonUnavailableException extends RuntimeException {
        public DaemonUnavailableException(String message) {
            super(message);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 891 bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java

                    case Broken:
                        throw new DaemonUnavailableException("This daemon is in a broken state and will stop.");
                    case StopRequested:
                        throw new DaemonUnavailableException("This daemon is currently stopping.");
                    case Stopped:
                    case ForceStopped:
                        throw new DaemonUnavailableException("This daemon has stopped.");
                    case Busy:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonStateControl.java

         *
         * <p>The daemon will stop accepting new work, so that subsequent calls to {@link #runCommand} will fail with {@link DaemonUnavailableException}.
         */
        void requestStop(String reason);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

            then:
            DaemonUnavailableException e = thrown()
            e.message == 'This daemon has stopped.'
        }
    
        def "cannot run command after stopped"() {
            Runnable command = Mock()
    
            given:
            coordinator.requestStop("REASON")
    
            when:
            coordinator.runCommand(command, "command")
    
            then:
            DaemonUnavailableException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/StartBuildOrRespondWithBusy.java

    import org.gradle.launcher.daemon.server.api.DaemonStateControl;
    import org.gradle.launcher.daemon.server.api.DaemonStoppedException;
    import org.gradle.launcher.daemon.server.api.DaemonUnavailableException;
    
    /**
     * Updates the daemon idle/busy status, sending a DaemonUnavailable result back to the client if the daemon is busy.
     */
    public class StartBuildOrRespondWithBusy extends BuildCommandOnly {
        
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.launcher.daemon.server.api.DaemonUnavailableException> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (DaemonUnavailableException.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