Those wrappers work fine and each has some basic JUnit test. The wrappes include
- a basic version doing "read committed" isolation that never blocks and never fails upon commit
- an extended version allowing for "serializable" isolation using pessimistic locks; the drawback is this wrapper might deadlock
- and extended verion allowing for "serializable" isolation using an optimictic strategy; the drawback is this wrapper might fail upon commit when conflicts occur
All wrappers take any kind of map to be wrapped. In case you use LRUMap or anything similar you can even implement a transactional cache with it.
What do you folks say?
Cheers,
Oliver
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
