Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for collectClassLoaderDefinitions (0.48 sec)

  1. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/SerializeMap.java

         * Visits a class to be serialized, returning the id of the deserialize ClassLoader to associate this class with.
         * The id is unique only for this serialization, and is used as the key for the map built by {@link #collectClassLoaderDefinitions(Map)}.
         *
         * @return The ClassLoader id.
         */
        short visitClass(Class<?> target);
    
        /**
         * Collects the set of ClassLoader definitions to use to deserialize the graph.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/WellKnownClassLoaderRegistry.java

                    }
                    return delegateSession.visitClass(target);
                }
    
                @Override
                public void collectClassLoaderDefinitions(Map<Short, ClassLoaderDetails> details) {
                    delegateSession.collectClassLoaderDefinitions(details);
                    details.putAll(knownLoaders);
                }
            };
        }
    
        @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)
  3. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadSerializer.java

                } finally {
                    IoActions.closeQuietly(objectStream);
                }
    
                Map<Short, ClassLoaderDetails> classLoaders = new HashMap<Short, ClassLoaderDetails>();
                map.collectClassLoaderDefinitions(classLoaders);
                return new SerializedPayload(classLoaders, buffer.readAsListOfByteArrays());
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/DefaultPayloadClassLoaderRegistry.java

                    classLoaderIds.put(classLoader, id);
                    classLoaderDetails.put(id, details);
    
                    return id;
                }
    
                @Override
                public void collectClassLoaderDefinitions(Map<Short, ClassLoaderDetails> details) {
                    details.putAll(classLoaderDetails);
                }
            };
        }
    
        @Override
        public DeserializeMap newDeserializeSession() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/serialization/ClientSidePayloadClassLoaderRegistry.java

                    candidates.add(target.getClassLoader());
                    return CLIENT_CLASS_LOADER_ID;
                }
    
                @Override
                public void collectClassLoaderDefinitions(Map<Short, ClassLoaderDetails> details) {
                    ClassLoaderDetails clientClassLoaders = getDetailsForClassLoaders(candidates, classPath);
                    details.putAll(classLoaderDetails);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top