public static interface EventTransformationService.TransformationStream
| Modifier and Type | Method and Description |
|---|---|
void |
complete()
Completes the stream.
|
CompletableFuture<Void> |
deleteEvent(long token,
long sequence)
Registers the request to delete the event with the specified token.
|
void |
onCompletedByServer(Consumer<Throwable> onCompleted)
Resister a callback function that is invoked when the stream is completed by Axon Server.
|
CompletableFuture<Void> |
replaceEvent(long token,
Event event,
long sequence)
Registers the request to replace the event with the specified token.
|
CompletableFuture<Void> deleteEvent(long token, long sequence)
token - the token of the event to be deletedsequence - the expected last sequence of the transformation, used to check that no change request
before this one has been lostCompletableFuture that completes when the request has been received by Axon Server.CompletableFuture<Void> replaceEvent(long token, Event event, long sequence)
token - the token of the event to be replacedevent - the new version of the event, to be used as a replacement for the original onesequence - the expected last sequence of the transformation, used to check that no change request
before this one has been lostCompletableFuture that completes when the request has been received by Axon Server.void complete()
Copyright © 2020–2023 AxonIQ BV. All rights reserved.