profiledconnectionentry.java

来自「Jive是基于JSP/JAVA技术构架的一个大型BBS论坛系统,这是Jive论坛」· Java 代码 · 共 39 行

JAVA
39
字号
/** * $RCSfile: ProfiledConnectionEntry.java,v $ * $Revision: 1.2 $ * $Date: 2002/04/05 05:39:02 $ * * Copyright (C) 2002 CoolServlets, Inc. All rights reserved. * * This software is the proprietary information of CoolServlets, Inc. * Use is subject to license terms. */package com.jivesoftware.forum.database;/** * Simple class for tracking profiling stats for individual SQL queries. */public class ProfiledConnectionEntry {    /**     * The SQL query.     */    public String sql;    /**     * Number of times the query has been executed.     */    public int count;    /**     * The total time spent executing the query (in milliseconds).     */    public int totalTime;    public ProfiledConnectionEntry(String sql) {        this.sql = sql;        count = 0;        totalTime = 0;    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?