@Override
 public void lock(Resource res) throws IOException {
   lock.lock(res);
 }
 @Override
 public void read(Resource res) throws IOException {
   lock.read(res);
 }
 @Override
 public void unlock(Resource res) {
   lock.unlock(res);
 }