- AbstractMongoEventStorageStrategy - Class in org.axonframework.mongo.eventsourcing.eventstore
-
- AbstractMongoEventStorageStrategy(EventEntryConfiguration, Duration) - Constructor for class org.axonframework.mongo.eventsourcing.eventstore.AbstractMongoEventStorageStrategy
-
Initializes a new StorageStrategy for a EventStorageEngine that uses Mongo.
- AbstractMongoTemplate - Class in org.axonframework.mongo
-
Abstract implementation for Mongo templates.
- AbstractMongoTemplate(MongoClient) - Constructor for class org.axonframework.mongo.AbstractMongoTemplate
-
Initializes the MongoTemplate to connect using the given mongo instance and a database with default
name "axonframework".
- AbstractMongoTemplate(MongoClient, String) - Constructor for class org.axonframework.mongo.AbstractMongoTemplate
-
Initializes the MongoTemplate to connect using the given mongo instance and the database with given
databaseName.
- AbstractMongoTemplate(MongoDatabase) - Constructor for class org.axonframework.mongo.AbstractMongoTemplate
-
Initializes the MongoTemplate to connect using the given database instance.
- addAttribute(String, String) - Method in class org.axonframework.mongo.serialization.DBObjectHierarchicalStreamWriter
-
- addChildNode(String) - Method in class org.axonframework.mongo.serialization.BSONNode
-
Adds a child node to the current node.
- advanceTo(Instant, String, Duration) - Method in class org.axonframework.mongo.eventsourcing.eventstore.MongoTrackingToken
-
Returns a new
MongoTrackingToken instance based on this token but which has advanced to the event with
given
timestamp,
eventIdentifier and
sequenceNumber.
- aggregateIdentifierProperty() - Method in class org.axonframework.mongo.eventsourcing.eventstore.documentperevent.EventEntryConfiguration
-
Get the name of the property with the aggregate identifier of the event.
- appendErrors(ErrorWriter) - Method in class org.axonframework.mongo.serialization.DBObjectHierarchicalStreamReader
-
- appendEvents(MongoCollection<Document>, List<? extends EventMessage<?>>, Serializer) - Method in class org.axonframework.mongo.eventsourcing.eventstore.AbstractMongoEventStorageStrategy
-
- appendEvents(List<? extends EventMessage<?>>, Serializer) - Method in class org.axonframework.mongo.eventsourcing.eventstore.MongoEventStorageEngine
-
- appendEvents(MongoCollection<Document>, List<? extends EventMessage<?>>, Serializer) - Method in interface org.axonframework.mongo.eventsourcing.eventstore.StorageStrategy
-
Appends the given list of events to the given eventCollection.
- appendSnapshot(MongoCollection<Document>, DomainEventMessage<?>, Serializer) - Method in class org.axonframework.mongo.eventsourcing.eventstore.AbstractMongoEventStorageStrategy
-
- appendSnapshot(MongoCollection<Document>, DomainEventMessage<?>, Serializer) - Method in interface org.axonframework.mongo.eventsourcing.eventstore.StorageStrategy
-
Append the given aggregate snapshot to the snapshotCollection.
- asDBObject() - Method in class org.axonframework.mongo.serialization.BSONNode
-
Returns the current BSON structure as DBObject.
- asDocument() - Method in class org.axonframework.mongo.eventhandling.saga.repository.SagaEntry
-
Returns the Mongo Document representing the Saga provided in this entry.
- asDocument(CommitEntryConfiguration, EventEntryConfiguration) - Method in class org.axonframework.mongo.eventsourcing.eventstore.documentpercommit.CommitEntry
-
Returns the current CommitEntry as a mongo Document.
- asDocument(EventEntryConfiguration) - Method in class org.axonframework.mongo.eventsourcing.eventstore.documentperevent.EventEntry
-
Returns the current entry as a mongo Document.
- attributes() - Method in class org.axonframework.mongo.serialization.BSONNode
-
Returns a map containing the attributes of the current node.
- database() - Method in class org.axonframework.mongo.AbstractMongoTemplate
-
Returns a reference to the Database with the configured database name.
- DBObjectHierarchicalStreamReader - Class in org.axonframework.mongo.serialization
-
- DBObjectHierarchicalStreamReader(DBObject) - Constructor for class org.axonframework.mongo.serialization.DBObjectHierarchicalStreamReader
-
Initialize the reader to read the structure of the given root DBObject.
- DBObjectHierarchicalStreamWriter - Class in org.axonframework.mongo.serialization
-
HierarchicalStreamWriter implementation that writes objects into a MongoDB DBObject structure.
- DBObjectHierarchicalStreamWriter(DBObject) - Constructor for class org.axonframework.mongo.serialization.DBObjectHierarchicalStreamWriter
-
Initialize the writer to write the object structure to the given root DBObject.
- DBObjectToStringContentTypeConverter - Class in org.axonframework.mongo.serialization
-
ContentTypeConverter implementation that converts a DBObject structure into a String containing its Binary JSON
representation.
- DBObjectToStringContentTypeConverter() - Constructor for class org.axonframework.mongo.serialization.DBObjectToStringContentTypeConverter
-
- DBObjectXStreamSerializer - Class in org.axonframework.mongo.serialization
-
XStream based serializer implementation that serializes objects into a Binary JSON structure.
- DBObjectXStreamSerializer() - Constructor for class org.axonframework.mongo.serialization.DBObjectXStreamSerializer
-
Initialize the serializer with UTF-8 character set and a default XStream serializer.
- DBObjectXStreamSerializer(XStream) - Constructor for class org.axonframework.mongo.serialization.DBObjectXStreamSerializer
-
Initialize the serializer using the UTF-8 character set.
- DBObjectXStreamSerializer(XStream, RevisionResolver) - Constructor for class org.axonframework.mongo.serialization.DBObjectXStreamSerializer
-
Initialize the serializer using the UTF-8 character set.
- DBObjectXStreamSerializer(Charset) - Constructor for class org.axonframework.mongo.serialization.DBObjectXStreamSerializer
-
Initialize the serializer using the given charset.
- DBObjectXStreamSerializer(Charset, XStream) - Constructor for class org.axonframework.mongo.serialization.DBObjectXStreamSerializer
-
Initialize the serializer using the given charset and xStream instance.
- DBObjectXStreamSerializer(Charset, XStream, RevisionResolver) - Constructor for class org.axonframework.mongo.serialization.DBObjectXStreamSerializer
-
Initialize the serializer using the given charset, xStream and
revisionResolver instance.
- DBObjectXStreamSerializer(Charset, XStream, RevisionResolver, Converter) - Constructor for class org.axonframework.mongo.serialization.DBObjectXStreamSerializer
-
Initialize the serializer using the given charset and xStream instance.
- DefaultMongoTemplate - Class in org.axonframework.mongo
-
MongoTemplate instance giving direct access to the TrackingToken collection via a given MongoClient instance.
- DefaultMongoTemplate(MongoClient) - Constructor for class org.axonframework.mongo.DefaultMongoTemplate
-
Initialize a template for the given mongoDb instance, using default database name ("axonframework")
and collection names ("domainevents", "snapshotevents", "sagas" and "trackingtokens").
- DefaultMongoTemplate(MongoClient, String) - Constructor for class org.axonframework.mongo.DefaultMongoTemplate
-
Initialize a template for the given mongoDb instance, using given databaseName and default
collection names ("domainevents", "snapshotevents", "sagas" and "trackingtokens").
- DefaultMongoTemplate - Class in org.axonframework.mongo.eventhandling.saga.repository
-
- DefaultMongoTemplate(MongoClient) - Constructor for class org.axonframework.mongo.eventhandling.saga.repository.DefaultMongoTemplate
-
Deprecated.
Initialize a template for the given mongoDb instance, using default database name ("axonframework")
and collection name ("sagas").
- DefaultMongoTemplate(MongoClient, String, String) - Constructor for class org.axonframework.mongo.eventhandling.saga.repository.DefaultMongoTemplate
-
Deprecated.
Creates a template connecting to given mongo instance, and loads sagas in the collection with given
sagasCollectionName, in a database with given databaseName.
- DefaultMongoTemplate - Class in org.axonframework.mongo.eventsourcing.eventstore
-
- DefaultMongoTemplate(MongoClient) - Constructor for class org.axonframework.mongo.eventsourcing.eventstore.DefaultMongoTemplate
-
Deprecated.
Initializes the MongoTemplate using the given mongo for database access, using default database
and collection names.
- DefaultMongoTemplate(MongoClient, String, String, String) - Constructor for class org.axonframework.mongo.eventsourcing.eventstore.DefaultMongoTemplate
-
Deprecated.
Creates a template connecting to given mongo instance, and loads events in the collection with given
domainEventsCollectionName and snapshot events from snapshotEventsCollectionName, in a
database with given databaseName.
- deleteSaga(Class<?>, String, Set<AssociationValue>) - Method in class org.axonframework.mongo.eventhandling.saga.repository.MongoSagaStore
-
- deleteSnapshots(MongoCollection<Document>, String, long) - Method in class org.axonframework.mongo.eventsourcing.eventstore.AbstractMongoEventStorageStrategy
-
- deleteSnapshots(MongoCollection<Document>, String, long) - Method in interface org.axonframework.mongo.eventsourcing.eventstore.StorageStrategy
-
Delete all snapshots of the aggregate with given aggregateIdentifier from the given snapshotCollection, whose sequence number is lower than the given sequenceNumber.
- DocumentPerCommitStorageStrategy - Class in org.axonframework.mongo.eventsourcing.eventstore.documentpercommit
-
Implementation of a Mongo
StorageStrategy that stores one
Document per commit of a batch of events.
- DocumentPerCommitStorageStrategy() - Constructor for class org.axonframework.mongo.eventsourcing.eventstore.documentpercommit.DocumentPerCommitStorageStrategy
-
- DocumentPerCommitStorageStrategy(CommitEntryConfiguration) - Constructor for class org.axonframework.mongo.eventsourcing.eventstore.documentpercommit.DocumentPerCommitStorageStrategy
-
- DocumentPerCommitStorageStrategy(EventEntryConfiguration, CommitEntryConfiguration, Duration) - Constructor for class org.axonframework.mongo.eventsourcing.eventstore.documentpercommit.DocumentPerCommitStorageStrategy
-
- DocumentPerEventStorageStrategy - Class in org.axonframework.mongo.eventsourcing.eventstore.documentperevent
-
Implementation of a
StorageStrategy that stores one
Document per
EventMessage.
- DocumentPerEventStorageStrategy() - Constructor for class org.axonframework.mongo.eventsourcing.eventstore.documentperevent.DocumentPerEventStorageStrategy
-
- DocumentPerEventStorageStrategy(EventEntryConfiguration, Duration) - Constructor for class org.axonframework.mongo.eventsourcing.eventstore.documentperevent.DocumentPerEventStorageStrategy
-
- DocumentToStringContentTypeConverter - Class in org.axonframework.mongo.serialization
-
ContentTypeConverter implementation that converts a BSON Document structure into a String containing its JSON
representation.
- DocumentToStringContentTypeConverter() - Constructor for class org.axonframework.mongo.serialization.DocumentToStringContentTypeConverter
-
- doDeserialize(SerializedObject, XStream) - Method in class org.axonframework.mongo.serialization.DBObjectXStreamSerializer
-
- doSerialize(Object, Class<T>, XStream) - Method in class org.axonframework.mongo.serialization.DBObjectXStreamSerializer
-
- metaDataProperty() - Method in class org.axonframework.mongo.eventsourcing.eventstore.documentperevent.EventEntryConfiguration
-
Get the name of the property with the metadata.
- MongoEventStorageEngine - Class in org.axonframework.mongo.eventsourcing.eventstore
-
EventStorageEngine implementation that uses Mongo to store and fetch events.
- MongoEventStorageEngine(MongoTemplate) - Constructor for class org.axonframework.mongo.eventsourcing.eventstore.MongoEventStorageEngine
-
Initializes an EventStorageEngine that uses Mongo to store and load events.
- MongoEventStorageEngine(Serializer, EventUpcaster, MongoTemplate, StorageStrategy) - Constructor for class org.axonframework.mongo.eventsourcing.eventstore.MongoEventStorageEngine
-
Initializes an EventStorageEngine that uses Mongo to store and load events.
- MongoEventStorageEngine(Serializer, EventUpcaster, Serializer, MongoTemplate, StorageStrategy) - Constructor for class org.axonframework.mongo.eventsourcing.eventstore.MongoEventStorageEngine
-
Initializes an EventStorageEngine that uses Mongo to store and load events.
- MongoEventStorageEngine(Serializer, EventUpcaster, Integer, MongoTemplate, StorageStrategy) - Constructor for class org.axonframework.mongo.eventsourcing.eventstore.MongoEventStorageEngine
-
Initializes an EventStorageEngine that uses Mongo to store and load events.
- MongoEventStorageEngine(Serializer, EventUpcaster, Serializer, Integer, MongoTemplate, StorageStrategy) - Constructor for class org.axonframework.mongo.eventsourcing.eventstore.MongoEventStorageEngine
-
Initializes an EventStorageEngine that uses Mongo to store and load events.
- MongoEventStorageEngine(Serializer, EventUpcaster, PersistenceExceptionResolver, Serializer, Integer, MongoTemplate, StorageStrategy) - Constructor for class org.axonframework.mongo.eventsourcing.eventstore.MongoEventStorageEngine
-
Initializes an EventStorageEngine that uses Mongo to store and load events.
- MongoFactory - Class in org.axonframework.mongo.eventsourcing.eventstore
-
Convenience class for creating Mongo instances.
- MongoFactory() - Constructor for class org.axonframework.mongo.eventsourcing.eventstore.MongoFactory
-
- MongoOptionsFactory - Class in org.axonframework.mongo.eventsourcing.eventstore
-
Factory class used to create a MongoOptions instance.
- MongoOptionsFactory() - Constructor for class org.axonframework.mongo.eventsourcing.eventstore.MongoOptionsFactory
-
Default constructor for the factory that initializes the defaults.
- MongoSagaStore - Class in org.axonframework.mongo.eventhandling.saga.repository
-
Implementations of the SagaRepository that stores Sagas and their associations in a Mongo Database.
- MongoSagaStore(MongoTemplate) - Constructor for class org.axonframework.mongo.eventhandling.saga.repository.MongoSagaStore
-
Initializes the Repository, using given mongoTemplate to access the collections containing the
stored Saga instances.
- MongoSagaStore(MongoTemplate, Serializer) - Constructor for class org.axonframework.mongo.eventhandling.saga.repository.MongoSagaStore
-
Initializes the Repository, using given mongoTemplate to access the collections containing the
stored Saga instances, serializing Saga instances using the given serializer.
- MongoTemplate - Interface in org.axonframework.mongo
-
Template object providing access to the collections necessary for the Mongo based components.
- MongoTokenStore - Class in org.axonframework.mongo.eventsourcing.tokenstore
-
An implementation of TokenStore that allows you store and retrieve tracking tokens with MongoDB.
- MongoTokenStore(MongoTemplate, Serializer) - Constructor for class org.axonframework.mongo.eventsourcing.tokenstore.MongoTokenStore
-
Creates a MongoTokenStore with a default claim timeout of 10 seconds, a default owner identifier and a default
content type.
- MongoTokenStore(MongoTemplate, Serializer, TemporalAmount, String, Class<?>) - Constructor for class org.axonframework.mongo.eventsourcing.tokenstore.MongoTokenStore
-
Creates a MongoTokenStore by using the given values.
- MongoTrackingToken - Class in org.axonframework.mongo.eventsourcing.eventstore
-
Tracking token implementation produced by the
MongoEventStorageEngine to keep track of the position in an
event stream.
- moveDown() - Method in class org.axonframework.mongo.serialization.DBObjectHierarchicalStreamReader
-
- moveUp() - Method in class org.axonframework.mongo.serialization.DBObjectHierarchicalStreamReader
-
- sagaCollection() - Method in class org.axonframework.mongo.DefaultMongoTemplate
-
- sagaCollection() - Method in class org.axonframework.mongo.eventhandling.saga.repository.DefaultMongoTemplate
-
Deprecated.
- sagaCollection() - Method in class org.axonframework.mongo.eventsourcing.eventstore.DefaultMongoTemplate
-
Deprecated.
- sagaCollection() - Method in interface org.axonframework.mongo.MongoTemplate
-
Returns a reference to the collection containing the saga instances.
- SagaEntry<T> - Class in org.axonframework.mongo.eventhandling.saga.repository
-
Java representation of sagas stored in a mongo instance
- SagaEntry(String, T, Set<AssociationValue>, Serializer) - Constructor for class org.axonframework.mongo.eventhandling.saga.repository.SagaEntry
-
Constructs a new SagaEntry for the given saga.
- SagaEntry(Document) - Constructor for class org.axonframework.mongo.eventhandling.saga.repository.SagaEntry
-
Initializes a Saga entry using a DBObject containing the Mongo Document
- sequenceNumberProperty() - Method in class org.axonframework.mongo.eventsourcing.eventstore.documentperevent.EventEntryConfiguration
-
Get the name of the property with the aggregate sequence number of the event.
- setAttribute(String, String) - Method in class org.axonframework.mongo.serialization.BSONNode
-
Sets an attribute to this node.
- setConnectionsPerHost(int) - Method in class org.axonframework.mongo.eventsourcing.eventstore.MongoOptionsFactory
-
Setter for the connections per host that are allowed.
- setConnectionTimeout(int) - Method in class org.axonframework.mongo.eventsourcing.eventstore.MongoOptionsFactory
-
Setter for the connection time out.
- setMaxWaitTime(int) - Method in class org.axonframework.mongo.eventsourcing.eventstore.MongoOptionsFactory
-
Set the max wait time for a blocked thread in milli seconds.
- setMongoAddresses(List<ServerAddress>) - Method in class org.axonframework.mongo.eventsourcing.eventstore.MongoFactory
-
Provide a list of ServerAddress objects to use for locating the Mongo replica set.
- setMongoOptions(MongoClientOptions) - Method in class org.axonframework.mongo.eventsourcing.eventstore.MongoFactory
-
Provide an instance of MongoOptions to be used for the connections.
- setSocketTimeOut(int) - Method in class org.axonframework.mongo.eventsourcing.eventstore.MongoOptionsFactory
-
Setter for the socket time out.
- setThreadsAllowedToBlockForConnectionMultiplier(int) - Method in class org.axonframework.mongo.eventsourcing.eventstore.MongoOptionsFactory
-
Set the multiplier for the amount of threads to block in relation to the maximum amount of connections.
- setValue(String) - Method in class org.axonframework.mongo.serialization.BSONNode
-
Sets the value of this node.
- setValue(String) - Method in class org.axonframework.mongo.serialization.DBObjectHierarchicalStreamWriter
-
- setWriteConcern(WriteConcern) - Method in class org.axonframework.mongo.eventsourcing.eventstore.MongoFactory
-
Provided a write concern to be used by the mongo instance.
- snapshotCollection() - Method in class org.axonframework.mongo.DefaultMongoTemplate
-
- snapshotCollection() - Method in class org.axonframework.mongo.eventhandling.saga.repository.DefaultMongoTemplate
-
Deprecated.
- snapshotCollection() - Method in class org.axonframework.mongo.eventsourcing.eventstore.DefaultMongoTemplate
-
Deprecated.
Returns a reference to the collection containing the snapshot events.
- snapshotCollection() - Method in interface org.axonframework.mongo.MongoTemplate
-
Returns a reference to the collection containing the snapshot events.
- startNode(String) - Method in class org.axonframework.mongo.serialization.DBObjectHierarchicalStreamWriter
-
- startNode(String, Class) - Method in class org.axonframework.mongo.serialization.DBObjectHierarchicalStreamWriter
-
- StorageStrategy - Interface in org.axonframework.mongo.eventsourcing.eventstore
-
Interface towards the mechanism that prescribes the structure in which events are stored in the Event Store.
- storeSnapshot(DomainEventMessage<?>, Serializer) - Method in class org.axonframework.mongo.eventsourcing.eventstore.MongoEventStorageEngine
-
- storeToken(TrackingToken, String, int) - Method in class org.axonframework.mongo.eventsourcing.tokenstore.MongoTokenStore
-
- StringToDBObjectContentTypeConverter - Class in org.axonframework.mongo.serialization
-
ContentTypeConverter implementation that converts a String containing its Binary JSON representation into a DBObject
structure.
- StringToDBObjectContentTypeConverter() - Constructor for class org.axonframework.mongo.serialization.StringToDBObjectContentTypeConverter
-