| Package | Description |
|---|---|
| com.networknt.eventuate.common | |
| com.networknt.eventuate.common.impl | |
| com.networknt.eventuate.common.impl.sync | |
| com.networknt.eventuate.common.sync |
| Modifier and Type | Method and Description |
|---|---|
UpdateOptions |
UpdateOptions.withEventMetadata(Map<String,String> eventMetadata) |
UpdateOptions |
UpdateOptions.withIdempotencyKey(String idempotencyKey) |
UpdateOptions |
UpdateOptions.withInterceptor(AggregateRepositoryInterceptor interceptor) |
UpdateOptions |
UpdateOptions.withSnapshot(Snapshot snapshot) |
UpdateOptions |
UpdateOptions.withTriggeringEvent(EventContext eventContext) |
| Modifier and Type | Method and Description |
|---|---|
Optional<UpdateOptions> |
UpdateEventsAndOptions.getOptions() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
EventuateAggregateStore.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events,
UpdateOptions updateOptions) |
| Modifier and Type | Method and Description |
|---|---|
default Optional<UpdateEventsAndOptions> |
AggregateRepositoryInterceptor.handleException(T aggregate,
Throwable throwable,
Optional<UpdateOptions> updateOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStore.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events,
Optional<UpdateOptions> updateOptions) |
CompletableFuture<EntityWithIdAndVersion<T>> |
AggregateRepository.update(String entityId,
CT cmd,
Optional<UpdateOptions> updateOptions)
Update the specified aggregate by processing a command and saving events
|
CompletableFuture<EntityWithIdAndVersion<T>> |
AggregateRepository.updateWithProvidedCommand(String entityId,
Function<T,Optional<CT>> commandProvider,
Optional<UpdateOptions> updateOptions)
Update the specified aggregate by processing a command and saving events
|
| Constructor and Description |
|---|
UpdateEventsAndOptions(List<Event> events,
Optional<UpdateOptions> options) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events,
UpdateOptions updateOptions) |
| Modifier and Type | Method and Description |
|---|---|
static Optional<AggregateCrudUpdateOptions> |
AggregateCrudMapping.toAggregateCrudUpdateOptions(Optional<UpdateOptions> updateOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events,
Optional<UpdateOptions> updateOptions) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events,
UpdateOptions updateOptions) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events,
Optional<UpdateOptions> updateOptions) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
EventuateAggregateStore.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events,
UpdateOptions updateOptions) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
EventuateAggregateStore.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events,
Optional<UpdateOptions> updateOptions) |
EntityWithIdAndVersion<T> |
AggregateRepository.update(String entityId,
CT cmd,
Optional<UpdateOptions> updateOptions)
Update the specified aggregate by processing a command and saving events
|
EntityWithIdAndVersion<T> |
AggregateRepository.updateWithProvidedCommand(String entityId,
Function<T,Optional<CT>> commandProvider,
Optional<UpdateOptions> updateOptions)
Update the specified aggregate by processing a command and saving events
|
Copyright © 2021. All rights reserved.