Class ProfiledConnection

java.lang.Object
org.jivesoftware.database.AbstractConnection
org.jivesoftware.database.ProfiledConnection
All Implemented Interfaces:
AutoCloseable, Connection, Wrapper

public class ProfiledConnection extends AbstractConnection
Wraps a Connection object and collects statistics about the database queries that are performed.

Statistics of the profiled Connections can be obtained from the static methods of this class. Instances of this class are the actual wrappers that perform profiling.

Author:
Jive Software