Class CachingAggregateRepository
java.lang.Object
io.fluxcapacitor.javaclient.persisting.repository.CachingAggregateRepository
- All Implemented Interfaces:
AggregateRepository
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgetAggregatesFor(Object entityId) protected voidhandleEvents(List<SerializedMessage> messages) <T> Entity<T><T> Entity<T>repairRelationships(Entity<?> aggregate) protected voidprotected voidupdateRelationships(ImmutableAggregateRoot<?> before, ImmutableAggregateRoot<?> after) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.fluxcapacitor.javaclient.persisting.repository.AggregateRepository
getLatestAggregateId, load, repairRelationships, repairRelationships
-
Field Details
-
slowTrackingThreshold
-
-
Constructor Details
-
CachingAggregateRepository
public CachingAggregateRepository()
-
-
Method Details
-
load
- Specified by:
loadin interfaceAggregateRepository
-
loadFor
- Specified by:
loadForin interfaceAggregateRepository
-
repairRelationships
- Specified by:
repairRelationshipsin interfaceAggregateRepository
-
getAggregatesFor
- Specified by:
getAggregatesForin interfaceAggregateRepository
-
handleEvents
-
updateRelationships
protected void updateRelationships(ImmutableAggregateRoot<?> before, ImmutableAggregateRoot<?> after) -
catchUpIfNeeded
protected void catchUpIfNeeded() -
startTrackerIfNeeded
protected void startTrackerIfNeeded()
-