| Modifier and Type | Interface and Description |
|---|---|
interface |
Aggregate<T extends Aggregate>
Base interface for an Aggregate that uses event sourcing
|
class |
EntityWithMetadata<T extends Aggregate> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CommandProcessingAggregate<T extends CommandProcessingAggregate,CT extends Command>
An aggregate that processes commands by returning (state changing) events
|
| Modifier and Type | Class and Description |
|---|---|
class |
ReflectiveMutableCommandProcessingAggregate<T extends ReflectiveMutableCommandProcessingAggregate<T,CT>,CT extends Command>
A mutable aggregate that uses reflection to process commands and apply events
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Aggregate<T>> |
Aggregates.applyEventsToMutableAggregate(T aggregate,
List<Event> events,
MissingApplyEventMethodStrategy missingApplyEventMethodStrategy) |
<T extends Aggregate<T>> |
EventuateAggregateStore.find(Class<T> clasz,
String entityId) |
<T extends Aggregate<T>> |
EventuateAggregateStore.find(Class<T> clasz,
String entityId,
FindOptions findOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStore.find(Class<T> clasz,
String entityId,
Optional<FindOptions> findOptions) |
static <T extends Aggregate<T>> |
Aggregates.recreateAggregate(Class<T> clasz,
List<Event> events,
MissingApplyEventMethodStrategy missingApplyEventMethodStrategy) |
<T extends Aggregate<T>> |
EventuateAggregateStore.save(Class<T> clasz,
List<Event> events)
Save an aggregate in the event store
|
<T extends Aggregate<T>> |
EventuateAggregateStore.save(Class<T> clasz,
List<Event> events,
Optional<SaveOptions> saveOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStore.save(Class<T> clasz,
List<Event> events,
SaveOptions saveOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStore.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events) |
<T extends Aggregate<T>> |
EventuateAggregateStore.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events,
Optional<UpdateOptions> updateOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStore.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events,
UpdateOptions updateOptions) |
| Modifier and Type | Method and Description |
|---|---|
Aggregate |
SnapshotStrategy.recreateAggregate(Class<?> clasz,
Snapshot snapshot,
MissingApplyEventMethodStrategy missingApplyEventMethodStrategy)
Recreate an aggregate from a snapshot
|
Aggregate |
EventuateAggregateStore.recreateFromSnapshot(Class<?> clasz,
Snapshot snapshot)
Recreate an aggregate from a snapshot
|
Aggregate |
SnapshotManagerImpl.recreateFromSnapshot(Class<?> clasz,
Snapshot snapshot,
MissingApplyEventMethodStrategy missingApplyEventMethodStrategy) |
Aggregate |
SnapshotManager.recreateFromSnapshot(Class<?> clasz,
Snapshot snapshot,
MissingApplyEventMethodStrategy missingApplyEventMethodStrategy) |
| Modifier and Type | Method and Description |
|---|---|
void |
MissingApplyEventMethodStrategy.handle(Aggregate aggregate,
MissingApplyMethodException e) |
void |
CompositeMissingApplyEventMethodStrategy.handle(Aggregate aggregate,
MissingApplyMethodException e) |
void |
DefaultMissingApplyEventMethodStrategy.handle(Aggregate aggregate,
MissingApplyMethodException e) |
Optional<Snapshot> |
EventuateAggregateStore.possiblySnapshot(Aggregate aggregate,
Optional<Int128> snapshotVersion,
List<EventWithMetadata> oldEvents,
List<Event> newEvents)
Possibly generate a snapshot
|
Optional<Snapshot> |
SnapshotStrategy.possiblySnapshot(Aggregate aggregate,
Optional<Int128> snapshotVersion,
List<EventWithMetadata> oldEvents,
List<Event> newEvents)
Possibly generate a snapshot
|
Optional<Snapshot> |
SnapshotManagerImpl.possiblySnapshot(Aggregate aggregate,
Optional<Int128> snapshotVersion,
List<EventWithMetadata> oldEvents,
List<Event> newEvents) |
Optional<Snapshot> |
SnapshotManager.possiblySnapshot(Aggregate aggregate,
Optional<Int128> snapshotVersion,
List<EventWithMetadata> oldEvents,
List<Event> newEvents) |
boolean |
MissingApplyEventMethodStrategy.supports(Aggregate aggregate,
MissingApplyMethodException e) |
boolean |
CompositeMissingApplyEventMethodStrategy.supports(Aggregate aggregate,
MissingApplyMethodException e) |
boolean |
DefaultMissingApplyEventMethodStrategy.supports(Aggregate aggregate,
MissingApplyMethodException e) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.find(Class<T> clasz,
String entityId) |
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.find(Class<T> clasz,
String entityId,
FindOptions findOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.find(Class<T> clasz,
String entityId,
Optional<FindOptions> findOptions) |
<T extends Aggregate<T>> |
AggregateCrud.find(String aggregateType,
String entityId,
Optional<AggregateCrudFindOptions> findOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.save(Class<T> clasz,
List<Event> events) |
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.save(Class<T> clasz,
List<Event> events,
Optional<SaveOptions> saveOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.save(Class<T> clasz,
List<Event> events,
SaveOptions saveOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events) |
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events,
Optional<UpdateOptions> updateOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events,
UpdateOptions updateOptions) |
| Modifier and Type | Method and Description |
|---|---|
Aggregate |
EventuateAggregateStoreImpl.recreateFromSnapshot(Class<?> clasz,
Snapshot snapshot) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Snapshot> |
EventuateAggregateStoreImpl.possiblySnapshot(Aggregate aggregate,
Optional<Int128> snapshotVersion,
List<EventWithMetadata> oldEvents,
List<Event> newEvents) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
SyncToAsyncAggregateCrudAdapter.find(String aggregateType,
String entityId,
Optional<AggregateCrudFindOptions> findOptions) |
<T extends Aggregate<T>> |
AsyncToSyncAggregateCrudAdapter.find(String aggregateType,
String entityId,
Optional<AggregateCrudFindOptions> findOptions) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.find(Class<T> clasz,
String entityId) |
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.find(Class<T> clasz,
String entityId,
FindOptions findOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.find(Class<T> clasz,
String entityId,
Optional<FindOptions> findOptions) |
<T extends Aggregate<T>> |
AggregateCrud.find(String aggregateType,
String entityId,
Optional<AggregateCrudFindOptions> findOptions)
Find a Aggregate events by giving aggregateType and entityId
|
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.save(Class<T> clasz,
List<Event> events) |
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.save(Class<T> clasz,
List<Event> events,
Optional<SaveOptions> saveOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.save(Class<T> clasz,
List<Event> events,
SaveOptions saveOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events) |
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events,
Optional<UpdateOptions> updateOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events,
UpdateOptions updateOptions) |
| Modifier and Type | Method and Description |
|---|---|
Aggregate |
EventuateAggregateStoreImpl.recreateFromSnapshot(Class<?> clasz,
Snapshot snapshot) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Snapshot> |
EventuateAggregateStoreImpl.possiblySnapshot(Aggregate aggregate,
Optional<Int128> snapshotVersion,
List<EventWithMetadata> oldEvents,
List<Event> newEvents) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
EventuateAggregateStore.find(Class<T> clasz,
String entityId) |
<T extends Aggregate<T>> |
EventuateAggregateStore.find(Class<T> clasz,
String entityId,
FindOptions findOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStore.find(Class<T> clasz,
String entityId,
Optional<FindOptions> findOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStore.save(Class<T> clasz,
List<Event> events) |
<T extends Aggregate<T>> |
EventuateAggregateStore.save(Class<T> clasz,
List<Event> events,
Optional<SaveOptions> saveOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStore.save(Class<T> clasz,
List<Event> events,
SaveOptions saveOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStore.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events) |
<T extends Aggregate<T>> |
EventuateAggregateStore.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events,
Optional<UpdateOptions> updateOptions) |
<T extends Aggregate<T>> |
EventuateAggregateStore.update(Class<T> clasz,
EntityIdAndVersion entityIdAndVersion,
List<Event> events,
UpdateOptions updateOptions) |
| Modifier and Type | Method and Description |
|---|---|
Aggregate |
EventuateAggregateStore.recreateFromSnapshot(Class<?> clasz,
Snapshot snapshot)
Recreate an aggregate from a snapshot
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Snapshot> |
EventuateAggregateStore.possiblySnapshot(Aggregate aggregate,
Optional<Int128> snapshotVersion,
List<EventWithMetadata> oldEvents,
List<Event> newEvents)
Possibly generate a snapshot
|
Copyright © 2021. All rights reserved.