code: @Override
      protected void collectMetrics(final Metrics metrics) {
          for (final Map.Entry<String, ExecutorService> entry : _executorServices.entrySet()) {
              final String name = entry.getKey();
              final ExecutorService executorService = entry.getValue();
              if (executorService instanceof ForkJoinPool) {
                  processForkJoinPool(metrics, name, (ForkJoinPool) executorService);
              }
              if (executorService instanceof ThreadPoolExecutor) {
                  // NOTE: That a ScheduledThreadPoolExecutor is a ThreadPoolExecutor
                  processThreadPoolExecutor(metrics, name, (ThreadPoolExecutor) executorService);
              }
          }
      }
docs: CHECKSTYLE.ON: FinalClass