Class ExternalMemberCacheRefresher
Cache refresher for external member caches.
Inheritance
object
JsonCacheRefresherBase<ExternalMemberCacheRefresherNotification, ExternalMemberCacheRefresher.JsonPayload>
PayloadCacheRefresherBase<ExternalMemberCacheRefresherNotification, ExternalMemberCacheRefresher.JsonPayload>
Namespace: Umbraco.Cms.Core.Cache
Assembly: Umbraco.Core.dll
Syntax
public sealed class ExternalMemberCacheRefresher : PayloadCacheRefresherBase<ExternalMemberCacheRefresherNotification, ExternalMemberCacheRefresher.JsonPayload>, IPayloadCacheRefresher<ExternalMemberCacheRefresher.JsonPayload>, IJsonCacheRefresher, ICacheRefresher, IDiscoverable
Constructors
View SourceExternalMemberCacheRefresher(AppCaches, IJsonSerializer, IEventAggregator, ICacheRefresherNotificationFactory)
Initializes a new instance of the ExternalMemberCacheRefresher class.
Declaration
public ExternalMemberCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory)
Parameters
| Type | Name | Description |
|---|---|---|
| AppCaches | appCaches | The application caches. |
| IJsonSerializer | serializer | The JSON serializer. |
| IEventAggregator | eventAggregator | The event aggregator. |
| ICacheRefresherNotificationFactory | factory | The cache refresher notification factory. |
Fields
View SourceUniqueId
The unique identifier for this cache refresher.
Declaration
public static readonly Guid UniqueId
Field Value
| Type | Description |
|---|---|
| Guid |
Properties
View SourceName
Gets the name of the refresher.
Declaration
public override string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RefresherUniqueId
Gets the unique identifier of the refresher.
Declaration
public override Guid RefresherUniqueId { get; }
Property Value
| Type | Description |
|---|---|
| Guid |
Methods
View SourceRefreshInternal(JsonPayload[])
Performs internal cache refresh operations for the specified payloads.
Declaration
public override void RefreshInternal(ExternalMemberCacheRefresher.JsonPayload[] payloads)
Parameters
| Type | Name | Description |
|---|---|---|
| JsonPayload[] | payloads | The payloads to process. |