Class DefaultAggregateRepository
java.lang.Object
io.fluxcapacitor.javaclient.persisting.repository.DefaultAggregateRepository
- All Implemented Interfaces:
AggregateRepository
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyEvents(String aggregateId, Object... events) booleancachingAllowed(Class<?> type) getAggregatesFor(String entityId) protected Optional<ModifiableAggregateRoot<Object>>getIfCached(String aggregateId) <T> AggregateRoot<T><T> AggregateRoot<T>
-
Constructor Details
-
DefaultAggregateRepository
public DefaultAggregateRepository()
-
-
Method Details
-
load
- Specified by:
loadin interfaceAggregateRepository
-
loadFor
- Specified by:
loadForin interfaceAggregateRepository
-
getAggregatesFor
- Specified by:
getAggregatesForin interfaceAggregateRepository
-
applyEvents
- Specified by:
applyEventsin interfaceAggregateRepository
-
getIfCached
-
cachingAllowed
- Specified by:
cachingAllowedin interfaceAggregateRepository
-