Package org.wso2.carbon.registry.core.statistics.query

Examples of org.wso2.carbon.registry.core.statistics.query.StatisticsRecord.decrement()


    private void endDBQueryLog(int level) {
        if (dbQueryLog.isDebugEnabled()) {
            StackTraceElement traceElement = Thread.currentThread().getStackTrace()[level];
            if (traceElement.getClassName().equals(this.getClass().getCanonicalName())) {
                StatisticsRecord statisticsRecord = DBQueryStatisticsLog.getStatisticsRecord();
                if (statisticsRecord.decrement() == 0) {
                    final StatisticsRecord clone = new StatisticsRecord(statisticsRecord);
                    Runnable runnable = new Runnable() {
                        public void run() {
                            if (clone.getTableRecords().length > 0) {
                                dbQueryLog.debug("");
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.