Uses of Interface
io.r2dbc.proxy.core.MethodExecutionInfo
Packages that use MethodExecutionInfo
Package
Description
Listener classes
Misc support classes
Utility classes for testing
-
Uses of MethodExecutionInfo in io.r2dbc.proxy
Method parameters in io.r2dbc.proxy with type arguments of type MethodExecutionInfoModifier and TypeMethodDescriptionProxyConnectionFactory.Builder.onAfterMethod
(Consumer<MethodExecutionInfo> consumer) Register a callback consumer for after method execution.ProxyConnectionFactory.Builder.onBeforeMethod
(Consumer<MethodExecutionInfo> consumer) Register a callback consumer for before method execution -
Uses of MethodExecutionInfo in io.r2dbc.proxy.listener
Methods in io.r2dbc.proxy.listener that return MethodExecutionInfoModifier and TypeMethodDescriptionLastExecutionAwareListener.getAfterMethodExecutionInfo()
Get the last usedMethodExecutionInfo
inProxyExecutionListener.afterMethod(MethodExecutionInfo)
.LastExecutionAwareListener.getBeforeMethodExecutionInfo()
Get the last usedMethodExecutionInfo
inProxyExecutionListener.beforeMethod(MethodExecutionInfo)
.Methods in io.r2dbc.proxy.listener with parameters of type MethodExecutionInfoModifier and TypeMethodDescriptiondefault void
ProxyMethodExecutionListener.afterAddOnBatch
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterBatch.add(String)
is called.default void
ProxyMethodExecutionListener.afterAddOnStatement
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterStatement.add()
is called.default void
ProxyMethodExecutionListener.afterBeginTransactionOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnection.beginTransaction()
is called.default void
ProxyMethodExecutionListener.afterBindNullOnStatement
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterStatement.bindNull(int, Class)
orStatement.bindNull(String, Class)
are called.default void
ProxyMethodExecutionListener.afterBindOnStatement
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterStatement.bind(int, Object)
orStatement.bind(String, Object)
are called.default void
ProxyMethodExecutionListener.afterCloseOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnection.close()
is called.default void
ProxyMethodExecutionListener.afterCommitTransactionOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnection.commitTransaction()
is called.default void
ProxyMethodExecutionListener.afterCreateBatchOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnection.createBatch()
is called.default void
ProxyMethodExecutionListener.afterCreateOnConnectionFactory
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnectionFactory.create()
is called.default void
ProxyMethodExecutionListener.afterCreateSavepointOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnection.createSavepoint(String)
is called.default void
ProxyMethodExecutionListener.afterCreateStatementOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnection.createStatement(String)
is called.default void
ProxyMethodExecutionListener.afterExecuteOnBatch
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterBatch.execute()
is called.default void
ProxyMethodExecutionListener.afterExecuteOnStatement
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterStatement.execute()
is called.default void
ProxyMethodExecutionListener.afterFetchSizeOnStatement
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterStatement.fetchSize(int)
is called.default void
ProxyMethodExecutionListener.afterFilterOnResult
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterResult.filter(Predicate)
is called.default void
ProxyMethodExecutionListener.afterFlatMapOnResult
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterResult.flatMap(Function)
is called.default void
ProxyMethodExecutionListener.afterGetMetadataOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnection.getMetadata()
is called.default void
ProxyMethodExecutionListener.afterGetMetadataOnConnectionFactory
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnectionFactory.getMetadata()
is called.default void
ProxyMethodExecutionListener.afterGetMetadataOnRow
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterRow#getMetadata(...)
is called.default void
ProxyMethodExecutionListener.afterGetOnRow
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterRow#get(...)
is called.default void
ProxyMethodExecutionListener.afterGetRowsUpdatedOnResult
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterResult.getRowsUpdated()
is called.default void
ProxyMethodExecutionListener.afterGetTransactionIsolationLevelOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnection.getTransactionIsolationLevel()
is called.default void
ProxyMethodExecutionListener.afterIsAutoCommitOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnection.isAutoCommit()
is called.default void
ProxyMethodExecutionListener.afterMapOnResult
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterResult.map(BiFunction)
orResult.map(Function)
is called.void
CompositeProxyExecutionListener.afterMethod
(MethodExecutionInfo executionInfo) void
LastExecutionAwareListener.afterMethod
(MethodExecutionInfo executionInfo) default void
ProxyExecutionListener.afterMethod
(MethodExecutionInfo executionInfo) Called after every invocation of methods.void
ProxyMethodExecutionListenerAdapter.afterMethod
(MethodExecutionInfo executionInfo) default void
ProxyMethodExecutionListener.afterReleaseSavepointOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnection.releaseSavepoint(String)
is called.default void
ProxyMethodExecutionListener.afterReturnGeneratedValuesOnStatement
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterStatement.returnGeneratedValues(String...)
is called.default void
ProxyMethodExecutionListener.afterRollbackTransactionOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnection.rollbackTransaction()
is called.default void
ProxyMethodExecutionListener.afterRollbackTransactionToSavepointOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnection.rollbackTransactionToSavepoint(String)
is called.default void
ProxyMethodExecutionListener.afterSetAutoCommitOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnection.setAutoCommit(boolean)
is called.default void
ProxyMethodExecutionListener.afterSetLockWaitTimeoutOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnection.setLockWaitTimeout(Duration)
is called.default void
ProxyMethodExecutionListener.afterSetStatementTimeoutOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnection.setStatementTimeout(Duration)
is called.default void
ProxyMethodExecutionListener.afterSetTransactionIsolationLevelOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnection.setTransactionIsolationLevel(IsolationLevel)
is called.default void
ProxyMethodExecutionListener.afterValidateOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked afterConnection.validate(ValidationDepth)
is called.default void
ProxyMethodExecutionListener.beforeAddOnBatch
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeBatch.add(String)
is called.default void
ProxyMethodExecutionListener.beforeAddOnStatement
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeStatement.add()
is called.default void
ProxyMethodExecutionListener.beforeBeginTransactionOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnection.beginTransaction()
is called.default void
ProxyMethodExecutionListener.beforeBindNullOnStatement
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeStatement.bindNull(int, Class)
orStatement.bindNull(String, Class)
are called.default void
ProxyMethodExecutionListener.beforeBindOnStatement
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeStatement.bind(int, Object)
orStatement.bind(String, Object)
are called.default void
ProxyMethodExecutionListener.beforeCloseOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnection.close()
is called.default void
ProxyMethodExecutionListener.beforeCommitTransactionOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnection.commitTransaction()
is called.default void
ProxyMethodExecutionListener.beforeCreateBatchOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnection.createBatch()
is called.default void
ProxyMethodExecutionListener.beforeCreateOnConnectionFactory
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnectionFactory.create()
is called.default void
ProxyMethodExecutionListener.beforeCreateSavepointOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnection.createSavepoint(String)
is called.default void
ProxyMethodExecutionListener.beforeCreateStatementOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnection.createStatement(String)
is called.default void
ProxyMethodExecutionListener.beforeExecuteOnBatch
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeBatch.execute()
is called.default void
ProxyMethodExecutionListener.beforeExecuteOnStatement
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeStatement.execute()
is called.default void
ProxyMethodExecutionListener.beforeFetchSizeOnStatement
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeStatement.fetchSize(int)
is called.default void
ProxyMethodExecutionListener.beforeFilterOnResult
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeResult.filter(Predicate)
is called.default void
ProxyMethodExecutionListener.beforeFlatMapOnResult
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeResult.flatMap(Function)
is called.default void
ProxyMethodExecutionListener.beforeGetMetadataOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnection.getMetadata()
is called.default void
ProxyMethodExecutionListener.beforeGetMetadataOnConnectionFactory
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnectionFactory.getMetadata()
is called.default void
ProxyMethodExecutionListener.beforeGetMetadataOnRow
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeRow#getMetadata(...)
is called.default void
ProxyMethodExecutionListener.beforeGetOnRow
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeRow#get(...)
is called.default void
ProxyMethodExecutionListener.beforeGetRowsUpdatedOnResult
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeResult.getRowsUpdated()
is called.default void
ProxyMethodExecutionListener.beforeGetTransactionIsolationLevelOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnection.getTransactionIsolationLevel()
is called.default void
ProxyMethodExecutionListener.beforeIsAutoCommitOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnection.isAutoCommit()
is called.default void
ProxyMethodExecutionListener.beforeMapOnResult
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeResult.map(BiFunction)
orResult.map(Function)
is called.void
CompositeProxyExecutionListener.beforeMethod
(MethodExecutionInfo executionInfo) void
LastExecutionAwareListener.beforeMethod
(MethodExecutionInfo executionInfo) default void
ProxyExecutionListener.beforeMethod
(MethodExecutionInfo executionInfo) Called before every invocation of methods.void
ProxyMethodExecutionListenerAdapter.beforeMethod
(MethodExecutionInfo executionInfo) default void
ProxyMethodExecutionListener.beforeReleaseSavepointOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnection.releaseSavepoint(String)
is called.default void
ProxyMethodExecutionListener.beforeReturnGeneratedValuesOnStatement
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeStatement.returnGeneratedValues(String...)
is called.default void
ProxyMethodExecutionListener.beforeRollbackTransactionOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnection.rollbackTransaction()
is called.default void
ProxyMethodExecutionListener.beforeRollbackTransactionToSavepointOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnection.rollbackTransactionToSavepoint(String)
is called.default void
ProxyMethodExecutionListener.beforeSetAutoCommitOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnection.setAutoCommit(boolean)
is called.default void
ProxyMethodExecutionListener.beforeSetLockWaitTimeoutOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnection.setLockWaitTimeout(Duration)
is called.default void
ProxyMethodExecutionListener.beforeSetStatementTimeoutOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnection.setStatementTimeout(Duration)
is called.default void
ProxyMethodExecutionListener.beforeSetTransactionIsolationLevelOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnection.setTransactionIsolationLevel(IsolationLevel)
is called.default void
ProxyMethodExecutionListener.beforeValidateOnConnection
(MethodExecutionInfo methodExecutionInfo) Callback that is invoked beforeConnection.validate(ValidationDepth)
is called. -
Uses of MethodExecutionInfo in io.r2dbc.proxy.support
Classes in io.r2dbc.proxy.support that implement interfaces with type arguments of type MethodExecutionInfoMethods in io.r2dbc.proxy.support with parameters of type MethodExecutionInfoModifier and TypeMethodDescriptionMethodExecutionInfoFormatter.apply
(MethodExecutionInfo executionInfo) MethodExecutionInfoFormatter.format
(MethodExecutionInfo executionInfo) Convert the givenMethodExecutionInfo
toString
using registered consumers.Method parameters in io.r2dbc.proxy.support with type arguments of type MethodExecutionInfoModifier and TypeMethodDescriptionMethodExecutionInfoFormatter.addConsumer
(BiConsumer<MethodExecutionInfo, StringBuilder> consumer) Register a consumer that convertsMethodExecutionInfo
to aString
. -
Uses of MethodExecutionInfo in io.r2dbc.proxy.test
Classes in io.r2dbc.proxy.test that implement MethodExecutionInfoModifier and TypeClassDescriptionfinal class
Mock implementation ofMethodExecutionInfo
for testing.