Interface IChangeNotificationQueue<T>
IChangeNotificationQueue describes a backing store for the change notification system.
Inherited Members
System.IDisposable.Dispose()
Namespace: EPiServer.Events.ChangeNotification.EventQueue
Assembly: EPiServer.Events.dll
Version: 8.11.0Syntax
public interface IChangeNotificationQueue<T> : IChangeNotificationQueue, IDisposable
Type Parameters
Name | Description |
---|---|
T | The type of item in the queue. |
Remarks
For internal use only.
Methods
Dequeue(Int32)
Dequeues a batch of items from the queue.
Declaration
IDequeueResult<T> Dequeue(int maxItems)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maxItems | The maximum number of items to take. |
Returns
Type | Description |
---|---|
IDequeueResult<T> | An IDequeueResult object representing the result of the operation. |
Enqueue(IEnumerable<T>)
Enqueues items into the queue.
Declaration
void Enqueue(IEnumerable<T> items)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | items | The items to enqueue. |