| 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 |
|---|---|
Optional<Snapshot> |
UpdateOptions.getSnapshot() |
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) |
| 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) |
UpdateOptions |
UpdateOptions.withSnapshot(Snapshot snapshot) |
| Constructor and Description |
|---|
UpdateOptions(Optional<EventContext> triggeringEvent,
Optional<Map<String,String>> eventMetadata,
Optional<Snapshot> snapshot,
Optional<AggregateRepositoryInterceptor> interceptor) |
| Modifier and Type | Method and Description |
|---|---|
static Snapshot |
AggregateCrudMapping.toSnapshot(SerializedSnapshot serializedSnapshot) |
| 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 |
|---|---|
Aggregate |
EventuateAggregateStoreImpl.recreateFromSnapshot(Class<?> clasz,
Snapshot snapshot) |
static SerializedSnapshot |
AggregateCrudMapping.toSerializedSnapshot(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 |
|---|---|
Aggregate |
EventuateAggregateStoreImpl.recreateFromSnapshot(Class<?> clasz,
Snapshot 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
|
| Modifier and Type | Method and Description |
|---|---|
Aggregate |
EventuateAggregateStore.recreateFromSnapshot(Class<?> clasz,
Snapshot snapshot)
Recreate an aggregate from a snapshot
|
Copyright © 2021. All rights reserved.