code: @Override
      public void exportCollectedMetrics() {
          lifecycleLock.readLock().lock();
          try {
              if (!State.STARTED.equals(state)) {
                  logger.debug("Ignore collectMetrics() command for " + state + " instance");
                  return;
              }
              for (Query query : getQueries()) {
                  query.exportCollectedMetrics();
              }
          } finally {
              lifecycleLock.readLock().unlock();
          }
      }
docs: Exposed for manual / JMX invocation