Class CatalogIndexingChangeNotificationProcessor
Inheritance
System.Object
CatalogIndexingChangeNotificationProcessor
Implements
EPiServer.Events.ChangeNotification.IChangeProcessor<System.String>
EPiServer.Events.ChangeNotification.IChangeProcessor
Assembly: Mediachase.Search.dll
Version: 14.26.0
public class CatalogIndexingChangeNotificationProcessor : Object, IChangeProcessor<string>, IChangeProcessor
Constructors
Declaration
public CatalogIndexingChangeNotificationProcessor(IOptions<ApplicationOptions> applicationOptions, IOptions<SearchOptions> searchOptions, IServiceProvider serviceProvider, IndexBuilder indexBuilder)
Parameters
| Type |
Name |
Description |
| Microsoft.Extensions.Options.IOptions<ApplicationOptions> |
applicationOptions |
|
| Microsoft.Extensions.Options.IOptions<SearchOptions> |
searchOptions |
|
| System.IServiceProvider |
serviceProvider |
|
| IndexBuilder |
indexBuilder |
|
Properties
Declaration
public IEnumerable<IChangeListener> Listeners { get; }
Property Value
| Type |
Description |
| System.Collections.Generic.IEnumerable<EPiServer.Events.ChangeNotification.IChangeListener> |
|
Declaration
public int MaxBatchSize { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Declaration
public int MaxRetryCount { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Declaration
public string Name { get; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
public static Guid ProcessorId { get; }
Property Value
| Type |
Description |
| System.Guid |
|
Declaration
public TimeSpan RetryInterval { get; }
Property Value
| Type |
Description |
| System.TimeSpan |
|
Methods
Declaration
public bool ProcessItems(IEnumerable<string> items, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<System.String> |
items |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Boolean |
|
RecoverConsistency(IRecoveryContext)
Declaration
public bool RecoverConsistency(IRecoveryContext recoveryContext)
Parameters
| Type |
Name |
Description |
| EPiServer.Events.ChangeNotification.IRecoveryContext |
recoveryContext |
|
Returns
| Type |
Description |
| System.Boolean |
|
Implements
EPiServer.Events.ChangeNotification.IChangeProcessor<>
EPiServer.Events.ChangeNotification.IChangeProcessor