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 Details

    • sql

      public String sql
      The SQL query.
    • count

      public int count
      Number of times the query has been executed.
    • totalTime

      public long totalTime
      The total time spent executing the query (in milliseconds).
  • Constructor Details

    • ProfiledConnectionEntry

      public ProfiledConnectionEntry(String sql)