Class CountReactiveSpecificationInterceptor

All Implemented Interfaces:
DataInterceptor<Object,org.reactivestreams.Publisher<Number>>

@Internal public class CountReactiveSpecificationInterceptor extends AbstractReactiveSpecificationInterceptor<Object,org.reactivestreams.Publisher<Number>>
Interceptor that supports reactive count specifications.
Since:
3.2
Author:
Denis Stepanov
  • Constructor Details

    • CountReactiveSpecificationInterceptor

      public CountReactiveSpecificationInterceptor(@NonNull @NonNull RepositoryOperations operations)
      Default constructor.
      Parameters:
      operations - The operations
  • Method Details

    • intercept

      public org.reactivestreams.Publisher<Number> intercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<Object,org.reactivestreams.Publisher<Number>> context)
      Description copied from interface: DataInterceptor
      Intercepts a data method execution.
      Parameters:
      methodKey - The method key
      context - The context
      Returns:
      The result