What is the advantage of using a FileLock object instead of the way Lucene does it? (I do not see it)
Also note an mportant limitation: "File locks are held on behalf of the entire Java virtual machine. They are not suitable for controlling access to a file by multiple threads within the same virtual machine." Ronald Muller ----- Original Message ----- From: "petite_abeille" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 29, 2003 6:03 PM Subject: java.nio.channels.FileLock > Hello, > > Just stumbled upon that: > > http://java.sun.com/j2se/1.4.1/docs/api/java/nio/channels/FileLock.html > > Which might be of interest to Lucene if the library ever migrates to > 1.4 :) > > Cheers, > > PA. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
