- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for ObjectConnection (0.28 sec)
-
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/ObjectConnection.java
* generally some configuration thread. Only the stop methods are thread-safe. The other methods will be made thread-safe (or moved somewhere else) later. */ public interface ObjectConnection extends AsyncStoppable, ObjectConnectionBuilder { /** * Completes the connection. No further configuration can be done. */ void connect(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/ForkingTestClassProcessorTest.groovy
class ForkingTestClassProcessorTest extends Specification { WorkerThreadRegistry workerLeaseRegistry = Mock(WorkerThreadRegistry) RemoteTestClassProcessor remoteProcessor = Mock(RemoteTestClassProcessor) ObjectConnection connection = Mock(ObjectConnection) { addOutgoing(RemoteTestClassProcessor.class) >> remoteProcessor } WorkerProcess workerProcess = Mock(WorkerProcess) { getConnection() >> connection }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 6.3K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MessageHubBackedServer.java
} @Override public ConnectionAcceptor accept(Action<ObjectConnection> action) { return connector.accept(new ConnectEventAction(action), false); } private class ConnectEventAction implements Action<ConnectCompletion> { private final Action<ObjectConnection> action; public ConnectEventAction(Action<ObjectConnection> action) { this.action = action; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 1.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/worker/WorkerProcess.java
import org.gradle.api.Describable; import org.gradle.internal.remote.ObjectConnection; import org.gradle.process.ExecResult; import org.gradle.process.internal.health.memory.JvmMemoryStatus; import java.util.Optional; /** * A child JVM that performs some worker action. You can send and receive messages to/from the worker action * using a supplied {@link ObjectConnection}. */ public interface WorkerProcess extends Describable {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 19 21:45:01 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/child/ActionExecutionWorker.java
* limitations under the License. */ package org.gradle.process.internal.worker.child; import org.gradle.api.Action; import org.gradle.internal.concurrent.Stoppable; import org.gradle.internal.remote.ObjectConnection; import org.gradle.process.internal.worker.WorkerProcessContext; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * <p>The final stage of worker start-up. Takes care of executing the worker action.</p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:58:56 UTC 2024 - 2.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/worker/DefaultWorkerProcess.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 19 14:39:33 UTC 2024 - 8.1K bytes - Viewed (0) -
platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/WorkerProcessContext.java
*/ String getDisplayName(); /** * Returns the connection which can be used to send/receive messages to/from the server process. Call {@link ObjectConnection#connect()} to complete the connection. */ ObjectConnection getServerConnection(); ClassLoader getApplicationClassLoader(); ServiceRegistry getServiceRegistry();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:58:56 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MessageHubBackedClient.java
import org.gradle.internal.remote.Address; import org.gradle.internal.remote.internal.OutgoingConnector; import org.gradle.internal.remote.MessagingClient; import org.gradle.internal.remote.ObjectConnection; public class MessageHubBackedClient implements MessagingClient { private final OutgoingConnector connector; private final ExecutorFactory executorFactory;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/worker/ForkingTestClassProcessor.java
import org.gradle.internal.exceptions.DefaultMultiCauseException; import org.gradle.internal.nativeintegration.services.NativeServices.NativeServicesMode; import org.gradle.internal.remote.ObjectConnection; import org.gradle.internal.work.WorkerLeaseRegistry; import org.gradle.internal.work.WorkerThreadRegistry; import org.gradle.process.JavaForkOptions; import org.gradle.process.internal.ExecException;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 12:13:32 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MessageHubBackedClientTest.groovy
ManagedExecutor executor = Mock() when: def objectConnection = client.getConnection(address) then: 1 * connector.connect(address) >> connectCompletion 1 * executorFactory.create("${connectCompletion} workers") >> executor when: objectConnection.connect() then: 1 * connectCompletion.create(_) >> backingConnection
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 2.1K bytes - Viewed (0)