Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for requestCancel (0.11 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/WatchForDisconnection.java

                @Override
                public void run() {
                    LOGGER.warn("thread {}: client disconnection detected, canceling the build", Thread.currentThread().getId());
                    execution.getDaemonStateControl().requestCancel();
                }
            });
    
            try {
                execution.proceed();
            } finally {
                // Remove the handler
                execution.getConnection().onDisconnect(null);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonStateControl.java

         */
        State getState();
    
        /**
         * Requests that a running build be canceled.  Note that this method does NOT block until the operation has been cancelled.
         */
        void requestCancel();
    
        /**
         * Communicates a request for build cancellation. Note that this method blocks until the operation has been cancelled.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top