Package com.springsource.insight.collection

Examples of com.springsource.insight.collection.OperationCollector.enter()


    @Override
    public void run() {
        OperationCollector collector = getCollector();
        Operation op = createRootOperation(Thread.currentThread());
        collector.enter(op);
        try {
            Runnable command = getRunner();
            command.run();
            collector.exitNormal();
        } catch (RuntimeException e) {
View Full Code Here


         * NOTE: we generate a zero-duration frame since the purpose of this
         * plugin is to track the files. Furthermore, actually measuring the
         * duration of the open/close calls seems too complex (at least for now)
         */
        OperationCollector collector = getCollector();
        collector.enter(op);
        collector.exitNormal();
        return op;
    }

    Operation createOperation(JoinPoint.StaticPart staticPart, String action, String filePath) {
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.