public class MiniProfilerExecuteListener
extends org.jooq.impl.DefaultExecuteListener
This can give better results than wrapping the JDBC driver and provides statements with inlined parameters for easy copy/paste.
It is recommended to use the MiniProfilerExecuteListenerProvider rather than use this class
directly. It's left public to allow customisation.
MiniProfilerExecuteListenerProvider,
ExecuteListener,
Serialized Form| Constructor and Description |
|---|
MiniProfilerExecuteListener(ProfilerProvider provider)
Constructs a listener with the given profiler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
end(org.jooq.ExecuteContext ctx) |
void |
start(org.jooq.ExecuteContext ctx) |
public MiniProfilerExecuteListener(ProfilerProvider provider)
provider - the profiler provider to usepublic void start(org.jooq.ExecuteContext ctx)
start in interface org.jooq.ExecuteListenerstart in class org.jooq.impl.DefaultExecuteListenerpublic void end(org.jooq.ExecuteContext ctx)
end in interface org.jooq.ExecuteListenerend in class org.jooq.impl.DefaultExecuteListener