Class NamedLockFactoryAdapter
java.lang.Object
org.eclipse.aether.internal.impl.synccontext.named.NamedLockFactoryAdapter
Adapter to adapt
NamedLockFactory and NamedLock to SyncContext.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe amount of retries on time-out.static final StringThe amount of milliseconds to wait between retries on time-out.static final StringThe maximum of time amount to be blocked to obtain lock.static final StringThe unit of maximum time amount to be blocked to obtain lock.static final Stringstatic final intstatic final longstatic final longstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionNamedLockFactoryAdapter(NameMapper nameMapper, org.eclipse.aether.named.NamedLockFactory namedLockFactory) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.named.NamedLockFactoryorg.eclipse.aether.SyncContextnewInstance(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
-