Uses of Interface
clazzfish.jdbc.monitor.ProfileMonitor
Packages that use ProfileMonitor
Package
Description
This package contains classes which are useful for monitoring JDBC calls.
This package is only for internal use.
-
Uses of ProfileMonitor in clazzfish.jdbc
Methods in clazzfish.jdbc that return ProfileMonitorModifier and TypeMethodDescriptionAbstractStatistic.getMonitor
(String label) Returns the monitor for the given label.AbstractStatistic.getMonitors()
Gets the monitors (unsorted).protected ProfileMonitor
AbstractStatistic.getRootMonitor()
Gets the root monitor.protected final ProfileMonitor[]
AbstractStatistic.getSortedMonitors()
Gets the sorted monitors.static ProfileMonitor
Start the monitor for the given SQL statement.AbstractStatistic.startProfileMonitorFor
(String sig) Start profile monitor for the given signature.Methods in clazzfish.jdbc with parameters of type ProfileMonitorModifier and TypeMethodDescriptionstatic void
SqlStatistic.stop
(ProfileMonitor mon, String command) Stops the given 'mon' and logs the given command with the needed time if debug is enabled.static void
SqlStatistic.stop
(ProfileMonitor mon, String command, Object returnValue) Stops the given 'mon' and logs the given command with the needed time if debug is enabled. -
Uses of ProfileMonitor in clazzfish.jdbc.internal
Methods in clazzfish.jdbc.internal with parameters of type ProfileMonitorModifier and TypeMethodDescriptionprotected SQLException
StasiStatement.enrichedSQLException
(ProfileMonitor mon, String sql, SQLException original) For better error analysis the originalSQLException
will be enriched with some additional infos.protected int
StasiStatement.saveUpdateStatistic
(ProfileMonitor mon, String sql, int rc) Save update statistic. -
Uses of ProfileMonitor in clazzfish.jdbc.monitor
Classes in clazzfish.jdbc.monitor that implement ProfileMonitorModifier and TypeClassDescriptionclass
The Class AbstractProfileMonitor.final class
This is a thin wrapper for com.jamonapi.Monitorfinal class
The Class SimpleProfileMonitor.Subinterfaces with type arguments of type ProfileMonitor in clazzfish.jdbc.monitorMethods in clazzfish.jdbc.monitor that return ProfileMonitorModifier and TypeMethodDescriptionJamonMonitorFactory.getMonitor
(String label) Gets the monitor.static ProfileMonitor
JamonMonitorFactory.getMonitor
(String label, ProfileMonitor root) Gets the monitor.abstract ProfileMonitor
ProfileMonitorFactory.getMonitor
(String label) Gets the monitor.SimpleProfileMonitorFactory.getMonitor
(String label) Gets the monitor.JamonMonitor.getMonitors()
Gets the monitors.JamonMonitorFactory.getMonitors()
Gets the monitors.static ProfileMonitor[]
JamonMonitorFactory.getMonitors
(ProfileMonitor root) Gets the monitors.static ProfileMonitor[]
JamonMonitorFactory.getMonitors
(String rootLabel) Gets the monitors.ProfileMonitor.getMonitors()
Gets the monitors.abstract ProfileMonitor[]
ProfileMonitorFactory.getMonitors()
Gets the monitors (unsorted).SimpleProfileMonitor.getMonitors()
Gets the monitors.SimpleProfileMonitorFactory.getMonitors()
Gets the monitors.static ProfileMonitor
JamonMonitorFactory.start
(String label, ProfileMonitor root) Start.static ProfileMonitor
Start.Methods in clazzfish.jdbc.monitor with parameters of type ProfileMonitorModifier and TypeMethodDescriptionfinal int
AbstractProfileMonitor.compareTo
(ProfileMonitor other) The ProfileMonitor with the higher number of totals is considered as "greater".static int
JamonMonitorFactory.getMaxNumMonitors
(ProfileMonitor rootMonitor) Gets the max num monintors.static ProfileMonitor
JamonMonitorFactory.getMonitor
(String label, ProfileMonitor root) Gets the monitor.static ProfileMonitor[]
JamonMonitorFactory.getMonitors
(ProfileMonitor root) Gets the monitors.static void
JamonMonitorFactory.reset
(ProfileMonitor rootMonitor) Reset.static void
JamonMonitorFactory.setMaxNumMonitors
(int maxMonitors, ProfileMonitor rootMonitor) Sets the max num monitors.static ProfileMonitor
JamonMonitorFactory.start
(String label, ProfileMonitor root) Start.