Class NamedLockFactoryAdapter
java.lang.Object
org.eclipse.aether.internal.impl.synccontext.named.NamedLockFactoryAdapter
-
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 StringDeprecated.static final StringDeprecated.static final Stringstatic final intstatic final longstatic final longDeprecated.static final StringDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionNamedLockFactoryAdapter(NameMapper nameMapper, NamedLockFactory namedLockFactory, long lockWait, TimeUnit lockWaitUnit) -
Method Summary
Modifier and TypeMethodDescriptionnewInstance(RepositorySystemSession session, boolean shared) toString()
-
Field Details
-
CONFIG_PROPS_PREFIX
- See Also:
-
CONFIG_PROP_TIME
Deprecated.The maximum of time amount to be blocked to obtain lock. Deprecated: useaether.system.named...configuration instead.- Since:
- 1.7.0
- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()- Value type:
Long
-
DEFAULT_TIME
Deprecated.- See Also:
-
CONFIG_PROP_TIME_UNIT
Deprecated.The unit of maximum time amount to be blocked to obtain lock. Use TimeUnit enum names. Deprecated: useaether.system.named...configuration instead.- Since:
- 1.7.0
- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()- Value type:
String
-
DEFAULT_TIME_UNIT
Deprecated.- 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, NamedLockFactory namedLockFactory, long lockWait, TimeUnit lockWaitUnit)
-
-
Method Details