public class AxonServerEventStore
extends org.axonframework.eventsourcing.eventstore.AbstractEventStore
| Constructor and Description |
|---|
AxonServerEventStore(AxonServerConfiguration configuration,
PlatformConnectionManager platformConnectionManager,
org.axonframework.serialization.Serializer serializer)
Initialize the Event Store using given
configuration and given serializer. |
AxonServerEventStore(AxonServerConfiguration configuration,
PlatformConnectionManager platformConnectionManager,
org.axonframework.serialization.Serializer serializer,
org.axonframework.serialization.upcasting.event.EventUpcaster upcasterChain)
Initialize the Event Store using given
configuration, serializer and upcasterChain |
AxonServerEventStore(AxonServerConfiguration configuration,
PlatformConnectionManager platformConnectionManager,
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 3.3 or higher) |
| 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 org.axonframework.axonserver.connector.event.axon.AxonServerEventStore.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 AxonServerEventStore(AxonServerConfiguration configuration, PlatformConnectionManager platformConnectionManager, 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 controlplatformConnectionManager - manager for connections to AxonServer platformserializer - The serializer to serialize Event payloads withpublic AxonServerEventStore(AxonServerConfiguration configuration, PlatformConnectionManager platformConnectionManager, 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 controlplatformConnectionManager - manager for connections to AxonServer platformserializer - The serializer to serialize Event payloads withupcasterChain - The upcaster to modify received Event representations withpublic AxonServerEventStore(AxonServerConfiguration configuration, PlatformConnectionManager platformConnectionManager, 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 3.3 or higher)configuration - The configuration describing the servers to connect with and how to manage flow controlplatformConnectionManager - manager for connections to AxonServer platformsnapshotSerializer - 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 org.axonframework.axonserver.connector.event.axon.AxonServerEventStore.AxonIQEventStorageEngine storageEngine()
storageEngine in class org.axonframework.eventsourcing.eventstore.AbstractEventStoreCopyright © 2010–2018. All rights reserved.