private void cleanup(boolean isTriggeredFromShutdownHook) {
        try {
            FileIOUtils.deleteDirectory(new File(diskMapPath));
        } catch (IOException var3) {
            LOG.warn("Error while deleting the disk map directory=" + this.diskMapPath, var3);
        }

        if (!isTriggeredFromShutdownHook && this.shutdownThread != null) {
            Runtime.getRuntime().removeShutdownHook(this.shutdownThread);
        }
    }
Perform a range search according to the prefix of the key, and the KV data of all keys matching the
prefix will be returned
@note This stream must be closed after use, otherwise it will cause a memory leak

@param keyPrefix key prefix binary data
@return
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/iceberg/src/main/java/org/apache/inlong/sort/iceberg/sink/collections/RocksDBKVBuffer.java