| 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 |
|---|---|
AggregateCrudSaveOptions |
AggregateCrudSaveOptions.withEventContext(EventContext ectx) |
AggregateCrudSaveOptions |
AggregateCrudSaveOptions.withId(String entityId) |
| Modifier and Type | Method and Description |
|---|---|
static Optional<AggregateCrudSaveOptions> |
AggregateCrudMapping.toAggregateCrudSaveOptions(Optional<SaveOptions> saveOptions) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<EntityIdVersionAndEventIds> |
AggregateCrud.save(String aggregateType,
List<EventTypeAndData> events,
Optional<AggregateCrudSaveOptions> options) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<EntityIdVersionAndEventIds> |
SyncToAsyncAggregateCrudAdapter.save(String aggregateType,
List<EventTypeAndData> events,
Optional<AggregateCrudSaveOptions> options) |
EntityIdVersionAndEventIds |
AsyncToSyncAggregateCrudAdapter.save(String aggregateType,
List<EventTypeAndData> events,
Optional<AggregateCrudSaveOptions> options) |
| Modifier and Type | Method and Description |
|---|---|
EntityIdVersionAndEventIds |
AggregateCrud.save(String aggregateType,
List<EventTypeAndData> events,
Optional<AggregateCrudSaveOptions> options)
Create a new Aggregate by processing a command and persisting the events
|
Copyright © 2021. All rights reserved.