Class NamedLockFactoryAdapter
- java.lang.Object
-
- org.eclipse.aether.internal.impl.synccontext.named.NamedLockFactoryAdapter
-
public final class NamedLockFactoryAdapter extends java.lang.Object
Adapter to adaptNamedLockFactoryandNamedLocktoSyncContext.
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_RETRYstatic longDEFAULT_RETRY_WAITstatic longDEFAULT_TIMEstatic java.util.concurrent.TimeUnitDEFAULT_TIME_UNITstatic java.lang.StringRETRY_KEYstatic java.lang.StringRETRY_WAIT_KEYstatic java.lang.StringTIME_KEYstatic java.lang.StringTIME_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.NamedLockFactorygetNamedLockFactory()NameMappergetNameMapper()org.eclipse.aether.SyncContextnewInstance(org.eclipse.aether.RepositorySystemSession session, boolean shared)java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-