Class DefaultAggregateRepository.AnnotatedAggregateRepository<T>
java.lang.Object
io.fluxcapacitor.javaclient.persisting.repository.DefaultAggregateRepository.AnnotatedAggregateRepository<T>
- Enclosing class:
- DefaultAggregateRepository
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotatedAggregateRepository(Class<T> type, Serializer serializer, Cache cache, Cache relationshipsCache, EventStore eventStore, SnapshotStore snapshotStore, DispatchInterceptor dispatchInterceptor, EventSourcingHandlerFactory handlerFactory, DocumentStore documentStore) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcommit(ImmutableAggregateRoot<?> after, List<DeserializingMessage> unpublishedEvents, ImmutableAggregateRoot<?> before) protected booleanisCached()protected ModifiableAggregateRoot<T>
-
Constructor Details
-
AnnotatedAggregateRepository
public AnnotatedAggregateRepository(Class<T> type, Serializer serializer, Cache cache, Cache relationshipsCache, EventStore eventStore, SnapshotStore snapshotStore, DispatchInterceptor dispatchInterceptor, EventSourcingHandlerFactory handlerFactory, DocumentStore documentStore)
-
-
Method Details
-
load
-
commit
protected void commit(ImmutableAggregateRoot<?> after, List<DeserializingMessage> unpublishedEvents, ImmutableAggregateRoot<?> before) -
isCached
protected boolean isCached()
-