Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-users] Synchronization between multiple, identical requests needed?

Marcel Bruch wrote:

does aether internally synchronize multiple parallel requests to the same artifacts?

Internally, Aether employs a SyncContext [0] to coordinate concurrent access. The default impl provides no synchronization, so you need to peek at [1] for inspiration.


Benjamin


[0] http://download.eclipse.org/aether/aether-core/0.9.0-SNAPSHOT/apidocs/org/eclipse/aether/SyncContext.html [1] https://github.com/etesla/tesla-concurrent-localrepo/blob/master/src/main/java/org/eclipse/tesla/aether/concurrency/LockingSyncContextFactory.java


Back to the top