Package | Description |
---|---|
org.axonframework.eventsourcing.eventstore.jdbc |
JDBC Implementation of the EventStore.
|
Modifier and Type | Method and Description |
---|---|
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.appendEvents(AppendEventsStatementBuilder appendEvents)
Set the PreparedStatement to be used on
JdbcEventStorageEngine.appendEvents(Connection, List,
Serializer) en}. |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.appendSnapshot(AppendSnapshotStatementBuilder appendSnapshot)
Set the PreparedStatement to be used on
JdbcEventStorageEngine.appendSnapshot(Connection,
DomainEventMessage, Serializer) . |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.batchSize(int batchSize) |
static JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.builder()
Instantiate a Builder to be able to create a
JdbcEventStorageEngine . |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.cleanGaps(CleanGapsStatementBuilder cleanGaps)
Set the PreparedStatement to be used on
JdbcEventStorageEngine.cleanGaps(Connection, SortedSet) . |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.connectionProvider(ConnectionProvider connectionProvider)
Sets the
ConnectionProvider which provides access to a JDBC connection. |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.createHeadToken(CreateHeadTokenStatementBuilder createHeadToken)
Set the PreparedStatement to be used on
JdbcEventStorageEngine.createHeadToken(Connection) . |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.createTailToken(CreateTailTokenStatementBuilder createTailToken)
Set the PreparedStatement to be used on
JdbcEventStorageEngine.createTailToken(Connection) . |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.createTokenAt(CreateTokenAtStatementBuilder createTokenAt)
Set the PreparedStatement to be used on
JdbcEventStorageEngine.createTokenAt . |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.dataType(Class<?> dataType)
Sets the
dataType specifying the serialized type of the Event Message's payload and Meta Data. |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.deleteSnapshots(DeleteSnapshotsStatementBuilder deleteSnapshots)
Set the PreparedStatement to be used on
JdbcEventStorageEngine.deleteSnapshots(Connection, String,
long) . |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.eventSerializer(Serializer eventSerializer) |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.extendedGapCheckEnabled(boolean extendedGapCheckEnabled)
Indicates whether an extra query should be performed to verify for gaps in the
globalSequence larger
than the configured batch size. |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.fetchTrackedEvents(FetchTrackedEventsStatementBuilder fetchTrackedEvents)
Set the PreparedStatement to be used on
JdbcEventStorageEngine.fetchTrackedEvents(Connection, long) . |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.gapCleaningThreshold(int gapCleaningThreshold)
Sets the threshold of number of gaps in a token before an attempt to clean gaps up is taken.
|
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.gapTimeout(int gapTimeout)
Sets the amount of time until a 'gap' in a TrackingToken may be considered timed out.
|
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.lastSequenceNumberFor(LastSequenceNumberForStatementBuilder lastSequenceNumberFor)
Set the PreparedStatement to be used on
JdbcEventStorageEngine.lastSequenceNumberFor(Connection,
String) . |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.lowestGlobalSequence(long lowestGlobalSequence)
Sets the
lowestGlobalSequence specifying the first expected auto generated sequence number. |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.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. |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.persistenceExceptionResolver(PersistenceExceptionResolver persistenceExceptionResolver)
Sets the
PersistenceExceptionResolver used to detect concurrency exceptions from the backing
database. |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.readEventDataForAggregate(ReadEventDataForAggregateStatementBuilder readEventDataForAggregate)
Set the PreparedStatement to be used on
JdbcEventStorageEngine.readEventData(Connection, String, long,
int) . |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.readEventDataWithGaps(ReadEventDataWithGapsStatementBuilder readEventDataWithGaps)
Set the PreparedStatement to be used on
JdbcEventStorageEngine.readEventDataWithGaps(Connection, long,
int, List) . |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.readEventDataWithoutGaps(ReadEventDataWithoutGapsStatementBuilder readEventDataWithoutGaps)
Set the PreparedStatement to be used on
JdbcEventStorageEngine.readEventDataWithoutGaps(Connection,
long, int) . |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.readSnapshotData(ReadSnapshotDataStatementBuilder readSnapshotData)
Set the PreparedStatement to be used on
JdbcEventStorageEngine.readSnapshotData(Connection, String) . |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.schema(EventSchema schema)
Sets the
EventSchema describing the database schema of event entries. |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.snapshotFilter(Predicate<? super DomainEventData<?>> snapshotFilter)
Deprecated.
in favor of
snapshotFilter(SnapshotFilter) |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.snapshotFilter(SnapshotFilter snapshotFilter) |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.snapshotSerializer(Serializer snapshotSerializer) |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.transactionManager(TransactionManager transactionManager)
Sets the
TransactionManager used to manage transactions around fetching event data. |
JdbcEventStorageEngine.Builder |
JdbcEventStorageEngine.Builder.upcasterChain(EventUpcaster upcasterChain) |
Constructor and Description |
---|
JdbcEventStorageEngine(JdbcEventStorageEngine.Builder builder)
Instantiate a
JdbcEventStorageEngine based on the fields contained in the JdbcEventStorageEngine.Builder . |
Copyright © 2010–2022. All rights reserved.