- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for newSerializeSession (0.55 sec)
-
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/WellKnownClassLoaderRegistry.java
} public WellKnownClassLoaderRegistry(PayloadClassLoaderRegistry delegate) { this.delegate = delegate; } @Override public SerializeMap newSerializeSession() { final SerializeMap delegateSession = delegate.newSerializeSession(); return new SerializeMap() { final Map<Short, ClassLoaderDetails> knownLoaders = new HashMap<>(); @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 00:13:09 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadClassLoaderRegistry.java
*/ @ThreadSafe public interface PayloadClassLoaderRegistry { /** * Starts serializing an object graph. * The returned value is not required to be thread-safe. */ SerializeMap newSerializeSession(); /** * Starts deserializing an object graph. * The returned value is not required to be thread-safe. */ DeserializeMap newDeserializeSession();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 00:13:09 UTC 2024 - 1.1K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadSerializer.java
if (payload == null) { return new SerializedPayload(null, Collections.<byte[]>emptyList()); } final SerializeMap map = classLoaderRegistry.newSerializeSession(); try { StreamByteBuffer buffer = new StreamByteBuffer(); final ObjectOutputStream objectStream = new PayloadSerializerObjectOutputStream(buffer.getOutputStream(), map);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 00:13:09 UTC 2024 - 3K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/DefaultPayloadClassLoaderRegistry.java
this.cache = cache; this.classLoaderFactory = payloadClassLoaderFactory; } @Override public SerializeMap newSerializeSession() { return new SerializeMap() { final Map<ClassLoader, Short> classLoaderIds = new HashMap<>(); final Map<Short, ClassLoaderDetails> classLoaderDetails = new HashMap<>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 00:13:09 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/serialization/ClientSidePayloadClassLoaderRegistry.java
this.delegate = delegate; this.classpathInferer = classpathInferer; this.classLoaderCache = classLoaderCache; } @Override public SerializeMap newSerializeSession() { final Set<ClassLoader> candidates = new LinkedHashSet<>(); final Set<URI> classPath = new LinkedHashSet<>(); final Map<ClassLoader, Short> classLoaderIds = new HashMap<>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:53:31 UTC 2024 - 10K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java
return description; } } private static class TestClassLoaderRegistry implements PayloadClassLoaderRegistry { @Override public SerializeMap newSerializeSession() { throw new UnsupportedOperationException(); } @Override public DeserializeMap newDeserializeSession() { return (classLoaderDetails, className) -> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 37.1K bytes - Viewed (0)