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. /Paul -- Paul Merlin - eskatos.github.com _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

