Class DataPool
java.lang.Object
org.eclipse.aether.internal.impl.collect.DataPool
Internal helper class for collector implementations.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Flag controlling interning data pool type used by dependency collector for Artifact instances, matters for heap consumption.static final String
Flag controlling interning data pool type used by dependency collector for Dependency instances, matters for heap consumption.static final String
Flag controlling interning data pool type used by dependency collector for ArtifactDescriptor (POM) instances, matters for heap consumption.static final String
static final String
static final org.eclipse.aether.resolution.ArtifactDescriptorResult
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList
<org.eclipse.aether.graph.DependencyNode> getChildren
(Object key) org.eclipse.aether.resolution.VersionRangeResult
getConstraint
(Object key, org.eclipse.aether.resolution.VersionRangeRequest request) org.eclipse.aether.resolution.ArtifactDescriptorResult
getDescriptor
(Object key, org.eclipse.aether.resolution.ArtifactDescriptorRequest request) org.eclipse.aether.artifact.Artifact
intern
(org.eclipse.aether.artifact.Artifact artifact) org.eclipse.aether.graph.Dependency
intern
(org.eclipse.aether.graph.Dependency dependency) void
putChildren
(Object key, List<org.eclipse.aether.graph.DependencyNode> children) void
putConstraint
(Object key, org.eclipse.aether.resolution.VersionRangeResult result) void
putDescriptor
(Object key, org.eclipse.aether.resolution.ArtifactDescriptorException e) void
putDescriptor
(Object key, org.eclipse.aether.resolution.ArtifactDescriptorResult result) toKey
(org.eclipse.aether.artifact.Artifact artifact, List<org.eclipse.aether.repository.RemoteRepository> repositories, org.eclipse.aether.collection.DependencySelector selector, org.eclipse.aether.collection.DependencyManager manager, org.eclipse.aether.collection.DependencyTraverser traverser, org.eclipse.aether.collection.VersionFilter filter) toKey
(org.eclipse.aether.resolution.ArtifactDescriptorRequest request) toKey
(org.eclipse.aether.resolution.VersionRangeRequest request)
-
Field Details
-
CONFIG_PROPS_PREFIX
- See Also:
-
CONFIG_PROP_COLLECTOR_POOL_ARTIFACT
Flag controlling interning data pool type used by dependency collector for Artifact instances, matters for heap consumption. By default, uses “weak” references (consume less heap). Using “hard” will make it much more memory aggressive and possibly faster (system and Java dependent). Supported values: "hard", "weak". -
CONFIG_PROP_COLLECTOR_POOL_DEPENDENCY
Flag controlling interning data pool type used by dependency collector for Dependency instances, matters for heap consumption. By default, uses “weak” references (consume less heap). Using “hard” will make it much more memory aggressive and possibly faster (system and Java dependent). Supported values: "hard", "weak". -
CONFIG_PROP_COLLECTOR_POOL_DESCRIPTOR
Flag controlling interning data pool type used by dependency collector for ArtifactDescriptor (POM) instances, matters for heap consumption. By default, uses “weak” references (consume less heap). Using “hard” will make it much more memory aggressive and possibly faster (system and Java dependent). Supported values: "hard", "weak". -
NO_DESCRIPTOR
-
HARD
- See Also:
-
WEAK
- See Also:
-
-
Constructor Details
-
DataPool
-
-
Method Details
-
intern
-
intern
-
toKey
-
getDescriptor
public org.eclipse.aether.resolution.ArtifactDescriptorResult getDescriptor(Object key, org.eclipse.aether.resolution.ArtifactDescriptorRequest request) -
putDescriptor
public void putDescriptor(Object key, org.eclipse.aether.resolution.ArtifactDescriptorResult result) -
putDescriptor
-
toKey
-
getConstraint
public org.eclipse.aether.resolution.VersionRangeResult getConstraint(Object key, org.eclipse.aether.resolution.VersionRangeRequest request) -
putConstraint
-
toKey
public Object toKey(org.eclipse.aether.artifact.Artifact artifact, List<org.eclipse.aether.repository.RemoteRepository> repositories, org.eclipse.aether.collection.DependencySelector selector, org.eclipse.aether.collection.DependencyManager manager, org.eclipse.aether.collection.DependencyTraverser traverser, org.eclipse.aether.collection.VersionFilter filter) -
getChildren
-
putChildren
-