code: public synchronized void registerUpdater(final Updater updater) {
      if (!updaters.containsKey(updater)) {
        updaters.put(updater, Boolean.TRUE);
      }
    }
docs: Registers a callback to be called at time intervals determined by
  the configuration.
  
  @param updater object to be run periodically; it should update
  some metrics records