Le 11 nov. 2011 à 10:27, 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

Then I'll wait a little to see if I can improve it or find any hidden bugs 
before adding it to the SDK.

--
Paul Merlin - eskatos.github.com


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

Reply via email to