void closeChannel(Path path) throws IOException {
    synchronized (myCacheLock) {
      final ChannelDescriptor descriptor = myCache.remove(path);

      if (descriptor != null) {
        assert !descriptor.isLocked() : "Channel is in use: " + descriptor;
        descriptor.close();
      }
    }
  }
void closeChannel(Path path)