| Package | Description |
|---|---|
| io.fluxcapacitor.javaclient.eventsourcing |
| Modifier and Type | Method and Description |
|---|---|
Aggregate<T> |
Aggregate.update(UnaryOperator<T> updateFunction) |
| Modifier and Type | Method and Description |
|---|---|
<T> Optional<Aggregate<T>> |
SnapshotRepository.getSnapshot(String aggregateId) |
<T> Optional<Aggregate<T>> |
NoOpSnapshotRepository.getSnapshot(String aggregateId) |
<T> Optional<Aggregate<T>> |
DefaultSnapshotRepository.getSnapshot(String aggregateId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NoSnapshotTrigger.shouldCreateSnapshot(Aggregate<?> aggregate,
List<Message> newEvents) |
boolean |
SnapshotTrigger.shouldCreateSnapshot(Aggregate<?> aggregate,
List<Message> newEvents) |
boolean |
PeriodicSnapshotTrigger.shouldCreateSnapshot(Aggregate<?> aggregate,
List<Message> newEvents) |
void |
SnapshotRepository.storeSnapshot(Aggregate<?> snapshot) |
void |
NoOpSnapshotRepository.storeSnapshot(Aggregate<?> snapshot) |
void |
DefaultSnapshotRepository.storeSnapshot(Aggregate<?> snapshot) |
Copyright © 2019 Flux Capacitor. All rights reserved.