|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonatype.aether.impl.internal.DefaultSyncContextFactory
@Component(role=SyncContextFactory.class) public class DefaultSyncContextFactory
A factory to create synchronization contexts. This default implementation actually does not provide any real synchronization but merely completes the repository system.
Constructor Summary | |
---|---|
DefaultSyncContextFactory()
|
Method Summary | |
---|---|
SyncContext |
newInstance(RepositorySystemSession session,
boolean shared)
Creates a new synchronization context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSyncContextFactory()
Method Detail |
---|
public SyncContext newInstance(RepositorySystemSession session, boolean shared)
SyncContextFactory
newInstance
in interface SyncContextFactory
session
- The repository session during which the context will be used, must not be null
.shared
- A flag indicating whether access to the artifacts/metadata associated with the new context can be
shared among concurrent readers or whether access needs to be exclusive to the calling thread.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |