Class DataPool
java.lang.Object
org.eclipse.aether.internal.impl.collect.DataPool
Internal helper class for collector implementations.
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringFlag controlling interning data pool type used by dependency collector for Artifact instances, matters for heap consumption.static final StringFlag controlling interning data pool type used by dependency collector for Dependency instances, matters for heap consumption.static final StringFlag controlling interning data pool type used by dependency lists collector for ArtifactDescriptor (POM) instances, matters for heap consumption.static final StringFlag controlling interning data pool type used by dependency collector for ArtifactDescriptor (POM) instances, matters for heap consumption.static final StringFlag controlling interning artifact descriptor dependencies.static final StringFlag controlling interning artifact descriptor managed dependencies.static final Stringstatic final Stringstatic final org.eclipse.aether.resolution.ArtifactDescriptorResultstatic final String
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionList<org.eclipse.aether.graph.DependencyNode> getChildren(Object key) org.eclipse.aether.resolution.VersionRangeResultgetConstraint(Object key, org.eclipse.aether.resolution.VersionRangeRequest request) org.eclipse.aether.resolution.ArtifactDescriptorResultgetDescriptor(DataPool.DescriptorKey key, org.eclipse.aether.resolution.ArtifactDescriptorRequest request) org.eclipse.aether.artifact.Artifactintern(org.eclipse.aether.artifact.Artifact artifact) org.eclipse.aether.graph.Dependencyintern(org.eclipse.aether.graph.Dependency dependency) voidputChildren(Object key, List<org.eclipse.aether.graph.DependencyNode> children) voidputConstraint(Object key, org.eclipse.aether.resolution.VersionRangeResult result) voidputDescriptor(DataPool.DescriptorKey key, org.eclipse.aether.resolution.ArtifactDescriptorException e) voidputDescriptor(DataPool.DescriptorKey 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_ARTIFACTFlag 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_DEPENDENCYFlag 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_DESCRIPTORFlag 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".
- 
CONFIG_PROP_COLLECTOR_POOL_DEPENDENCY_LISTSFlag controlling interning data pool type used by dependency lists 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".
- 
CONFIG_PROP_COLLECTOR_POOL_INTERN_ARTIFACT_DESCRIPTOR_DEPENDENCIESFlag controlling interning artifact descriptor dependencies.- Since:
- 1.9.22
- See Also:
- Sourced from:
- RepositorySystemSession.getConfigProperties()
- Value type:
- Boolean
- Default value:
- false
 
- 
CONFIG_PROP_COLLECTOR_POOL_INTERN_ARTIFACT_DESCRIPTOR_MANAGED_DEPENDENCIESpublic static final String CONFIG_PROP_COLLECTOR_POOL_INTERN_ARTIFACT_DESCRIPTOR_MANAGED_DEPENDENCIESFlag controlling interning artifact descriptor managed dependencies.- Since:
- 1.9.22
- See Also:
- Sourced from:
- RepositorySystemSession.getConfigProperties()
- Value type:
- Boolean
- Default value:
- true
 
- 
NO_DESCRIPTOR
- 
HARD- See Also:
 
- 
WEAK- See Also:
 
 
- 
- 
Constructor Details- 
DataPool
 
- 
- 
Method Details- 
intern
- 
intern
- 
toKeypublic DataPool.DescriptorKey toKey(org.eclipse.aether.resolution.ArtifactDescriptorRequest request) 
- 
getDescriptorpublic org.eclipse.aether.resolution.ArtifactDescriptorResult getDescriptor(DataPool.DescriptorKey key, org.eclipse.aether.resolution.ArtifactDescriptorRequest request) 
- 
putDescriptorpublic void putDescriptor(DataPool.DescriptorKey key, org.eclipse.aether.resolution.ArtifactDescriptorResult result) 
- 
putDescriptorpublic void putDescriptor(DataPool.DescriptorKey key, org.eclipse.aether.resolution.ArtifactDescriptorException e) 
- 
toKey
- 
getConstraintpublic org.eclipse.aether.resolution.VersionRangeResult getConstraint(Object key, org.eclipse.aether.resolution.VersionRangeRequest request) 
- 
putConstraint
- 
toKeypublic 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
 
-