Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for WorkerPid (1.33 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/kubelet/logs/container_log_manager.go

    }
    
    func (c *containerLogManager) processQueueItems(ctx context.Context, worker int) {
    	klog.V(4).InfoS("Starting container log rotation worker", "workerID", worker)
    	for c.processContainer(ctx, worker) {
    	}
    	klog.V(4).InfoS("Terminating container log rotation worker", "workerID", worker)
    }
    
    func (c *containerLogManager) rotateLogs(ctx context.Context) error {
    	c.mutex.Lock()
    	defer c.mutex.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top