protected void store(File file, byte[] content) {
ReadWriteLock lock;
synchronized (this.locks) {
lock = (ReadWriteLock) this.locks.get(file.getAbsolutePath());
if ( lock == null ) {
lock = new FIFOReadWriteLock();
this.locks.put(file.getAbsolutePath(), lock);
}
}
Sync sync = lock.writeLock();
try {