Package | Description |
---|---|
org.axonframework.eventstore.mongo |
Modifier and Type | Class and Description |
---|---|
class |
DocumentPerCommitStorageStrategy
Implementation of the StorageStrategy that stores each commit as a single document.
|
class |
DocumentPerEventStorageStrategy
Implementation of the StorageStrategy that stores each event as a separate document.
|
Constructor and Description |
---|
MongoEventStore(MongoTemplate mongoTemplate,
Serializer eventSerializer,
StorageStrategy storageStrategy)
Initialize the mongo event store with given
mongoTemplate , eventSerializer and
storageStrategy . |
MongoEventStore(MongoTemplate mongoTemplate,
StorageStrategy storageStrategy)
Constructor that accepts a MongoTemplate and a custom StorageStrategy.
|
Copyright © 2010-2014. All Rights Reserved.