Examples of AverageDurationAttributeValue


Examples of org.shiftone.jrat.provider.stats.jmx.attributes.AverageDurationAttributeValue

    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));
    mBean.add(name + ".MinDuration", new MinDurationAttributeValue(accumulator));
    mBean.add(name + ".TotalEnters", new TotalEntersAttributeValue(accumulator));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.