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 -
Method Summary
Modifier and TypeMethodDescription<R,Q> CompletableFuture<R> query(@NotNull String queryName, Q query, @NotNull org.axonframework.messaging.responsetypes.ResponseType<R> responseType) org.axonframework.common.RegistrationregisterDispatchInterceptor(@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, waitMethods 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:
queryin interfaceorg.axonframework.queryhandling.QueryGateway
-
streamingQuery
public <R,Q> org.reactivestreams.Publisher<R> streamingQuery(String queryName, Q query, Class<R> responseType) - Specified by:
streamingQueryin interfaceorg.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:
scatterGatherin interfaceorg.axonframework.queryhandling.QueryGateway
-
subscriptionQuery
public <Q,I, org.axonframework.queryhandling.SubscriptionQueryResult<I,U> 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:
subscriptionQueryin interfaceorg.axonframework.queryhandling.QueryGateway
-
subscriptionQuery
public <Q,I, org.axonframework.queryhandling.SubscriptionQueryResult<I,U> 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:
subscriptionQueryin interfaceorg.axonframework.queryhandling.QueryGateway
-
registerDispatchInterceptor
public org.axonframework.common.Registration registerDispatchInterceptor(@NotNull @NotNull org.axonframework.messaging.MessageDispatchInterceptor<? super org.axonframework.queryhandling.QueryMessage<?, ?>> dispatchInterceptor) - Specified by:
registerDispatchInterceptorin interfaceorg.axonframework.messaging.MessageDispatchInterceptorSupport<org.axonframework.queryhandling.QueryMessage<?,?>>
-