public class AxonDBEventStore
extends org.axonframework.eventsourcing.eventstore.AbstractEventStore
| Constructor and Description |
|---|
AxonDBEventStore(AxonDBConfiguration configuration,
org.axonframework.serialization.Serializer serializer)
Initialize the Event Store using given
configuration and given serializer. |
AxonDBEventStore(AxonDBConfiguration configuration,
org.axonframework.serialization.Serializer serializer,
org.axonframework.serialization.upcasting.event.EventUpcaster upcasterChain)
Initialize the Event Store using given
configuration, serializer and upcasterChain
The Event Store will delay creating the connection until the first activity takes place. |
AxonDBEventStore(AxonDBConfiguration configuration,
org.axonframework.serialization.Serializer snapshotSerializer,
org.axonframework.serialization.Serializer eventSerializer,
org.axonframework.serialization.upcasting.event.EventUpcaster upcasterChain)
Initialize the Event Store using given
configuration, serializer and upcasterChain
Allows for different serializers for snapshots and events (requires AxonFramework version 3.3 or higer) |
| Modifier and Type | Method and Description |
|---|---|
org.axonframework.eventsourcing.eventstore.TrackingEventStream |
openStream(org.axonframework.eventsourcing.eventstore.TrackingToken trackingToken) |
QueryResultStream |
query(String query,
boolean liveUpdates) |
protected io.axoniq.axondb.client.axon.AxonDBEventStore.AxonIQEventStorageEngine |
storageEngine() |
createHeadToken, createTailToken, createTokenAt, handleSnapshotReadingError, lastSequenceNumberFor, prepareCommit, readEvents, readEvents, stagedDomainEventMessages, storeSnapshotafterCommit, commit, intercept, publish, queuedMessages, registerDispatchInterceptor, subscribeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic AxonDBEventStore(AxonDBConfiguration configuration, org.axonframework.serialization.Serializer serializer)
configuration and given serializer.
The Event Store will delay creating the connection until the first activity takes place.
configuration - The configuration describing the servers to connect with and how to manage flow controlserializer - The serializer to serialize Event payloads withpublic AxonDBEventStore(AxonDBConfiguration configuration, org.axonframework.serialization.Serializer serializer, org.axonframework.serialization.upcasting.event.EventUpcaster upcasterChain)
configuration, serializer and upcasterChain
The Event Store will delay creating the connection until the first activity takes place.
configuration - The configuration describing the servers to connect with and how to manage flow controlserializer - The serializer to serialize Event payloads withupcasterChain - The upcaster to modify received Event representations withpublic AxonDBEventStore(AxonDBConfiguration configuration, org.axonframework.serialization.Serializer snapshotSerializer, org.axonframework.serialization.Serializer eventSerializer, org.axonframework.serialization.upcasting.event.EventUpcaster upcasterChain)
configuration, serializer and upcasterChain
Allows for different serializers for snapshots and events (requires AxonFramework version 3.3 or higer)configuration - The configuration describing the servers to connect with and how to manage flow controlsnapshotSerializer - The serializer to serialize Snapshot payloads witheventSerializer - The serializer to serialize Event payloads withupcasterChain - The upcaster to modify received Event representations withpublic org.axonframework.eventsourcing.eventstore.TrackingEventStream openStream(org.axonframework.eventsourcing.eventstore.TrackingToken trackingToken)
public QueryResultStream query(String query, boolean liveUpdates)
protected io.axoniq.axondb.client.axon.AxonDBEventStore.AxonIQEventStorageEngine storageEngine()
storageEngine in class org.axonframework.eventsourcing.eventstore.AbstractEventStoreCopyright © 2017–2018. All rights reserved.