T - The declaring typepublic class DefaultUpdateAsyncInterceptor<T> extends AbstractAsyncInterceptor<T,java.lang.Number> implements UpdateAsyncInterceptor<T>
UpdateAsyncInterceptor.asyncDatastoreOperations, LIST_OF_OBJECTSoperations, preparedQueryResolver| Modifier | Constructor and Description |
|---|---|
protected |
DefaultUpdateAsyncInterceptor(RepositoryOperations datastore)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletionStage<java.lang.Number> |
intercept(RepositoryMethodKey methodKey,
io.micronaut.aop.MethodInvocationContext<T,java.util.concurrent.CompletionStage<java.lang.Number>> context)
Intercepts a data method execution.
|
convertNumberToReturnType, findReturnType, getReturnTypeconvertNumberArgumentIfNecessary, convertOne, count, findEntitiesParameter, findEntityParameter, getDeleteAllBatchOperation, getDeleteBatchOperation, getDeleteBatchOperation, getDeleteOperation, getEntitiesParameter, getEntityParameter, getInsertBatchOperation, getInsertBatchOperation, getInsertOperation, getInsertOperation, getPageable, getPagedQuery, getParameterValueMap, getRequiredEntity, getRequiredRootEntity, getUpdateAllBatchOperation, getUpdateOperation, getUpdateOperation, instantiateEntity, isNullable, isNumber, prepareCountQuery, prepareQuery, prepareQuery, prepareQuery, validateNullArgumentsprotected DefaultUpdateAsyncInterceptor(@NonNull
RepositoryOperations datastore)
datastore - The operationspublic java.util.concurrent.CompletionStage<java.lang.Number> intercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<T,java.util.concurrent.CompletionStage<java.lang.Number>> context)
DataInterceptorintercept in interface DataInterceptor<T,java.util.concurrent.CompletionStage<java.lang.Number>>methodKey - The method keycontext - The context