Modifier and Type | Method and Description |
---|---|
protected EventEntryConfiguration |
AbstractMongoEventStorageStrategy.eventConfiguration()
Returns the
EventEntryConfiguration that configures how event entries are to be stored. |
Constructor and Description |
---|
AbstractMongoEventStorageStrategy(EventEntryConfiguration eventConfiguration,
Duration lookBackTime)
Initializes a new StorageStrategy for a EventStorageEngine that uses Mongo.
|
Modifier and Type | Method and Description |
---|---|
org.bson.Document |
CommitEntry.asDocument(CommitEntryConfiguration commitConfiguration,
EventEntryConfiguration eventConfiguration)
Returns the current CommitEntry as a mongo Document.
|
Constructor and Description |
---|
CommitEntry(org.bson.Document dbObject,
CommitEntryConfiguration commitConfiguration,
EventEntryConfiguration eventConfiguration)
Creates a new CommitEntry based on data provided by Mongo.
|
DocumentPerCommitStorageStrategy(EventEntryConfiguration eventConfiguration,
CommitEntryConfiguration commitEntryConfiguration,
Duration lookBackTime)
Initializes a
DocumentPerCommitStorageStrategy with given eventConfiguration and commitEntryConfiguration . |
Modifier and Type | Method and Description |
---|---|
EventEntryConfiguration |
EventEntryConfiguration.Builder.build() |
static EventEntryConfiguration |
EventEntryConfiguration.getDefault()
Returns the default
EventEntryConfiguration . |
Modifier and Type | Method and Description |
---|---|
org.bson.Document |
EventEntry.asDocument(EventEntryConfiguration configuration)
Returns the current entry as a mongo Document.
|
Constructor and Description |
---|
DocumentPerEventStorageStrategy(EventEntryConfiguration eventConfiguration,
Duration lookBackTime)
Initializes a
DocumentPerEventStorageStrategy with given eventConfiguration . |
EventEntry(org.bson.Document dbObject,
EventEntryConfiguration configuration)
Creates a new EventEntry based on data provided by Mongo.
|
Copyright © 2010–2018. All rights reserved.