Package | Description |
---|---|
org.eclipse.aether.internal.impl.synccontext | |
org.eclipse.aether.internal.impl.synccontext.named |
Modifier and Type | Method and Description |
---|---|
NameMapper |
NamedLockFactorySelector.getSelectedNameMapper()
Returns the selected
NameMapper , never null. |
Constructor and Description |
---|
NamedLockFactorySelector(Map<String,NamedLockFactory> factories,
Map<String,NameMapper> nameMappers)
Constructor used with DI, where factories are injected and selected based on key.
|
Modifier and Type | Class and Description |
---|---|
class |
DiscriminatingNameMapper
Discriminating
NameMapper , that wraps another NameMapper and adds a "discriminator" as prefix, that
makes lock names unique including the hostname and local repository (by default). |
class |
GAVNameMapper
Artifact GAV
NameMapper , uses artifact and metadata coordinates to name their corresponding locks. |
class |
StaticNameMapper
Static
NameMapper , always assigns one same name, effectively becoming equivalent to "static" sync context. |
Constructor and Description |
---|
DiscriminatingNameMapper(NameMapper nameMapper) |
NamedLockFactoryAdapter(NameMapper nameMapper,
NamedLockFactory namedLockFactory,
long time,
TimeUnit timeUnit) |
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.