Class DisposableResult<I,U>
java.lang.Object
org.axonframework.axonserver.connector.query.subscription.DisposableResult<I,U>
- Type Parameters:
I- a generic specifying the type of the initial result of theSubscriptionQueryResultU- a generic specifying the type of the subsequent updates of theSubscriptionQueryResult
- All Implemented Interfaces:
AutoCloseable,org.axonframework.common.Registration,org.axonframework.queryhandling.SubscriptionQueryResult<I,U>
@Deprecated
public class DisposableResult<I,U>
extends Object
implements org.axonframework.queryhandling.SubscriptionQueryResult<I,U>
Deprecated.
in through use of the AxonServer java
connector
A decorator of the
SubscriptionQueryResult which adds the cancel() operation.- Since:
- 4.0
- Author:
- Sara Pellegrini
-
Field Summary
Fields inherited from interface org.axonframework.queryhandling.SubscriptionQueryResult
logger -
Constructor Summary
ConstructorsConstructorDescriptionDisposableResult(org.axonframework.queryhandling.SubscriptionQueryResult<I, U> delegate, org.axonframework.common.Registration registration) Deprecated. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.axonframework.common.Registration
closeMethods inherited from interface org.axonframework.queryhandling.SubscriptionQueryResult
handle, handle
-
Constructor Details
-
DisposableResult
public DisposableResult(org.axonframework.queryhandling.SubscriptionQueryResult<I, U> delegate, org.axonframework.common.Registration registration) Deprecated.- Parameters:
delegate- aSubscriptionQueryResultwhich will be wrappedregistration- aRegistrationpaired with thedelegate
-
-
Method Details
-
initialResult
Deprecated. -
updates
Deprecated. -
cancel
public boolean cancel()Deprecated.- Specified by:
cancelin interfaceorg.axonframework.common.Registration
-