Hey, Ericsson
Maybe my English is not good enough, hehe.
Witing to File is not what I'm worring about. When a
thread tries to retrieve a record that was updated in recordNumbers but not yet written to the file, it will cause the retriveDvd() to throw IOException.
And, isn't it better for the persistDvd() to hold the writeLock until it actually finishes to write the record to the file?