Rickard Öberg a écrit :
On 11/10/11 14:07 , Paul Merlin wrote:
Gang,

In a project I work on using Qi4j I needed to bind some file
operations to UoWs so that if the UoW gets discarded, changes to
files are discarded too. It needed to handle concurrent modifications
too.

I started to write something inside my project. So far it's working
for small files but has a performance impact relative to the files
size as it duplicates the file to keep a backup.

I'm thinking of contributing it to Qi4j once I'm confident it's
useful. For now it's located here:
https://github.com/eskatos/qipki/tree/master/qi4j-lib-uowfile

Here is a unit test that demonstrate it's usage and behavior:
https://github.com/eskatos/qipki/blob/master/qi4j-lib-uowfile/src/test/java/org/qi4j/library/uowfile/HasUoWFileTest.java

 Tell me what you think.

I had a quick look through it, and seems very nifty indeed! +1 from me to add it as library.

/Rickard
I just pushed into the develop branch, the UoWFile Library is now part of the Qi4j SDK.

/Paul



_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to