Class NamedLockFactoryAdapter
- java.lang.Object
-
- org.eclipse.aether.internal.impl.synccontext.named.NamedLockFactoryAdapter
-
public final class NamedLockFactoryAdapter extends java.lang.Object
Adapter to adaptNamedLockFactory
andNamedLock
toSyncContext
.
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_RETRY
static long
DEFAULT_RETRY_WAIT
static long
DEFAULT_TIME
static java.util.concurrent.TimeUnit
DEFAULT_TIME_UNIT
static java.lang.String
RETRY_KEY
static java.lang.String
RETRY_WAIT_KEY
static java.lang.String
TIME_KEY
static java.lang.String
TIME_UNIT_KEY
-
Constructor Summary
Constructors Constructor Description NamedLockFactoryAdapter(NameMapper nameMapper, org.eclipse.aether.named.NamedLockFactory namedLockFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.aether.named.NamedLockFactory
getNamedLockFactory()
NameMapper
getNameMapper()
org.eclipse.aether.SyncContext
newInstance(org.eclipse.aether.RepositorySystemSession session, boolean shared)
java.lang.String
toString()
-
-
-
Field Detail
-
TIME_KEY
public static final java.lang.String TIME_KEY
- See Also:
- Constant Field Values
-
DEFAULT_TIME
public static final long DEFAULT_TIME
- See Also:
- Constant Field Values
-
TIME_UNIT_KEY
public static final java.lang.String TIME_UNIT_KEY
- See Also:
- Constant Field Values
-
DEFAULT_TIME_UNIT
public static final java.util.concurrent.TimeUnit DEFAULT_TIME_UNIT
-
RETRY_KEY
public static final java.lang.String RETRY_KEY
- See Also:
- Constant Field Values
-
DEFAULT_RETRY
public static final int DEFAULT_RETRY
- See Also:
- Constant Field Values
-
RETRY_WAIT_KEY
public static final java.lang.String RETRY_WAIT_KEY
- See Also:
- Constant Field Values
-
DEFAULT_RETRY_WAIT
public static final long DEFAULT_RETRY_WAIT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NamedLockFactoryAdapter
public NamedLockFactoryAdapter(NameMapper nameMapper, org.eclipse.aether.named.NamedLockFactory namedLockFactory)
-
-
Method Detail
-
newInstance
public org.eclipse.aether.SyncContext newInstance(org.eclipse.aether.RepositorySystemSession session, boolean shared)
-
getNameMapper
public NameMapper getNameMapper()
- Since:
- 1.9.1
-
getNamedLockFactory
public org.eclipse.aether.named.NamedLockFactory getNamedLockFactory()
- Since:
- 1.9.1
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-