public interface AppendEventsTransaction
| Modifier and Type | Method and Description |
|---|---|
AppendEventsTransaction |
appendEvent(Event event)
Append the given event to be committed as part of this transaction.
|
CompletableFuture<Confirmation> |
commit()
Commit this transaction, appending all registered events into the Event Store.
|
void |
rollback()
Rolls back the transaction.
|
AppendEventsTransaction appendEvent(Event event)
event - the event to appendCompletableFuture<Confirmation> commit()
void rollback()
Copyright © 2020–2023 AxonIQ BV. All rights reserved.