public class SyncToAsyncAggregateCrudAdapter extends Object implements AggregateCrud
| Constructor and Description |
|---|
SyncToAsyncAggregateCrudAdapter(AggregateCrud target) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
find(String aggregateType,
String entityId,
Optional<AggregateCrudFindOptions> findOptions) |
CompletableFuture<EntityIdVersionAndEventIds> |
save(String aggregateType,
List<EventTypeAndData> events,
Optional<AggregateCrudSaveOptions> options) |
CompletableFuture<EntityIdVersionAndEventIds> |
update(EntityIdAndType entityIdAndType,
Int128 entityVersion,
List<EventTypeAndData> events,
Optional<AggregateCrudUpdateOptions> updateOptions) |
public SyncToAsyncAggregateCrudAdapter(AggregateCrud target)
public CompletableFuture<EntityIdVersionAndEventIds> save(String aggregateType, List<EventTypeAndData> events, Optional<AggregateCrudSaveOptions> options)
save in interface AggregateCrudpublic <T extends Aggregate<T>> CompletableFuture<LoadedEvents> find(String aggregateType, String entityId, Optional<AggregateCrudFindOptions> findOptions)
find in interface AggregateCrudpublic CompletableFuture<EntityIdVersionAndEventIds> update(EntityIdAndType entityIdAndType, Int128 entityVersion, List<EventTypeAndData> events, Optional<AggregateCrudUpdateOptions> updateOptions)
update in interface AggregateCrudCopyright © 2021. All rights reserved.