Interface Appender
-
- All Known Implementing Classes:
TransformationStreamAppender
public interface AppenderAppends the transformation actions.- Since:
- 2023.1.0
- Author:
- Sara Pellegrini
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletableFuture<Appender>deleteEvent(long token)Appends to the transformation the request to delete the event with the given token.CompletableFuture<Appender>replaceEvent(long token, Event replacement)Appends to the transformation the request to replace the event with the given token.
-
-
-
Method Detail
-
deleteEvent
CompletableFuture<Appender> deleteEvent(long token)
Appends to the transformation the request to delete the event with the given token.- Parameters:
token- the token of the event to be deleted- Returns:
- a
CompletableFutureof the Appender, used for composition
-
replaceEvent
CompletableFuture<Appender> replaceEvent(long token, Event replacement)
Appends to the transformation the request to replace the event with the given token.- Parameters:
token- the token of the event to be replacedreplacement- the new event used to replace the original one- Returns:
- a
CompletableFutureof the Appender, used for composition
-
-