public synchronized void destroy() {
        unlock();
        try {
            if (file.exists() && file.delete()) {
                LOGGER.trace("Deleted {}", file.getAbsolutePath());
            }
            channel.close();
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
Destroy this lock, closing the associated FileChannel
server-common/src/main/java/org/apache/kafka/server/util/FileLock.java