Return an instance of a MethodMonitor suitable for use in the given
class cls, according to the currently registered MethodMonitorFactory
instances in the MethodMonitorRegistry.
Generate a single class which contains:
private fields for Timers and TimerGroups
public accessor methods for Timers and TimerGroups
A public constructor (TimerFactory) that initializes the
Timer and TimerGroup fields, and the TimerGroup containment.
Since each MethodMonitor generally needs a reference to the class it is
monitoring, we actually work with MethodMonitorFactory instances instead
of simply using MethodMonitor.
Return map that gives the accumulated statistics for each
TimerEvent that has been observed by this event handler since
the last call to clear (or since the creation of this handler,
if clear has not been called).
Create a new TimerManager, with a TimerFactory registered under the given name
in the TimerFactoryBuilder, and a TimerEventController with the same name.