Class FileBasedLastEventProcessedStore
Indicates the position in a store where the stream has been read up to by storing the value in a file.
Inheritance
System.Object
FileBasedLastEventProcessedStore
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cqrs.Bus
Assembly: Cqrs.dll
Syntax
public class FileBasedLastEventProcessedStore : IStoreLastEventProcessed
Constructors
FileBasedLastEventProcessedStore(IConfigurationManager)
Instantiates a new instance of FileBasedLastEventProcessedStore.
Declaration
public FileBasedLastEventProcessedStore(IConfigurationManager configurationManager)
Parameters
Type | Name | Description |
---|---|---|
IConfigurationManager | configurationManager |
Fields
AppSettingsDefaultValue
The default location of the file to store position information in.
Declaration
public const string AppSettingsDefaultValue = "%EVENTSTORE_HOME%\\LastEventProcessedLocation"
Field Value
Type | Description |
---|---|
System.String |
AppSettingsKey
The configuration setting that holds the location of file to store position information in.
Declaration
public const string AppSettingsKey = "Cqrs.FileBasedLastEventProcessed.Location"
Field Value
Type | Description |
---|---|
System.String |
Properties
EventLocation
Reads and writes the location within the store where the stream has been read up to FileName.
Declaration
public string EventLocation { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Implements
FileName
The relative or absolute path of the file to store the current location in
Declaration
protected string FileName { get; }
Property Value
Type | Description |
---|---|
System.String |