// Used as the prefix for the MBeanAttributeInfo
private final String method;
public Stats(final Method method, final Monitor classAnnotation) {
final Monitor methodAnnotation = method.getAnnotation(Monitor.class);
final int window = methodAnnotation != null ? methodAnnotation.sample() : classAnnotation != null ? classAnnotation.sample() : 2000;
this.samples = new SynchronizedDescriptiveStatistics(window);
final String s = ",";
final StringBuilder sb = new StringBuilder(method.getName());