presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/WriteHiveMetastoreRecordingProcedure.java/WriteHiveMetastoreRecordingProcedure/writeHiveMetastoreRecording
class WriteHiveMetastoreRecordingProcedure:    public void writeHiveMetastoreRecording()
    {
        try {
            // limit rate of recording dumps to prevent IO and Presto saturation
            rateLimiter.acquire();
            recordingHiveMetastore.writeRecording();
        }
        catch (IOException ex) {
            throw new RuntimeException(ex);
        }
    }