Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setMaxWorkerCount (0.66 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/concurrent/DefaultParallelismConfiguration.java

        /**
         * {@inheritDoc}
         */
        @Override
        public int getMaxWorkerCount() {
            return maxWorkerCount;
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public void setMaxWorkerCount(int maxWorkerCount) {
            if (maxWorkerCount < 1) {
                throw new IllegalArgumentException("Max worker count must be > 0");
            } else {
                this.maxWorkerCount = maxWorkerCount;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/concurrent/ParallelismConfiguration.java

         *
         * @throws IllegalArgumentException if {@code maxWorkerCount} is &lt; 1
         * @see #getMaxWorkerCount()
         */
        void setMaxWorkerCount(int maxWorkerCount);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/initialization/ParallelismBuildOptions.java

                try {
                    int workerCount = Integer.parseInt(value);
                    if (workerCount < 1) {
                        origin.handleInvalidValue(value, HINT);
                    }
                    settings.setMaxWorkerCount(workerCount);
                } catch (NumberFormatException e) {
                    origin.handleInvalidValue(value, HINT);
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 19:00:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/StartParameter.java

            return parallelismConfiguration.getMaxWorkerCount();
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public void setMaxWorkerCount(int maxWorkerCount) {
            parallelismConfiguration.setMaxWorkerCount(maxWorkerCount);
        }
    
        /**
         * If the configure-on-demand mode is active
         */
        @Incubating
        public boolean isConfigureOnDemand() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/action/BuildActionSerializer.java

                // Parallel configuration
                startParameter.setParallelProjectExecutionEnabled(decoder.readBoolean());
                startParameter.setMaxWorkerCount(decoder.readSmallInt());
    
                // Tasks
                startParameter.setTaskRequests(readTaskRequests(decoder));
                startParameter.setExcludedTaskNames(stringSetSerializer.read(decoder));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 30.1K bytes
    - Viewed (0)
Back to top