Interface IChangeProcessor
A non-generic wrapper for IChange
Namespace: EPiServer.Events.ChangeNotification
Assembly: EPiServer.Events.dll
Version: 12.0.3Syntax
public interface IChangeProcessor
Properties
Listeners
Gets the change listeners associated with the processor.
Declaration
IEnumerable<IChangeListener> Listeners { get; }
Property Value
Type | Description |
---|---|
System. |
Remarks
All change listener implementations must have a queued data type parameter that matches the processor's queued data type parameter exactly.
This value is expected to be constant. This property will only be enumerated once, and
the IChange
MaxBatchSize
Gets the maximum number of items that will be passed to Process
Declaration
int MaxBatchSize { get; }
Property Value
Type | Description |
---|---|
System. |
MaxRetryCount
Gets the maximum number of times that Process
Declaration
int MaxRetryCount { get; }
Property Value
Type | Description |
---|---|
System. |
Name
Gets the display name of the processor.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
System. |
ProcessorId
Gets a unique identifier for the processor. This identifier should persist over all instantiations, identifying the implementation of the event processor in persistent storage.
Declaration
Guid ProcessorId { get; }
Property Value
Type | Description |
---|---|
System. |
Remarks
This value is expected to be constant. This property will only be accessed once, and
the IChange
RetryInterval
Gets the interval between retries if Process
Declaration
TimeSpan RetryInterval { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
RecoverConsistency(IRecoveryContext)
Recovers consistency when the eventual consistency has become invalid.
Declaration
bool RecoverConsistency(IRecoveryContext recoveryContext)
Parameters
Type | Name | Description |
---|---|---|
IRecovery |
recoveryContext | An object for communication between the recovery process and the event manager. |
Returns
Type | Description |
---|---|
System. |
True if consistency is retored to any point in time at or after the call to RecoverConsistency; otherwise, false. |