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 long
DEFAULT_TIME
static java.util.concurrent.TimeUnit
DEFAULT_TIME_UNIT
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.SyncContext
newInstance(org.eclipse.aether.RepositorySystemSession session, boolean shared)
void
shutdown()
-
-
-
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
-
-
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)
-
shutdown
public void shutdown()
-
-