public interface ActiveTransformation
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<EventTransformation> |
cancel()
Cancels the active transformation.
|
CompletableFuture<EventTransformation> |
startApplying()
Requests the transformation to be applied.
|
CompletableFuture<ActiveTransformation> |
transform(Transformer transformer)
Accepts a
Transformer to collect the requested changes and to register them into the active
transformation. |
CompletableFuture<ActiveTransformation> transform(Transformer transformer)
Transformer to collect the requested changes and to register them into the active
transformation.transformer - the Transformer used to append the required changes to the active transformationCompletableFuture of the active transformation that completes when all changes have been
registered.CompletableFuture<EventTransformation> startApplying()
CompletableFuture completes when the request to start applying has been received form AS,
it does not wait the apply process is completed. Depending on the number of transformation actions contained in
the transformation, the apply process can take a long time before to be completed.CompletableFuture of the Event Transformation, that completes only after the start applying
request has been received by AS.CompletableFuture<EventTransformation> cancel()
CompletableFuture of the Event Transformation, that completes only after the cancel request has
been received by AS.Copyright © 2020–2023 AxonIQ BV. All rights reserved.