docs: protected void persistData() {
  
          try {
              // save the resource locks to db
              m_securityManager.writeLocks();
              // save the log entries to db
              m_securityManager.updateLog();
          } catch (Throwable t) {
              if (LOG.isErrorEnabled()) {
                  LOG.error(
                      org.opencms.lock.Messages.get().getBundle().key(org.opencms.lock.Messages.ERR_WRITE_LOCKS_0),
                      t);
              }
          }
      }