Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for WorkerPid (0.19 sec)

  1. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy

                import java.lang.annotation.ElementType;
                import java.lang.annotation.Retention;
                import java.lang.annotation.RetentionPolicy;
                import java.lang.annotation.Target;
    
                @Retention(RetentionPolicy.SOURCE)
                @Target(ElementType.TYPE)
                public @interface WorkerPid {
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 18:43:14 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/util/ports/FixedAvailablePortAllocatorTest.groovy

            int rangeSize = FixedAvailablePortAllocator.DEFAULT_RANGE_SIZE - 1
            def portAllocators = (1..totalAgents).collect { agentNum ->
                (1..totalWorkers).collect { workerId ->
                    def portAllocator = new FixedAvailablePortAllocator(workerId, agentNum, totalAgents)
                    portAllocator.assignPort()
                    return portAllocator
                }
            }
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 05 09:53:33 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  3. subprojects/core/src/testFixtures/groovy/org/gradle/util/ports/FixedAvailablePortAllocator.groovy

        private static FixedAvailablePortAllocator instance
        final int workerId
        final int agentNum
        final int totalAgents
        final int rangeCountPerAgent
        final int rangeSize
    
        FixedAvailablePortAllocator(int workerId, int agentNum, int totalAgents) {
            this.agentNum = agentNum
            this.workerId = workerId
            this.totalAgents = totalAgents
            this.rangeSize = DEFAULT_RANGE_SIZE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 14 16:59:54 UTC 2017
    - 2.7K bytes
    - Viewed (0)
  4. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/messaging/WorkerConfig.java

            this.workerId = workerId;
            this.displayName = displayName;
            this.workerAction = workerAction;
            this.nativeServicesMode = nativeServicesMode;
    
            assert workerAction instanceof Serializable;
        }
    
        public LogLevel getLogLevel() {
            return logLevel;
        }
    
        /**
         * @return True if process info should be published. False otherwise.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/messaging/WorkerConfigSerializer.java

            String gradleUserHomeDirPath = decoder.readString();
            MultiChoiceAddress serverAddress = new MultiChoiceAddressSerializer().read(decoder);
            final long workerId = decoder.readSmallLong();
            final String displayName = decoder.readString();
            Action<? super WorkerProcessContext> workerAction = deserializeWorker(decoder.readBinary(), getClass().getClassLoader());
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. platforms/core-execution/worker-main/src/test/groovy/org/gradle/process/internal/worker/messaging/WorkerConfigSerializerTest.groovy

            processed.gradleUserHomeDirPath == original.gradleUserHomeDirPath
            processed.serverAddress == original.serverAddress
            processed.workerId == original.workerId
            processed.displayName == original.displayName
            processed.workerAction instanceof TestAction
            processed.workerAction.value == original.workerAction.value
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/child/SystemApplicationClassLoaderWorker.java

            private final long workerId;
            private final String displayName;
            private final ObjectConnection serverConnection;
            private final WorkerServices workerServices;
    
            public ContextImpl(long workerId, String displayName, ObjectConnection serverConnection, WorkerServices workerServices) {
                this.workerId = workerId;
                this.displayName = displayName;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousWorkerDaemonServiceIntegrationTest.groovy

    import org.gradle.util.internal.TextUtil
    
    class ContinuousWorkerDaemonServiceIntegrationTest extends AbstractContinuousIntegrationTest {
        def workerDaemonIdentityFileName = "build/workerId"
        def workerDaemonIdentityFile = file(workerDaemonIdentityFileName)
        def inputFile = file("inputFile")
    
        def setup() {
            workerDaemonIdentityFile.createFile()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/process/internal/worker/child/ApplicationClassesInSystemClassLoaderWorkerImplementationFactory.java

            this.gradleUserHomeDir = gradleUserHomeDir;
        }
    
        /**
         * Configures the Java command that will be used to launch the child process.
         */
        public void prepareJavaCommand(long workerId, String displayName, WorkerProcessBuilder processBuilder, List<URL> implementationClassPath, List<URL> implementationModulePath, Address serverAddress, JavaExecHandleBuilder execSpec, boolean publishProcessInfo, boolean useOptionsFile) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 10:09:51 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/TestWorkerTest.groovy

        def resultProcessor = Mock(TestResultProcessor)
        def worker = new TestWorker(factory)
        def serviceRegistry = new DefaultServiceRegistry().add(Clock, Time.clock())
    
        def setup() {
            workerContext.workerId >> "<worker-id>"
            workerContext.serverConnection >> connection
            workerContext.serviceRegistry >> serviceRegistry
        }
    
        def createsTestProcessorAndBlocksUntilEndOfProcessingReceived() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top