public void setThreadPoolExecutor(ThreadPoolExecutor threadPoolExecutor) {
    m_threadPoolExecutor = threadPoolExecutor;
  }
Testing method for setting a synchronous {@link ThreadPoolExecutor}.

@param threadPoolExecutor
ambari-server/src/main/java/org/apache/ambari/server/state/services/MetricsRetrievalService.java