Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CatchAndRecordFailures (0.23 sec)

  1. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/DefaultExecutorFactory.java

            }
        }
    
        @Override
        public ManagedExecutor create(String displayName) {
            ManagedExecutor executor = new TrackedManagedExecutor(createExecutor(displayName), new ExecutorPolicy.CatchAndRecordFailures());
            executors.add(executor);
            return executor;
        }
    
        protected ExecutorService createExecutor(String displayName) {
            return Executors.newCachedThreadPool(newThreadFactory(displayName));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/ExclusiveCacheAccessingWorker.java

        private boolean workerCompleted;
        private boolean stopSeen;
        private final CountDownLatch doneSignal = new CountDownLatch(1);
        private final ExecutorPolicy.CatchAndRecordFailures failureHandler = new ExecutorPolicy.CatchAndRecordFailures();
    
        public ExclusiveCacheAccessingWorker(String displayName, ExclusiveCacheAccessCoordinator cacheAccess) {
            this.displayName = displayName;
            this.cacheAccess = cacheAccess;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/impl/DefaultGradleEnterprisePluginBackgroundJobExecutors.java

                new LinkedBlockingQueue<>(),
                new BackgroundThreadFactory()
            );
            poolExecutor.allowCoreThreadTimeOut(true);
    
            return new ManagedExecutorImpl(poolExecutor, new ExecutorPolicy.CatchAndRecordFailures());
        }
    
        @Inject
        public DefaultGradleEnterprisePluginBackgroundJobExecutors(DevelocityPluginUnsafeConfigurationService unsafeConfigurationService) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 29 16:27:53 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/ExecutorPolicy.java

        void onStop();
    
        /**
         * Runs the Runnable, catches all Throwables and logs them.
         *
         * The first exception caught during onExecute(), will be rethrown in onStop().
         */
        class CatchAndRecordFailures implements ExecutorPolicy {
            private static final Logger LOGGER = LoggerFactory.getLogger(DefaultExecutorFactory.class);
            private final AtomicReference<Throwable> failure = new AtomicReference<Throwable>();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/integTest/groovy/org/gradle/integtests/fixtures/executer/IgnoreKotlinCompilerWarningIntegrationTest.groovy

    \tat org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
    \tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
    \tat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
    \tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top