- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for ImplementationSnapshot (0.44 sec)
-
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/ImplementationSnapshot.java
* Identifies a type in a classloader hierarchy. The type is identified by its name, * the classloader hierarchy by its hash code. */ public abstract class ImplementationSnapshot implements ValueSnapshot { protected final String classIdentifier; public static ImplementationSnapshot of(Class<?> type, ClassLoaderHierarchyHasher classLoaderHasher) { String className = type.getName();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 22:53:34 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ImplementationSnapshotSerializer.java
@Override public void write(Encoder encoder, ImplementationSnapshot implementationSnapshot) throws Exception { Impl serializer = determineSerializer(implementationSnapshot); encoder.writeSmallInt(serializer.ordinal()); serializer.write(encoder, implementationSnapshot); } private static Impl determineSerializer(ImplementationSnapshot implementationSnapshot) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 12:33:49 UTC 2024 - 6K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/ExecutionInputState.java
import org.gradle.internal.snapshot.ValueSnapshot; import org.gradle.internal.snapshot.impl.ImplementationSnapshot; /** * Captures the state of the inputs of a {@link org.gradle.internal.execution.UnitOfWork}. */ public interface ExecutionInputState { /** * The main implementation snapshots. */ ImplementationSnapshot getImplementation(); /** * Used only for tasks to return all the task actions.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:29 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultPreviousExecutionStateSerializer.java
HashCode cacheKey = hashCodeSerializer.read(decoder); ImplementationSnapshot taskImplementation = implementationSnapshotSerializer.read(decoder); // We can't use an immutable list here because some hashes can be null int taskActionsCount = decoder.readSmallInt(); ImmutableList.Builder<ImplementationSnapshot> taskActionImplementationsBuilder = ImmutableList.builder();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 08:25:58 UTC 2024 - 8.7K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/ImplementationSnapshotTest.groovy
'unknown classloader for class' | { -> ImplementationSnapshot.of("SomeClass", null) } 'unknown classloader for lambda' | { -> ImplementationSnapshot.of('SomeClass$$Lambda/23501234324', null) } 'unknown lambda' | { -> ImplementationSnapshot.of('SomeClass$$Lambda/23501234324', SHARED_CLASSLOADER_HASH) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 23:46:07 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/ImplementationChangesTest.groovy
} @Override String getDisplayName() { return "Execute test action" } @Override ImplementationSnapshot getActionImplementation(ClassLoaderHierarchyHasher hasher) { return ImplementationSnapshot.of(getClass(), hasher) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 4.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/taskfactory/StandardTaskAction.java
protected void doExecute(Task task, String methodName) { JavaMethod.of(task, Object.class, methodName).invoke(task); } @Override public ImplementationSnapshot getActionImplementation(ClassLoaderHierarchyHasher hasher) { return ImplementationSnapshot.of(type.getName(), hasher.getClassLoaderHash(method.getDeclaringClass().getClassLoader())); } @Override public String getDisplayName() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 27 05:02:28 UTC 2020 - 2.4K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultBeforeExecutionState.java
private final ImmutableSortedMap<String, FileSystemSnapshot> outputFileLocationSnapshots; public DefaultBeforeExecutionState( ImplementationSnapshot implementation, ImmutableList<ImplementationSnapshot> additionalImplementations, ImmutableSortedMap<String, ValueSnapshot> inputProperties, ImmutableSortedMap<String, CurrentFileCollectionFingerprint> inputFileProperties,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/AbstractInputExecutionState.java
import org.gradle.internal.snapshot.ValueSnapshot; import org.gradle.internal.snapshot.impl.ImplementationSnapshot; public class AbstractInputExecutionState<C extends FileCollectionFingerprint> implements ExecutionInputState { protected final ImplementationSnapshot implementation; protected final ImmutableList<ImplementationSnapshot> additionalImplementations; protected final ImmutableSortedMap<String, ValueSnapshot> inputProperties;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:29 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AbstractCaptureStateBeforeExecutionStep.java
work.visitImplementations(implementationsBuilder); ImplementationSnapshot implementation = implementationsBuilder.getImplementation(); ImmutableList<ImplementationSnapshot> additionalImplementations = implementationsBuilder.getAdditionalImplementations(); if (LOGGER.isDebugEnabled()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:36:34 UTC 2024 - 8.1K bytes - Viewed (0)