Package | Description |
---|---|
org.axonframework.eventsourcing.eventstore.jpa |
JPA Implementation of the EventStore.
|
Modifier and Type | Method and Description |
---|---|
JpaEventStorageEngine.Builder |
JpaEventStorageEngine.Builder.batchSize(int batchSize) |
static JpaEventStorageEngine.Builder |
JpaEventStorageEngine.builder()
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.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) |
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)
Instantiate a
JpaEventStorageEngine based on the fields contained in the JpaEventStorageEngine.Builder . |
Copyright © 2010–2019. All rights reserved.