public void registerMethodKeyAccumulator(MethodKeyAccumulator accumulator) {
MethodKey methodKey = accumulator.getMethodKey();
ConfigurableMBean mBean = getMBean(methodKey.getClassName());
Signature signature = new Signature(methodKey.getSignature());
String name = methodKey.getMethodName() + "(" + signature.getShortText() + ")";
mBean.add(name + ".AverageDuration", new AverageDurationAttributeValue(accumulator));
mBean.add(name + ".ConcurrentThreads", new ConcurrentThreadsAttributeValue(accumulator));
mBean.add(name + ".MaxConcurrent", new MaxConcurrentThreadsAttributeValue(accumulator));
mBean.add(name + ".MaxDuration", new MaxDurationAttributeValue(accumulator));