Class DisabledQueryGateway

java.lang.Object
ai.stapi.test.disabledImplementations.DisabledQueryGateway
All Implemented Interfaces:
org.axonframework.messaging.MessageDispatchInterceptorSupport<org.axonframework.queryhandling.QueryMessage<?,?>>, org.axonframework.queryhandling.QueryGateway

public class DisabledQueryGateway extends Object implements org.axonframework.queryhandling.QueryGateway
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    query(@NotNull String queryName, Q query, @NotNull org.axonframework.messaging.responsetypes.ResponseType<R> responseType)
     
    org.axonframework.common.Registration
    registerDispatchInterceptor(@NotNull org.axonframework.messaging.MessageDispatchInterceptor<? super org.axonframework.queryhandling.QueryMessage<?,?>> dispatchInterceptor)
     
    <R, Q> Stream<R>
    scatterGather(@NotNull String queryName, Q query, @NotNull org.axonframework.messaging.responsetypes.ResponseType<R> responseType, long timeout, @NotNull TimeUnit timeUnit)
     
    <R, Q> org.reactivestreams.Publisher<R>
    streamingQuery(String queryName, Q query, Class<R> responseType)
     
    <Q, I, U> org.axonframework.queryhandling.SubscriptionQueryResult<I,U>
    subscriptionQuery(@NotNull String queryName, Q query, @NotNull org.axonframework.messaging.responsetypes.ResponseType<I> initialResponseType, @NotNull org.axonframework.messaging.responsetypes.ResponseType<U> updateResponseType, int updateBufferSize)
     
    <Q, I, U> org.axonframework.queryhandling.SubscriptionQueryResult<I,U>
    subscriptionQuery(@NotNull String queryName, Q query, @NotNull org.axonframework.messaging.responsetypes.ResponseType<I> initialResponseType, @NotNull org.axonframework.messaging.responsetypes.ResponseType<U> updateResponseType, @Nullable org.axonframework.queryhandling.SubscriptionQueryBackpressure backpressure, int updateBufferSize)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.axonframework.queryhandling.QueryGateway

    query, query, query, scatterGather, streamingQuery, subscriptionQuery, subscriptionQuery, subscriptionQuery, subscriptionQuery, subscriptionQuery
  • Constructor Details

    • DisabledQueryGateway

      public DisabledQueryGateway()
  • Method Details

    • query

      public <R, Q> CompletableFuture<R> query(@NotNull @NotNull String queryName, @NotNull Q query, @NotNull @NotNull org.axonframework.messaging.responsetypes.ResponseType<R> responseType)
      Specified by:
      query in interface org.axonframework.queryhandling.QueryGateway
    • streamingQuery

      public <R, Q> org.reactivestreams.Publisher<R> streamingQuery(String queryName, Q query, Class<R> responseType)
      Specified by:
      streamingQuery in interface org.axonframework.queryhandling.QueryGateway
    • scatterGather

      public <R, Q> Stream<R> scatterGather(@NotNull @NotNull String queryName, @NotNull Q query, @NotNull @NotNull org.axonframework.messaging.responsetypes.ResponseType<R> responseType, long timeout, @NotNull @NotNull TimeUnit timeUnit)
      Specified by:
      scatterGather in interface org.axonframework.queryhandling.QueryGateway
    • subscriptionQuery

      public <Q, I, U> org.axonframework.queryhandling.SubscriptionQueryResult<I,U> subscriptionQuery(@NotNull @NotNull String queryName, @NotNull Q query, @NotNull @NotNull org.axonframework.messaging.responsetypes.ResponseType<I> initialResponseType, @NotNull @NotNull org.axonframework.messaging.responsetypes.ResponseType<U> updateResponseType, @Nullable @Nullable org.axonframework.queryhandling.SubscriptionQueryBackpressure backpressure, int updateBufferSize)
      Specified by:
      subscriptionQuery in interface org.axonframework.queryhandling.QueryGateway
    • subscriptionQuery

      public <Q, I, U> org.axonframework.queryhandling.SubscriptionQueryResult<I,U> subscriptionQuery(@NotNull @NotNull String queryName, @NotNull Q query, @NotNull @NotNull org.axonframework.messaging.responsetypes.ResponseType<I> initialResponseType, @NotNull @NotNull org.axonframework.messaging.responsetypes.ResponseType<U> updateResponseType, int updateBufferSize)
      Specified by:
      subscriptionQuery in interface org.axonframework.queryhandling.QueryGateway
    • registerDispatchInterceptor

      public org.axonframework.common.Registration registerDispatchInterceptor(@NotNull @NotNull org.axonframework.messaging.MessageDispatchInterceptor<? super org.axonframework.queryhandling.QueryMessage<?,?>> dispatchInterceptor)
      Specified by:
      registerDispatchInterceptor in interface org.axonframework.messaging.MessageDispatchInterceptorSupport<org.axonframework.queryhandling.QueryMessage<?,?>>