T
- The declaring typepublic class DefaultFindAllAsyncInterceptor<T> extends AbstractAsyncInterceptor<T,java.lang.Iterable<java.lang.Object>> implements FindAllAsyncInterceptor<T>
FindAllAsyncInterceptor
.asyncDatastoreOperations
operations
Modifier | Constructor and Description |
---|---|
protected |
DefaultFindAllAsyncInterceptor(RepositoryOperations datastore)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletionStage<java.lang.Iterable<java.lang.Object>> |
intercept(RepositoryMethodKey methodKey,
io.micronaut.aop.MethodInvocationContext<T,java.util.concurrent.CompletionStage<java.lang.Iterable<java.lang.Object>>> context)
Intercepts a data method execution.
|
convertNumberArgumentIfNecessary, getDeleteAllBatchOperation, getDeleteAllBatchOperation, getDeleteBatchOperation, getDeleteBatchOperation, getDeleteOperation, getInsertBatchOperation, getInsertBatchOperation, getInsertOperation, getInsertOperation, getPageable, getPagedQuery, getRequiredEntity, getRequiredRootEntity, getUpdateOperation, instantiateEntity, isNullable, prepareCountQuery, prepareQuery, prepareQuery, validateNullArguments
protected DefaultFindAllAsyncInterceptor(@NonNull RepositoryOperations datastore)
datastore
- The operationspublic java.util.concurrent.CompletionStage<java.lang.Iterable<java.lang.Object>> intercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<T,java.util.concurrent.CompletionStage<java.lang.Iterable<java.lang.Object>>> context)
DataInterceptor
intercept
in interface DataInterceptor<T,java.util.concurrent.CompletionStage<java.lang.Iterable<java.lang.Object>>>
methodKey
- The method keycontext
- The context