org.jivesoftware.database
Class ProfiledConnectionEntry
java.lang.Object
org.jivesoftware.database.ProfiledConnectionEntry
public class ProfiledConnectionEntry
- extends Object
Simple class for tracking profiling stats for individual SQL queries.
- Author:
- Jive Software
Field Summary |
int |
count
Number of times the query has been executed. |
String |
sql
The SQL query. |
int |
totalTime
The total time spent executing the query (in milliseconds). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sql
public String sql
- The SQL query.
count
public int count
- Number of times the query has been executed.
totalTime
public int totalTime
- The total time spent executing the query (in milliseconds).
ProfiledConnectionEntry
public ProfiledConnectionEntry(String sql)
Copyright © 1999-2004 Jive Software.