Package | Description |
---|---|
org.axonframework.eventsourcing.eventstore.legacyjpa |
Modifier and Type | Method and Description |
---|---|
JpaEventStorageEngine.Builder |
JpaEventStorageEngine.Builder.batchSize(int batchSize) |
static JpaEventStorageEngine.Builder |
JpaEventStorageEngine.builder()
Deprecated.
Instantiate a Builder to be able to create a
JpaEventStorageEngine . |
JpaEventStorageEngine.Builder |
JpaEventStorageEngine.Builder.dataSource(DataSource dataSource)
Sets the
PersistenceExceptionResolver as a SQLErrorCodesResolver , using the provided
DataSource to resolve the error codes. |
JpaEventStorageEngine.Builder |
JpaEventStorageEngine.Builder.entityManagerProvider(EntityManagerProvider entityManagerProvider)
Sets the
EntityManagerProvider which provides the EntityManager used to access the underlying
database for this EventStorageEngine implementation. |
JpaEventStorageEngine.Builder |
JpaEventStorageEngine.Builder.eventSerializer(Serializer eventSerializer) |
JpaEventStorageEngine.Builder |
JpaEventStorageEngine.Builder.explicitFlush(boolean explicitFlush)
Sets the
explicitFlush field specifying whether to explicitly call EntityManager.flush()
after inserting the Events published in this Unit of Work. |
JpaEventStorageEngine.Builder |
JpaEventStorageEngine.Builder.finalAggregateBatchPredicate(Predicate<List<? extends DomainEventData<?>>> finalAggregateBatchPredicate)
Defines the predicate to use to recognize the terminal batch when reading an event stream for an aggregate.
|
JpaEventStorageEngine.Builder |
JpaEventStorageEngine.Builder.gapCleaningThreshold(int gapCleaningThreshold)
Sets the threshold of number of gaps in a token before an attempt to clean gaps up is taken.
|
JpaEventStorageEngine.Builder |
JpaEventStorageEngine.Builder.gapTimeout(int gapTimeout)
Sets the amount of time until a 'gap' in a TrackingToken may be considered timed out.
|
JpaEventStorageEngine.Builder |
JpaEventStorageEngine.Builder.lowestGlobalSequence(long lowestGlobalSequence)
Sets the
lowestGlobalSequence specifying the first expected auto generated sequence number. |
JpaEventStorageEngine.Builder |
JpaEventStorageEngine.Builder.maxGapOffset(int maxGapOffset)
Sets the
maxGapOffset specifying the maximum distance in sequence numbers between a missing event and
the event with the highest known index. |
JpaEventStorageEngine.Builder |
JpaEventStorageEngine.Builder.persistenceExceptionResolver(PersistenceExceptionResolver persistenceExceptionResolver) |
JpaEventStorageEngine.Builder |
JpaEventStorageEngine.Builder.snapshotFilter(Predicate<? super DomainEventData<?>> snapshotFilter)
Deprecated.
in favor of
snapshotFilter(SnapshotFilter) |
JpaEventStorageEngine.Builder |
JpaEventStorageEngine.Builder.snapshotFilter(SnapshotFilter snapshotFilter) |
JpaEventStorageEngine.Builder |
JpaEventStorageEngine.Builder.snapshotSerializer(Serializer snapshotSerializer) |
JpaEventStorageEngine.Builder |
JpaEventStorageEngine.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used to manage transaction around fetching event data. |
JpaEventStorageEngine.Builder |
JpaEventStorageEngine.Builder.upcasterChain(EventUpcaster upcasterChain) |
Constructor and Description |
---|
JpaEventStorageEngine(JpaEventStorageEngine.Builder builder)
Deprecated.
Instantiate a
JpaEventStorageEngine based on the fields contained in the JpaEventStorageEngine.Builder . |
Copyright © 2010–2024. All rights reserved.