public interface ProxyExecutionListener
Connection,
Statement, or Batch.| Modifier and Type | Method and Description |
|---|---|
default void |
afterMethod(MethodExecutionInfo executionInfo)
Called after every invocation of methods.
|
default void |
afterQuery(QueryExecutionInfo execInfo)
Called after execution of query.
|
default void |
beforeMethod(MethodExecutionInfo executionInfo)
Called before every invocation of methods.
|
default void |
beforeQuery(QueryExecutionInfo execInfo)
Called before execution of query.
|
default void |
eachQueryResult(QueryExecutionInfo execInfo)
Called on processing each query
Result. |
default void |
onMethodExecution(MethodExecutionInfo executionInfo)
Called before and after every invocation of methods.
|
default void |
onQueryExecution(QueryExecutionInfo executionInfo)
Called before and after execution of query.
|
default void onMethodExecution(MethodExecutionInfo executionInfo)
beforeMethod(MethodExecutionInfo) and
afterMethod(MethodExecutionInfo). Thus overriding this method will stop calling them
unless subclass calls super.onMethodExecution(executionInfo);.executionInfo - query execution contextdefault void onQueryExecution(QueryExecutionInfo executionInfo)
beforeQuery(QueryExecutionInfo) and
afterQuery(QueryExecutionInfo). Thus overriding this method will stop calling them
unless subclass calls super.onQueryExecution(executionInfo);.executionInfo - query execution contextdefault void beforeMethod(MethodExecutionInfo executionInfo)
executionInfo - method execution contextdefault void afterMethod(MethodExecutionInfo executionInfo)
executionInfo - method execution contextdefault void beforeQuery(QueryExecutionInfo execInfo)
Batch.execute() or Statement.execute().
Note: this callback is called when the publisher, result of the execute(), is being
subscribed. Not at the time of execute() is called,execInfo - query execution contextdefault void afterQuery(QueryExecutionInfo execInfo)
Batch.execute() or Statement.execute().
Note: this callback is called when the publisher, result of the execute(), is being
subscribed. Not at the time of execute() is called,execInfo - query execution contextdefault void eachQueryResult(QueryExecutionInfo execInfo)
Result.
While subscribing query results, this callback is called per result.execInfo - query execution contextCopyright © 2018. All rights reserved.