docs: public void setMonitorPlugin(MonitorPlugin plugin) throws TooManyListenersException {
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
              Tr.entry(tc, "setMonitorPlugin", plugin);
          }
  
          if (this.monitorPlugin != null && !this.monitorPlugin.equals(plugin)) {
              throw new TooManyListenersException("INTERNAL ERROR: ThreadPool.MonitorPlugin already set.");
          }
          this.monitorPlugin = plugin;
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
              Tr.exit(tc, "setMonitorPlugin", plugin);
          }
      }