Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addUnrecoverableErrorHandler (0.31 sec)

  1. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/child/ActionExecutionWorker.java

            LOGGER.debug("Starting {}.", workerContext.getDisplayName());
    
            ObjectConnection clientConnection = workerContext.getServerConnection();
            clientConnection.addUnrecoverableErrorHandler(new Action<Throwable>() {
                @Override
                public void execute(Throwable throwable) {
                    if (action instanceof Stoppable) {
                        ((Stoppable) action).stop();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/worker/ForkingTestClassProcessor.java

            workerProcess.start();
    
            ObjectConnection connection = workerProcess.getConnection();
            connection.useParameterSerializers(TestEventSerializer.create());
            connection.addUnrecoverableErrorHandler(new Action<Throwable>() {
                @Override
                public void execute(Throwable throwable) {
                    lock.lock();
                    try {
                        if (!stoppedNow) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 12:13:32 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top