Class NamedLockFactoryAdapter
java.lang.Object
org.eclipse.aether.internal.impl.synccontext.named.NamedLockFactoryAdapter
Adapter to adapt
NamedLockFactory
and NamedLock
to SyncContext
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The amount of retries on time-out.static final String
The amount of milliseconds to wait between retries on time-out.static final String
The maximum of time amount to be blocked to obtain lock.static final String
The unit of maximum time amount to be blocked to obtain lock.static final String
static final int
static final long
static final long
static final String
-
Constructor Summary
ConstructorDescriptionNamedLockFactoryAdapter
(NameMapper nameMapper, org.eclipse.aether.named.NamedLockFactory namedLockFactory) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.named.NamedLockFactory
org.eclipse.aether.SyncContext
newInstance
(org.eclipse.aether.RepositorySystemSession session, boolean shared) toString()
-
Field Details
-
CONFIG_PROPS_PREFIX
- See Also:
-
CONFIG_PROP_TIME
The maximum of time amount to be blocked to obtain lock.- Since:
- 1.7.0
- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()
- Value type:
Long
- Default value:
DEFAULT_TIME
-
DEFAULT_TIME
- See Also:
-
CONFIG_PROP_TIME_UNIT
The unit of maximum time amount to be blocked to obtain lock. Use TimeUnit enum names.- Since:
- 1.7.0
- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()
- Value type:
String
- Default value:
DEFAULT_TIME_UNIT
-
DEFAULT_TIME_UNIT
- See Also:
-
CONFIG_PROP_RETRY
The amount of retries on time-out.- Since:
- 1.7.0
- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()
- Value type:
Integer
- Default value:
DEFAULT_RETRY
-
DEFAULT_RETRY
- See Also:
-
CONFIG_PROP_RETRY_WAIT
The amount of milliseconds to wait between retries on time-out.- Since:
- 1.7.0
- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()
- Value type:
Long
- Default value:
DEFAULT_RETRY_WAIT
-
DEFAULT_RETRY_WAIT
- See Also:
-
-
Constructor Details
-
NamedLockFactoryAdapter
public NamedLockFactoryAdapter(NameMapper nameMapper, org.eclipse.aether.named.NamedLockFactory namedLockFactory)
-
-
Method Details
-
newInstance
public org.eclipse.aether.SyncContext newInstance(org.eclipse.aether.RepositorySystemSession session, boolean shared) -
getNameMapper
- Since:
- 1.9.1
-
getNamedLockFactory
- Since:
- 1.9.1
-
toString
-