Class AbstractReactiveInterceptor<T,R>

java.lang.Object
io.micronaut.data.runtime.intercept.AbstractQueryInterceptor<T,R>
io.micronaut.data.runtime.intercept.reactive.AbstractReactiveInterceptor<T,R>
Type Parameters:
T - The declaring type
R - The return type
All Implemented Interfaces:
DataInterceptor<T,R>
Direct Known Subclasses:
AbstractPublisherInterceptor, DefaultDeleteAllReactiveInterceptor, DefaultDeleteOneReactiveInterceptor, DefaultSaveAllReactiveInterceptor, DefaultSaveEntityReactiveInterceptor, DefaultSaveOneReactiveInterceptor, DefaultUpdateAllEntitiesReactiveInterceptor, DefaultUpdateEntityReactiveInterceptor

public abstract class AbstractReactiveInterceptor<T,R> extends AbstractQueryInterceptor<T,R>
Abstract reactive repository interceptor.
Since:
1.0.0
Author:
graemerocher
  • Field Details

  • Constructor Details

    • AbstractReactiveInterceptor

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

    • count

      protected org.reactivestreams.Publisher<Integer> count(org.reactivestreams.Publisher<?> publisher)
      Count the items.
      Parameters:
      publisher - the publisher
      Returns:
      the size