Wildfire 3.1.1 Javadoc

org.jivesoftware.database
Class ProfiledConnectionEntry

java.lang.Object
  extended by 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).
 
Constructor Summary
ProfiledConnectionEntry(String sql)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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).

Constructor Detail

ProfiledConnectionEntry

public ProfiledConnectionEntry(String sql)

Wildfire 3.1.1 Javadoc

Copyright © 2003-2006 Jive Software.