Package net.java.btrace.ext.aggregations

Examples of net.java.btrace.ext.aggregations.AggregationKey


        clazz="+java.lang.Thread",
        method="run",
    location=@Location(value=Kind.ENTRY, clazz="/.*/", method="/.*/")
    )
    public static void threadEntry(@ProbeMethodName String probeMethod, @ProbeClassName String probeClass) { // all calls to the info methods with signature "(String)"
    AggregationKey key = Aggregations.newAggregationKey(probeClass);
    currThread = currentThread();
   
    Aggregations.addToAggregation(threadsLiveCount, key, 1);
    }
View Full Code Here


        clazz="+java.lang.Thread",
        method="run",
    location=@Location(value=Kind.RETURN, clazz="/.*/", method="/.*/")
    )
    public static void threadReturn(@ProbeMethodName String probeMethod, @ProbeClassName String probeClass) { // all calls to the info methods with signature "(String)"
    AggregationKey key = Aggregations.newAggregationKey(probeClass);
   
    Aggregations.addToAggregation(threadsLiveCount, key, -1);
    }
View Full Code Here

TOP

Related Classes of net.java.btrace.ext.aggregations.AggregationKey

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.