Package org.shiftone.jrat.core

Examples of org.shiftone.jrat.core.Signature


  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));
View Full Code Here

TOP

Related Classes of org.shiftone.jrat.core.Signature

Copyright © 2018 www.massapicom. 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.