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 ArtifactDescriptorResult
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetChildren
(Object key) getConstraint
(Object key, VersionRangeRequest request) getDescriptor
(Object key, ArtifactDescriptorRequest request) intern
(Dependency dependency) void
putChildren
(Object key, List<DependencyNode> children) void
putConstraint
(Object key, VersionRangeResult result) void
void
putDescriptor
(Object key, ArtifactDescriptorResult result) toKey
(Artifact artifact, List<RemoteRepository> repositories, DependencySelector selector, DependencyManager manager, DependencyTraverser traverser, VersionFilter filter) toKey
(ArtifactDescriptorRequest request) toKey
(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".- Since:
- 1.9.5
- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()
- Value type:
String
- Default value:
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".- Since:
- 1.9.5
- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()
- Value type:
String
- Default value:
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".- Since:
- 1.9.5
- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()
- Value type:
String
- Default value:
HARD
-
NO_DESCRIPTOR
-
HARD
- See Also:
-
WEAK
- See Also:
-
-
Constructor Details
-
DataPool
-
-
Method Details
-
intern
-
intern
-
toKey
-
getDescriptor
-
putDescriptor
-
putDescriptor
-
toKey
-
getConstraint
-
putConstraint
-
toKey
public Object toKey(Artifact artifact, List<RemoteRepository> repositories, DependencySelector selector, DependencyManager manager, DependencyTraverser traverser, VersionFilter filter) -
getChildren
-
putChildren
-