Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setWorkerLoggingProtocol (0.24 sec)

  1. platforms/core-execution/workers/src/test/groovy/org/gradle/process/internal/worker/child/WorkerLogEventListenerTest.groovy

            given:
            def protocol = Mock(WorkerLoggingProtocol)
            def logEvent = Mock(LogEvent)
            def styledTextOutputEvent = Mock(StyledTextOutputEvent)
            listener.setWorkerLoggingProtocol(protocol)
    
            when:
            listener.onOutput(logEvent)
    
            then:
            1 * protocol.sendOutputEvent(logEvent)
    
            when:
            listener.onOutput(styledTextOutputEvent)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/child/WorkerLogEventListener.java

        public WorkerLogEventListener() {
            this.workerLoggingProtocol = new AtomicReference<WorkerLoggingProtocol>();
        }
    
        public void setWorkerLoggingProtocol(WorkerLoggingProtocol workerLoggingProtocol) {
            this.workerLoggingProtocol.getAndSet(workerLoggingProtocol);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/child/SystemApplicationClassLoaderWorker.java

            connection.useParameterSerializers(WorkerLoggingSerializer.create());
            WorkerLoggingProtocol workerLoggingProtocol = connection.addOutgoing(WorkerLoggingProtocol.class);
            workerLogEventListener.setWorkerLoggingProtocol(workerLoggingProtocol);
            loggingManager.addOutputEventListener(workerLogEventListener);
        }
    
        private void configureWorkerJvmMemoryInfoEvents(WorkerServices services, ObjectConnection connection) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top