| Package | Description |
|---|---|
| com.networknt.eventuate.common.impl | |
| com.networknt.eventuate.common.impl.adapters | |
| com.networknt.eventuate.common.impl.sync |
| Modifier and Type | Method and Description |
|---|---|
AggregateCrudUpdateOptions |
AggregateCrudUpdateOptions.withSnapshot(SerializedSnapshot serializedSnapshot) |
AggregateCrudUpdateOptions |
AggregateCrudUpdateOptions.withTriggeringEvent(EventContext eventContext) |
| Modifier and Type | Method and Description |
|---|---|
static Optional<AggregateCrudUpdateOptions> |
AggregateCrudMapping.toAggregateCrudUpdateOptions(Optional<UpdateOptions> updateOptions) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<EntityIdVersionAndEventIds> |
AggregateCrud.update(EntityIdAndType entityIdAndType,
Int128 entityVersion,
List<EventTypeAndData> events,
Optional<AggregateCrudUpdateOptions> updateOptions) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<EntityIdVersionAndEventIds> |
SyncToAsyncAggregateCrudAdapter.update(EntityIdAndType entityIdAndType,
Int128 entityVersion,
List<EventTypeAndData> events,
Optional<AggregateCrudUpdateOptions> updateOptions) |
EntityIdVersionAndEventIds |
AsyncToSyncAggregateCrudAdapter.update(EntityIdAndType entityIdAndType,
Int128 entityVersion,
List<EventTypeAndData> events,
Optional<AggregateCrudUpdateOptions> updateOptions) |
| Modifier and Type | Method and Description |
|---|---|
EntityIdVersionAndEventIds |
AggregateCrud.update(EntityIdAndType entityIdAndType,
Int128 entityVersion,
List<EventTypeAndData> events,
Optional<AggregateCrudUpdateOptions> updateOptions)
Update the Aggregate by processing a command and persisting the events
|
Copyright © 2021. All rights reserved.