- MongoEventStore - Class in org.axonframework.eventstore.mongo
-
Implementation of the EventStore based on a MongoDB instance or replica set.
- MongoEventStore(Serializer<? super DomainEvent>, MongoTemplate) - Constructor for class org.axonframework.eventstore.mongo.MongoEventStore
-
Constructor that accepts a Serializer, the MongoTemplate and a string containing the testContext.
- MongoEventStore(MongoTemplate) - Constructor for class org.axonframework.eventstore.mongo.MongoEventStore
-
Constructor that uses the default Serializer.
- MongoFactory - Class in org.axonframework.eventstore.mongo
-
Factory bean for a Mongo instance class.
- MongoFactory() - Constructor for class org.axonframework.eventstore.mongo.MongoFactory
-
Default constructor that configures the factory to create test context Mongo instances.
- MongoFactory(List<ServerAddress>) - Constructor for class org.axonframework.eventstore.mongo.MongoFactory
-
Constructor creating defaults for WriteConcern.REPLICA_SAFE and default MongoOptions
- MongoFactory(List<ServerAddress>, MongoOptions, WriteConcern) - Constructor for class org.axonframework.eventstore.mongo.MongoFactory
-
Constructor that accepts addresses, options and the default write concern.
- MongoInitializationException - Exception in org.axonframework.eventstore.mongo
-
Exception used to indicate the configuration of the MongoDB connection has errors.
- MongoInitializationException(String) - Constructor for exception org.axonframework.eventstore.mongo.MongoInitializationException
-
Constructor accepting a custom message.
- MongoInitializationException(String, Throwable) - Constructor for exception org.axonframework.eventstore.mongo.MongoInitializationException
-
Constructor excepting a custom message and the original exception.
- MongoOptionsFactory - Class in org.axonframework.eventstore.mongo
-
Factory class used to create a MongoOptions instance.
- MongoOptionsFactory() - Constructor for class org.axonframework.eventstore.mongo.MongoOptionsFactory
-
Default constructor for the factory that initializes the defaults.
- MongoSagaRepository - Class in org.axonframework.saga.repository.mongo
-
- MongoSagaRepository(MongoTemplate) - Constructor for class org.axonframework.saga.repository.mongo.MongoSagaRepository
-
- MongoTemplate - Interface in org.axonframework.eventstore.mongo
-
Generic template for accessing Mongo for the axon events.
- MongoTemplate - Interface in org.axonframework.saga.repository.mongo
-
Generic template for accessing Mongo for the axon sagas.
- sagaCollection() - Method in class org.axonframework.saga.repository.mongo.DefaultMongoTemplate
-
- sagaCollection() - Method in interface org.axonframework.saga.repository.mongo.MongoTemplate
-
Returns a reference to the collection containing the saga instances.
- SagaEntry - Class in org.axonframework.saga.repository.mongo
-
Java representation of sagas stored in a mongo instance
- SagaEntry(Saga, SagaSerializer) - Constructor for class org.axonframework.saga.repository.mongo.SagaEntry
-
Constructs a new SagaEntry for the given saga.
- SagaEntry(DBObject) - Constructor for class org.axonframework.saga.repository.mongo.SagaEntry
-
- setAssociationsCollectionName(String) - Method in class org.axonframework.saga.repository.mongo.DefaultMongoTemplate
-
Changes the name of the collection to store associations in.
- setAutoConnectRetry(boolean) - Method in class org.axonframework.eventstore.mongo.MongoOptionsFactory
-
Setter for AutoConnectRetry.
- setConnectionsPerHost(int) - Method in class org.axonframework.eventstore.mongo.MongoOptionsFactory
-
Setter for the connections per host that are allowed.
- setConnectionTimeout(int) - Method in class org.axonframework.eventstore.mongo.MongoOptionsFactory
-
Setter for the connection time out.
- setDatabaseName(String) - Method in class org.axonframework.eventstore.mongo.DefaultMongoTemplate
-
Changes the name of the database where axon events will be stored.
- setDatabaseName(String) - Method in class org.axonframework.saga.repository.mongo.DefaultMongoTemplate
-
Changes the name of the database where axon events will be stored.
- setDomainEventsCollectionName(String) - Method in class org.axonframework.eventstore.mongo.DefaultMongoTemplate
-
Changes the name of the collection to store the domain events.
- setMaxWaitTime(int) - Method in class org.axonframework.eventstore.mongo.MongoOptionsFactory
-
Set the max wait time for a blocked thread in milli seconds.
- setMongoAddresses(List<ServerAddress>) - Method in class org.axonframework.eventstore.mongo.MongoFactory
-
Provide a list of ServerAddress objects to use for locating the Mongo replica set.
- setMongoOptions(MongoOptions) - Method in class org.axonframework.eventstore.mongo.MongoFactory
-
Provide an instance of MongoOptions to be used for the connections.
- setResourceInjector(ResourceInjector) - Method in class org.axonframework.saga.repository.mongo.MongoSagaRepository
-
Sets the ResourceInjector to use to inject Saga instances with any (temporary) resources they might need.
- setSagasCollectionName(String) - Method in class org.axonframework.saga.repository.mongo.DefaultMongoTemplate
-
Changes the name of the collection to store the sagas in.
- setSerializer(SagaSerializer) - Method in class org.axonframework.saga.repository.mongo.MongoSagaRepository
-
Provide the serializer to use if the default JavaSagaSerializer is not the best solution.
- setSingleInstanceContext(boolean) - Method in class org.axonframework.eventstore.mongo.MongoFactory
-
Sets the singleInstanceContext, provide true if you want the test context and false if you want the production
context.
- setSnapshotEventsCollectionName(String) - Method in class org.axonframework.eventstore.mongo.DefaultMongoTemplate
-
Changes the name of the collection to store the snapshot events in.
- setSocketTimeOut(int) - Method in class org.axonframework.eventstore.mongo.MongoOptionsFactory
-
Setter for the socket time out.
- setThreadsAllowedToBlockForConnectionMultiplier(int) - Method in class org.axonframework.eventstore.mongo.MongoOptionsFactory
-
Set the multiplier for the amount of threads to block in relation to the maximum amount of connections.
- setWriteConcern(WriteConcern) - Method in class org.axonframework.eventstore.mongo.MongoFactory
-
Provided a write concern to be used by the mongo instance.
- snapshotEventCollection() - Method in class org.axonframework.eventstore.mongo.DefaultMongoTemplate
-
Returns a reference to the collection containing the snapshot events.
- snapshotEventCollection() - Method in interface org.axonframework.eventstore.mongo.MongoTemplate
-
Returns a reference to the collection containing the snapshot events.
- storeAssociationValue(AssociationValue, String) - Method in class org.axonframework.saga.repository.mongo.MongoSagaRepository
-
- storeSaga(Saga) - Method in class org.axonframework.saga.repository.mongo.MongoSagaRepository
-