Class DefaultUpdateEntityAsyncInterceptor<T>

  • Type Parameters:
    T - The declaring type
    All Implemented Interfaces:
    io.micronaut.data.intercept.async.UpdateEntityAsyncInterceptor<java.lang.Object>, io.micronaut.data.intercept.DataInterceptor<java.lang.Object,​java.util.concurrent.CompletionStage<java.lang.Object>>

    public class DefaultUpdateEntityAsyncInterceptor<T>
    extends AbstractCountConvertCompletionStageInterceptor
    implements io.micronaut.data.intercept.async.UpdateEntityAsyncInterceptor<java.lang.Object>
    Default implementation of UpdateEntityAsyncInterceptor.
    Since:
    1.0.0
    • Constructor Detail

      • DefaultUpdateEntityAsyncInterceptor

        protected DefaultUpdateEntityAsyncInterceptor​(@NonNull
                                                      io.micronaut.data.operations.RepositoryOperations datastore)
        Default constructor.
        Parameters:
        datastore - The operations
    • Method Detail

      • interceptCompletionStage

        protected java.util.concurrent.CompletionStage<?> interceptCompletionStage​(io.micronaut.data.intercept.RepositoryMethodKey methodKey,
                                                                                   io.micronaut.aop.MethodInvocationContext<java.lang.Object,​java.util.concurrent.CompletionStage<java.lang.Object>> context)
        Description copied from class: AbstractCountConvertCompletionStageInterceptor
        Intercept CompletionStage.
        Specified by:
        interceptCompletionStage in class AbstractCountConvertCompletionStageInterceptor
        Parameters:
        methodKey - The method key
        context - The context
        Returns:
        the result publisher