@Override
    public void release() throws IOException {
      valid.set(false);
    }
A file lock that does nothing, since only one JVM process has access to this file system.
jimfs/src/main/java/com/google/common/jimfs/JimfsFileChannel.java