|
Created an attachment (id=13369)
DIFF file for FSDirectory.java Created an attachment (id=13370)
Modified FSDirectory.java file Created an attachment (id=13371)
DIFF file for Lock.java Created an attachment (id=13372)
Modified Lock.java file Created an attachment (id=13373)
New LockFactory.java class Created an attachment (id=13374)
Demo custom lock mechanism (not necessary for framework, but demonstrates framwork usage) I'm working towards a patch for this. I changed the name of the issue I started with the above approach and made some changes / brought it I'd like to sanity check the approach to get any feedback:
I believe this approach will be fully backwards compatible with
This approach means that a user can instantiate a Directory, any Directory.setLockFactory(new SingleProcessLockFactory(); So this should make it easy to use an FSDirectory with a SingleProcess Please note that the goal here is to make Locking independent of the This approach differs from the original approach above in that instead Please let me know if anyone has any concerns / issues with this plan! See
I think we can close this issue now that
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LockFactory and a demo lock implementation. I also am
attaching the DIFF files for the 2 modified files...