docs: public void remove(String key) {
          T mBeanImpl = null;
          ObjectName objectName = null;
          try {
              //Get mBeanImpl Object from meters map
              if ((mBeanImpl = meters.remove(key)) != null) {
                  //Un-Register MXBean for specified Type of Meter (e.g. ServletStats, ThreadPoolStats, etc)
                  objectName = MXBeanHelper(mBeanImpl.getClass().getSimpleName(), key, UNREGISTER_MXBEAN, null);
              }
  
              //Remove from a map where we are maintaining bundle specific MBeans.
              Set<ObjectName> s = MonitoringFrameworkExtender.mxmap.get(monitor);
              if (s != null && objectName != null) {
                  s.remove(objectName);
              }
  
          } catch (Throwable t) {
              if (tc.isDebugEnabled()) {
                  Tr.debug(tc, t.getMessage());
              }
          }
      }