|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SqlExtendedMonitor
The vehicle interface definition, which can be used to monitor the duration of all SQL queries execution.
The implementation can be based for example on the Javasimon library. The standard implementation is an empty one, which just delegates the execution to the runner, for example
public <E> List<E> runList(Runner runner, Class<E> resultClass) { return (List<E>) runner.run(); }
For more info please see the Tutorials.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.sqlproc.engine.SqlMonitor |
---|
SqlMonitor.Runner |
Method Summary | ||
---|---|---|
|
runListSql(SqlMonitor.Runner runner,
Class<E> resultClass)
The SQLMonitor visitor method called from inside the main execution methods in SqlQueryEngine devoted
only to SQL statement execution. |
|
|
runSql(SqlMonitor.Runner runner,
Class<E> resultClass)
The SQLMonitor visitor method called from inside the main execution methods in SqlCrudEngine and
SqlCrudEngine devoted only to SQL statement execution.. |
Methods inherited from interface org.sqlproc.engine.SqlMonitor |
---|
run, runList |
Method Detail |
---|
<E> List<E> runListSql(SqlMonitor.Runner runner, Class<E> resultClass)
SqlQueryEngine
devoted
only to SQL statement execution.
runner
- the anonymous instance of SqlMonitor.Runner
, which encapsulates the query executionresultClass
- the class used for the return values of the query execution output
<E> E runSql(SqlMonitor.Runner runner, Class<E> resultClass)
SqlCrudEngine
and
SqlCrudEngine
devoted only to SQL statement execution..
runner
- the anonymous instance of SqlMonitor.Runner
, which encapsulates the query executionresultClass
- the class used for the return value of the query execution output
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |