| Package | Description |
|---|---|
| net.ttddyy.dsproxy.r2dbc | |
| net.ttddyy.dsproxy.r2dbc.core | |
| net.ttddyy.dsproxy.r2dbc.proxy | |
| net.ttddyy.dsproxy.r2dbc.support |
| Modifier and Type | Method and Description |
|---|---|
ProxyConnectionFactoryBuilder |
ProxyConnectionFactoryBuilder.onAfterMethod(Consumer<reactor.core.publisher.Mono<MethodExecutionInfo>> consumer) |
ProxyConnectionFactoryBuilder |
ProxyConnectionFactoryBuilder.onBeforeMethod(Consumer<reactor.core.publisher.Mono<MethodExecutionInfo>> consumer) |
ProxyConnectionFactoryBuilder |
ProxyConnectionFactoryBuilder.onMethodExecution(Consumer<reactor.core.publisher.Mono<MethodExecutionInfo>> consumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
CompositeProxyExecutionListener.afterMethod(MethodExecutionInfo executionInfo) |
default void |
ProxyExecutionListener.afterMethod(MethodExecutionInfo executionInfo)
Called after every invocation of methods.
|
void |
CompositeProxyExecutionListener.beforeMethod(MethodExecutionInfo executionInfo) |
default void |
ProxyExecutionListener.beforeMethod(MethodExecutionInfo executionInfo)
Called before every invocation of methods.
|
void |
CompositeProxyExecutionListener.onMethodExecution(MethodExecutionInfo executionInfo) |
default void |
ProxyExecutionListener.onMethodExecution(MethodExecutionInfo executionInfo)
Called before and after every invocation of methods.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
CallbackSupport.proceedExecution(Method method,
Object target,
Object[] args,
ProxyExecutionListener listener,
ConnectionInfo connectionInfo,
BiFunction<Object,MethodExecutionInfo,Object> onMap,
Consumer<MethodExecutionInfo> onComplete)
Augment method invocation and call method listener.
|
protected Object |
CallbackSupport.proceedExecution(Method method,
Object target,
Object[] args,
ProxyExecutionListener listener,
ConnectionInfo connectionInfo,
BiFunction<Object,MethodExecutionInfo,Object> onMap,
Consumer<MethodExecutionInfo> onComplete)
Augment method invocation and call method listener.
|
| Modifier and Type | Method and Description |
|---|---|
MethodExecutionInfo |
LastExecutionAwareListener.getAfterMethodExecutionInfo() |
MethodExecutionInfo |
LastExecutionAwareListener.getBeforeMethodExecutionInfo() |
| Modifier and Type | Method and Description |
|---|---|
default void |
LifeCycleListener.afterAddOnBatch(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.afterAddOnStatement(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.afterBeginTransactionOnConnection(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.afterBindNullOnStatement(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.afterBindOnStatement(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.afterCloseOnConnection(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.afterCommitTransactionOnConnection(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.afterCreateBatchOnConnection(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.afterCreateOnConnectionFactory(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.afterCreateSavepointOnConnection(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.afterCreateStatementOnConnection(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.afterExecuteOnBatch(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.afterExecuteOnStatement(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.afterGetMetadataOnConnectionFactory(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.afterGetRowsUpdatedOnResult(MethodExecutionInfo methodExecutioninfo) |
default void |
LifeCycleListener.afterMapOnResult(MethodExecutionInfo methodExecutioninfo) |
void |
LifeCycleExecutionListener.afterMethod(MethodExecutionInfo executionInfo) |
void |
LastExecutionAwareListener.afterMethod(MethodExecutionInfo executionInfo) |
default void |
LifeCycleListener.afterMethod(MethodExecutionInfo methodExecutionInfo)
Called at every method invocation.
|
default void |
LifeCycleListener.afterReleaseSavepointOnConnection(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.afterRollbackTransactionOnConnection(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.afterRollbackTransactionToSavepointOnConnection(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.afterSetTransactionIsolationLevelOnConnection(MethodExecutionInfo methodExecutionInfo) |
String |
MethodExecutionInfoFormatter.apply(MethodExecutionInfo executionInfo) |
default void |
LifeCycleListener.beforeAddOnBatch(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.beforeAddOnStatement(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.beforeBeginTransactionOnConnection(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.beforeBindNullOnStatement(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.beforeBindOnStatement(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.beforeCloseOnConnection(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.beforeCommitTransactionOnConnection(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.beforeCreateBatchOnConnection(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.beforeCreateOnConnectionFactory(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.beforeCreateSavepointOnConnection(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.beforeCreateStatementOnConnection(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.beforeExecuteOnBatch(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.beforeExecuteOnStatement(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.beforeGetMetadataOnConnectionFactory(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.beforeGetRowsUpdatedOnResult(MethodExecutionInfo methodExecutioninfo) |
default void |
LifeCycleListener.beforeMapOnResult(MethodExecutionInfo methodExecutioninfo) |
void |
LifeCycleExecutionListener.beforeMethod(MethodExecutionInfo executionInfo) |
void |
LastExecutionAwareListener.beforeMethod(MethodExecutionInfo executionInfo) |
default void |
LifeCycleListener.beforeMethod(MethodExecutionInfo methodExecutionInfo)
Called at every method invocation.
|
default void |
LifeCycleListener.beforeReleaseSavepointOnConnection(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.beforeRollbackTransactionOnConnection(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.beforeRollbackTransactionToSavepointOnConnection(MethodExecutionInfo methodExecutionInfo) |
default void |
LifeCycleListener.beforeSetTransactionIsolationLevelOnConnection(MethodExecutionInfo methodExecutionInfo) |
String |
MethodExecutionInfoFormatter.format(MethodExecutionInfo executionInfo) |
| Modifier and Type | Method and Description |
|---|---|
MethodExecutionInfoFormatter |
MethodExecutionInfoFormatter.addConsumer(BiConsumer<MethodExecutionInfo,StringBuilder> consumer) |
Copyright © 2018. All rights reserved.