devhub-tud / Java-Gitolite-Manager

The java-gitolite-manager is a simple and compact Java library which enables developers to manage their gitolite configuration from Java. The aim is to give developers an easy to understand interface to manage repositories, groups and users in gitolite.
Apache License 2.0
11 stars 5 forks source link

Add support for multithreading #7

Closed michaeldejong closed 11 years ago

michaeldejong commented 11 years ago

The current architecture only allows changes to made sequentially. This is fine for prototyping, but it forces other developers to work around this problem by building a queueing system in multithreaded environments.

Ideally this queueing concept should be implemented internally. Also it would be nice to implement a transaction-like system where client threads can simple open a transaction on the current model of the configuration and commit any changes they made, as opposed to writing the entire configuration to disk and potentially overwriting changes made by other threads.

michaeldejong commented 11 years ago

This has been implemented in PR-11.