Examples of recordWorkOk()


Examples of com.brienwheeler.lib.monitor.work.WorkMonitor.recordWorkOk()

    final String workName = annotation != null && !annotation.value().isEmpty() ? annotation.value() : signature.getName();

        long start = System.currentTimeMillis();
        try {
            Object ret = joinPoint.proceed();
            workMonitor.recordWorkOk(workName, System.currentTimeMillis() - start);
            return ret;
        }
        catch (InterruptedException e) {
            workMonitor.recordWorkError(workName, System.currentTimeMillis() - start);
            Thread.currentThread().interrupt();
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.